aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
...
* | Directories now also measure download times of network statuses.Karsten Loesing2009-07-15
| |
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-07-07
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.in contrib/tor-mingw.nsi.in src/win32/orconfig.h
| * Make "Invalid onion hostname" msg respect SafeLogging.Nick Mathewson2009-07-07
| | | | | | | | Patch by Roger; fixes bug 1027.
| * Better fix for 997.Karsten Loesing2009-06-19
| |
| * Revert "Backport fix for bug 997."Karsten Loesing2009-06-19
| | | | | | | | This reverts commit 3847f54945933a11d14053b80427f268ffcfd8ad.
| * Backport fix for bug 997.Karsten Loesing2009-06-16
| | | | | | | | Backporting 6a32beb and ca8708a.
* | If configured, write per-port exit statistics to disk periodically.Karsten Loesing2009-07-02
| | | | | | | | [Original patch series from Karsten, revised and squashed by Nick]
* | Merge commit 'karsten/bug997-hidservfetch'Nick Mathewson2009-06-16
|\ \
| * | Apply fix for bug 997.Karsten Loesing2009-06-12
| | | | | | | | | | | | | | | | | | | | | | | | Hidden service clients didn't use a cached service descriptor that was older than 15 minutes, but wouldn't fetch a new one either. Now, use a cached descriptor no matter how old it is and only fetch a new one when all introduction points fail. Fix for bug 997. Patch from Marcus Griep.
* | | Whitespace and osx fixes on libevent2 patch.Nick Mathewson2009-06-12
| | |
* | | Isolate Libevent API dependency to just main.c and dns.c in src/or.Nick Mathewson2009-06-12
|/ / | | | | | | | | | | The rest of the code was only including event.h so that it could see EV_READ and EV_WRITE, which we were using as part of the connection_watch_events interface for no very good reason.
* | Merge commit 'origin/maint-0.2.1'Nick Mathewson2009-05-27
|\|
| * Spell-check Tor.Nick Mathewson2009-05-27
| |
| * Fix misreporting of stream bandwidths.Mike Perry2009-05-14
| |
| * Update copyright to 2009.Karsten Loesing2009-05-04
| |
* | Fix misreporting of stream bandwidths.potentiate2009-05-14
| |
* | Clients do not request version 0 hidserv descs anymore.Karsten Loesing2009-05-04
| |
* | Update copyright to 2009.Karsten Loesing2009-05-02
|/
* make it compile tooRoger Dingledine2009-04-11
| | | | svn:r19295
* play make-believe that addr isn't a uint32_tRoger Dingledine2009-04-11
| | | | svn:r19293
* fix the same bug in two more locations (thanks to lark for proddingRoger Dingledine2009-04-11
| | | | | | | me further) svn:r19292
* Finally fix the bug where dynamic-IP relays disappear when theirRoger Dingledine2009-04-11
| | | | | | | | | | | IP address changes: directory mirrors were mistakenly telling them their old address if they asked via begin_dir, so they never got an accurate answer about their new address, so they just vanished after a day. Should fix bugs 827, 883, and 900 -- but alas, only after every directory mirror has upgraded. svn:r19291
* If the controller claimed responsibility for a stream, but thatRoger Dingledine2009-02-13
| | | | | | | | | stream never finished making its connection, it would live forever in circuit_wait state. Now we close it after SocksTimeout seconds. Bugfix on 0.1.2.7-alpha; reported by Mike Perry. svn:r18516
* As an exit node, scrub the IP address to which we are exiting in the logs. ↵Karsten Loesing2009-02-10
| | | | | | Bugfix on 0.2.1.8-alpha. svn:r18477
* decide that mikeperry's bug should be fixed in 0.2.1.xRoger Dingledine2009-02-09
| | | | | | | (but not in 0.2.1.12-alpha, sorry) svn:r18417
* make a note about a clause in connection_edge.c that is probablyRoger Dingledine2009-02-04
| | | | | | | | redundant, and is definitely confusing. we should take it out in 0.2.2.x and see who squeaks. svn:r18383
* Forward-port: Fix bug 893: check AP connections for markedness before ↵Nick Mathewson2009-01-28
| | | | | | expiring them. svn:r18299
* make an assert tighter and replace another with an if.Nick Mathewson2009-01-14
| | | | svn:r18102
* Preserve reporting of stream end reasons to the local controlMike Perry2009-01-05
| | | | | | | | port. They were lost in the changes for Proposal 148. svn:r17911
* Another round of downgrading removing or postponing XXXX021 issues. Some ↵Nick Mathewson2009-01-04
| | | | | | remain, though. svn:r17888
* Remove svn $Id$s from our source, and remove tor --version --version.Nick Mathewson2009-01-04
| | | | | | | | The subversion $Id$ fields made every commit force a rebuild of whatever file got committed. They were not actually useful for telling the version of Tor files in the wild. svn:r17867
* Use the literal parse of an address in dns_resolve_impl if parsing the ↵Nick Mathewson2008-12-24
| | | | | | address as an ipv4 or ipv6 address _succeeded_. Not if it failed. Bug introduced in r17707 (post 0.2.1.8-alpha), and found by xiando. svn:r17758
* Move in-addr.arpa parsing and generation into address.c, and simplify the ↵Nick Mathewson2008-12-19
| | | | | | code that does it elsewhere. Incidentally, this lets exit servers answer requests for ip6.arpa addresses. svn:r17707
* Replace calls to time(NULL) that occur on the order of once per read, one ↵Nick Mathewson2008-12-18
| | | | | | per write, or once per cell with calls to a function that looks at a cached value of time. This is tricksy to benchmark, since it will only help on systems where time() is a syscall and syscalls are relatively slow. svn:r17690
* Fix a memory leak of one address string per DNSPort request.Nick Mathewson2008-12-18
| | | | svn:r17681
* Remove RedirectExit feature; it has been deprecated since 0.2.0.3-alphaNick Mathewson2008-12-17
| | | | svn:r17663
* Resolve many DOCDOCs.Nick Mathewson2008-12-17
| | | | svn:r17662
* Use ctags and a python script to find identifiers that are never used ↵Nick Mathewson2008-12-17
| | | | | | anywhere, and remove the ones that we really want gone. svn:r17651
* Move edge-only flags from connection_t to edge_connection_t.Nick Mathewson2008-12-17
| | | | svn:r17643
* Implement proposal 148: Make client stream end reasons uniform.Nick Mathewson2008-12-12
| | | | | | This patch makes every RELAY_COMMAND_END cell that we send pass through one of two functions: connection_edge_end and relay_send_end_cell_from_edge. Both of these functions check the circuit purpose, and change the reason to MISC if the circuit purpose means that it's for client use. svn:r17612
* clarify that 'resolve' relay cells nul-terminate the hostname, justRoger Dingledine2008-12-02
| | | | | | | like 'begin' relay cells. svn:r17442
* Fix a possible segfault when establishing an exit connection. Bugfix on ↵Karsten Loesing2008-11-16
| | | | | | 0.2.1.5-alpha. svn:r17275
* Patch from rovv: send back END cell in response to connect attempts to ↵Nick Mathewson2008-10-21
| | | | | | nonexistent hidden service port. svn:r17137
* Patch from mwenge: update TrackHostExits mapping expiry times when the ↵Nick Mathewson2008-09-29
| | | | | | mappings are used, so that they expire a while after their last use, not a while after their creation. svn:r17004
* Commit fix for bug 807 from mwenge: send CLOSED controller event for reverse ↵Nick Mathewson2008-09-26
| | | | | | dns resolve, not FAILED. svn:r16985
* Proposal 152 implementation from Josh Albrecht, with tweaks.Nick Mathewson2008-09-26
| | | | svn:r16983
* Add patch 4 from Karsten for proposal 121, slightly modified. Karsten ↵Nick Mathewson2008-09-24
| | | | | | should definitely re-review the bits I changed. svn:r16955
* Patch from roger for 752, but with more comments: When we get an A.B.exit:P ↵Nick Mathewson2008-09-23
| | | | | | address, and B would reject most connections to P, but we do not know whether it would allow A, then allow the connection to procede. Bugfix, amusingly, on 0.0.9rc5. svn:r16944
* Refactor use of connection_new so that we get more verifiable typesafety.Nick Mathewson2008-09-05
| | | | svn:r16785
* Fix numerous memory leaks: some were almost impossible to trigger, and some ↵Nick Mathewson2008-09-05
| | | | | | almost inevitable. svn:r16779