aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
* 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
* get rid of some magic constants i found while walkingRoger Dingledine2008-08-25
| | | | | | | jake through socks4 and socks5 failure codes svn:r16651
* Try once again to make BSD compilation happy.Nick Mathewson2008-08-08
| | | | svn:r16474
* r17692@tombo: nickm | 2008-08-07 22:41:26 -0400Nick Mathewson2008-08-08
| | | | | | | Fix more compile errors on BSD pf stuff. How about now? svn:r16472
* Oops. On recent linux kernels we were not detecting the ↵Nick Mathewson2008-08-07
| | | | | | linux/netfilter_ipv4.h header properly, since we needed to have in_addr and in6_addr and __u32 defined before trying to include it. Fix that. svn:r16460
* r17667@tombo: nickm | 2008-08-07 15:13:30 -0400Nick Mathewson2008-08-07
| | | | | | | Make the TransPort input code handle IPv6 addresses, I hope. This code may not compile. Possibly fix bug 796. svn:r16459
* r17664@tombo: nickm | 2008-08-06 12:32:09 -0400Nick Mathewson2008-08-06
| | | | | | | Patch from Christopher Davis: open /dev/pf before dropping privileges. Fixes bug 782. Backport candidate. svn:r16450
* r17641@31-33-44: nickm | 2008-08-05 16:07:53 -0400Nick Mathewson2008-08-05
| | | | | | | Initial conversion of uint32_t addr to tor_addr_t addr in connection_t and related types. Most of the Tor wire formats using these new types are in, but the code to generate and use it is not. This is a big patch. Let me know what it breaks for you. svn:r16435
* r17322@aud-055: nickm | 2008-07-23 16:50:50 +0200Nick Mathewson2008-07-23
| | | | | | | Make circid_t and streamid_t get used instead of uint16_t; it is possible we will soon want to make circid_t change to uint32_t. svn:r16155
* r17308@aud-055: nickm | 2008-07-23 15:57:41 +0200Nick Mathewson2008-07-23
| | | | | | | In connection_edge_destroy, send a stream status control event when we have an AP connection. Previously, we would send an event when the connection was AP and non-AP at the same time. This didn't work so well. Patch from Anonymous Remailer (Austria). Backport candidate. svn:r16143
* Make directory servers include the X-Your-Address-Is: http header inRoger Dingledine2008-06-30
| | | | | | | | | their responses even for begin_dir conns. Now clients who only ever use begin_dir connections still have a way to learn their IP address. Should fix bug 737. Reported by goldy. svn:r15571
* whoops, i shouldn't've left that inRoger Dingledine2008-06-23
| | | | svn:r15434