summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
AgeCommit message (Collapse)Author
2009-01-28Fix bug 893: check AP connections for markedness before expiring them.Nick Mathewson
svn:r18298
2009-01-04Backport r17137: Patch from rovv: send back END cell in response to connect ↵Nick Mathewson
attempts to nonexistent hidden service port. svn:r17868
2008-09-26Backport: Commit fix for bug 807 from mwenge: send CLOSED controller event ↵Nick Mathewson
for reverse dns resolve, not FAILED. svn:r16986
2008-09-23(Backport to 0.2.0 branch) Patch from roger for 752, but with more comments: ↵Nick Mathewson
When we get an A.B.exit:P 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:r16945
2008-09-05Backport: Fix numerous memory leaks: some were almost impossible to trigger, ↵Nick Mathewson
and some almost inevitable. svn:r16781
2008-09-01Backport 15699-15700: React quickly to rendezvous circuits becoming ready.Nick Mathewson
svn:r16730
2008-09-01Backport r16450 to 0.2.0.x: open /dev/pf before dropping privileges.Nick Mathewson
svn:r16726
2008-08-07Backport: On recent linux kernels we were not detecting the ↵Nick Mathewson
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:r16461
2008-06-30backport r15571 and give it a changelog entryRoger Dingledine
svn:r15578
2008-06-23backport r15366, bump to 0.2.0.28-rc-devRoger Dingledine
svn:r15435
2008-05-27Backport: fix part of bug 681: always reattach tunneled directory ↵Nick Mathewson
connections, regardless of setting for leavestreamsunattached. svn:r14752
2008-04-22 r15279@tombo: nickm | 2008-04-22 13:21:01 -0400Nick Mathewson
Backport: Apply patch from mwenge to fix bug 646: makes stream events for dns requests get generated more consistently. svn:r14414
2008-04-08backport r14281/r14297 plus a changelog entryRoger Dingledine
svn:r14311
2008-03-24backport r14162-r14164Roger Dingledine
svn:r14167
2008-03-18 r18938@catbus: nickm | 2008-03-18 14:51:30 -0400Nick Mathewson
Backport: Fix the other lingering part of bug 617: make ClientDNSRejectInternalAddresses actually work. svn:r14108
2008-03-17 r18863@catbus: nickm | 2008-03-16 23:37:39 -0400Nick Mathewson
{in 0.2.0} Part of fix for bug 617: do not mark-for-close on invalid .in-addr.arpa DNSPort request, since it would be a duplicate mark. svn:r14067
2008-02-22 r14399@tombo: nickm | 2008-02-22 14:09:38 -0500Nick Mathewson
More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680
2008-02-21maybe appease the overflow detectors moreRoger Dingledine
svn:r13663
2008-02-21 r18345@catbus: nickm | 2008-02-21 13:45:04 -0500Nick Mathewson
Do the last part of arma's fix for bug 437: Track the origin of every addrmap, and use this info so we can remove all the trackhostexits-originated mappings for a given exit. svn:r13660
2008-02-21start allowing clients to give up on trackhostexits targets ifRoger Dingledine
five circuit attempts fail for a given stream. part of the fix for bug 437. still an XXX020rc remaining. svn:r13648
2008-02-21 r18291@catbus: nickm | 2008-02-20 22:35:32 -0500Nick Mathewson
Resolve all DOCDOC issues, and document some other undocumented code, and fix a changelog entry. svn:r13638
2008-02-19If we only ever used Tor for hidden service lookups or posts, weRoger Dingledine
would stop building circuits and start refusing connections after 24 hours, since we false believed that Tor was dormant. Reported by nwf; bugfix on 0.1.2.x. svn:r13583
2008-02-15 r14181@tombo: nickm | 2008-02-15 16:48:17 -0500Nick Mathewson
Fix all but 2 DOCDOC items; defer many XXX020s (particularly those where fixing them would fix no bugs at the risk of introducing some bugs). svn:r13529
2008-02-12 r18051@catbus: nickm | 2008-02-12 15:20:43 -0500Nick Mathewson
Re-tune mempool parametes based on testing on peacetime: use smaller chuncks, free them a little more aggressively, and try very hard to concentrate allocations on fuller chunks. Also, lots of new documentation. svn:r13484
2008-02-08 r14063@tombo: nickm | 2008-02-08 15:48:32 -0500Nick Mathewson
Add a bunch more code documentation; change the interface of fetch_var_cell_from_buf() so it takes the current link protocol into account and can't get confused by weird command bytes on v1 connections. svn:r13430
2008-02-07Update some copyright notices: it is now 2008.Nick Mathewson
svn:r13412
2008-01-20New config options WarnPlaintextPorts and RejectPlaintextPorts soRoger Dingledine
Tor can warn and/or refuse connections to ports commonly used with vulnerable-plaintext protocols. We still need to figure out some good defaults for them. svn:r13198
2008-01-19minor cleanupsRoger Dingledine
svn:r13190
2008-01-15 r17624@catbus: nickm | 2008-01-15 00:42:01 -0500Nick Mathewson
Fixes to more anonymously-reported typos and logic errors. svn:r13136
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-12-04Stop being so aggressive about fetching dir info if your DirPort isRoger Dingledine
on but your ORPort is off. Add a new config option BridgeRelay that specifies you want to be a bridge relay. Right now the only difference is that it makes you answer begin_dir requests, and it makes you cache dir info, even if your DirPort isn't on. Refactor directory_caches_dir_info() into some more functions. svn:r12668
2007-12-03minor touchupsRoger Dingledine
svn:r12657
2007-12-01start to refactor dirserver_mode()Roger Dingledine
svn:r12621
2007-11-29karsten's second refactoring patchRoger Dingledine
svn:r12607
2007-11-01 r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson
Clients download and cache new hidden descriptor format. svn:r12302
2007-10-28Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags inRoger Dingledine
edge_connection_t: want_onehop if it must attach to a circuit with only one hop (e.g. for the current tunnelled connections that use begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay command to establish the stream rather than the normal BEGIN. Now we can make anonymized begin_dir connections for (e.g.) more secure hidden service posting and fetching. svn:r12244
2007-10-09 r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson
Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
2007-10-02 r15512@catbus: nickm | 2007-10-02 16:27:43 -0400Nick Mathewson
Make some functions static; remove some dead code. svn:r11750
2007-09-27minor typoRoger Dingledine
svn:r11658
2007-09-18Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine
them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
2007-08-29 r14830@catbus: nickm | 2007-08-29 13:50:10 -0400Nick Mathewson
Make controllers accept LF as well as CRLF. Update spec to reflect this. Remove now-dead code. Make controller warning about v0 protocol more accurate. svn:r11299
2007-08-27 r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400Nick Mathewson
Add a new ClientDNSRejectInternalAddresses option (default: on) to refuse to believe that any address can map to or from an internal address. This blocks some kinds of potential browser-based attacks, especially on hosts using DNSPort. Also clarify behavior in some comments. Backport candiate? svn:r11287
2007-08-15 r14583@catbus: nickm | 2007-08-15 17:52:35 -0400Nick Mathewson
Fix a bug caught by Kate: when we switched from masks to bits in 0.2.0.3-alpha, we added a spurious ! that made us never believe that any address fell inside a virtual address range. While we're at it, save a trip around the loop in the common case. svn:r11129
2007-08-11logging patch from karsten, slightly modified to compileRoger Dingledine
svn:r11074
2007-07-30 r14016@catbus: nickm | 2007-07-30 13:45:55 -0400Nick Mathewson
More documentation svn:r10992
2007-07-30 r14000@catbus: nickm | 2007-07-29 21:16:45 -0400Nick Mathewson
Fix bug 472: do not use spaces in pseudo-address for local link cons. svn:r10979
2007-07-25 r13905@catbus: nickm | 2007-07-25 18:48:44 -0400Nick Mathewson
ADDRMAP events should never have specified local time. Extend them to have the proper gmt time, and make GETINFO address-mappings always do the right thing (since it is new in this version). svn:r10930
2007-07-19 r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson
Another patch from croup: drop support for address masks that do not correspond to bit prefixes. Nobody has used this for a while, and we have given warnings for a long time. svn:r10881
2007-07-16 r13777@catbus: nickm | 2007-07-16 12:58:08 -0400Nick Mathewson
Patch from tup: new address-mappings/ GETINFO that includes expiry times. svn:r10844
2007-07-10 r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson
Get the RESOLVE controller code working. svn:r10781