summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
AgeCommit message (Collapse)Author
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
2007-07-08 r13602@Kushana: nickm | 2007-07-07 23:44:24 -0400Nick Mathewson
Backport candidate: fix a possible buffer overrun when using natd support on old BSDs. Based on a patch from "Mr. Croup". svn:r10760
2007-07-05 r13452@kushana: nickm | 2007-06-20 09:52:55 -0400Nick Mathewson
Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking. svn:r10737
2007-06-09scrub out some more references to the misnamed 'bridge' conceptRoger Dingledine
svn:r10543
2007-06-07 r13304@catbus: nickm | 2007-06-07 13:25:37 -0400Nick Mathewson
Deprecate RedirectExits. svn:r10526
2007-06-05 r13266@catbus: nickm | 2007-06-05 16:38:08 -0400Nick Mathewson
Patch from peter palfrader: control interface via unix domain socket svn:r10504
2007-06-04Stop tearing down the whole circuit when the user asks for aRoger Dingledine
connection to a port that the hidden service didn't configure. Resolves bug 444. svn:r10478
2007-05-31 r13117@catbus: nickm | 2007-05-31 19:40:32 -0400Nick Mathewson
Patch from Tup: treat RESOLVED_TYPE_ERROR_TRANSIENT as a SERVERFAILED, and RESOLVED_TYPE_ERROR as NOTEXIST. Generate transient/nontransient errors more sensibly. Set flags better on DNS replies. svn:r10427
2007-05-31 r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson
Cleanup whitespace. svn:r10425
2007-05-29 r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson
Resolve all but 3 DOCDOCs. svn:r10393
2007-05-25polish r9933-r9994Roger Dingledine
svn:r10335
2007-05-25 r12964@catbus: nickm | 2007-05-25 14:49:23 -0400Nick Mathewson
hack to make reverse lookups work with dnsport. note that it is a hack. note some trouble spots. svn:r10332
2007-05-25 r12959@catbus: nickm | 2007-05-25 14:22:33 -0400Nick Mathewson
The second time that we resolve a.com and get 1.2.3.4, return an A record mapping (a->1.2.3.4), not mapping (1.2.3.4->1.2.3.4). svn:r10329
2007-05-25 r12958@catbus: nickm | 2007-05-25 14:19:29 -0400Nick Mathewson
Fix more dnsport bugs: set state correctly, and actually cache the answers. svn:r10328
2007-05-25 r12957@catbus: nickm | 2007-05-25 14:11:02 -0400Nick Mathewson
Fix a dnsserv bug: mark the connectino as "finished handshaking" once dnsserv_resolved is called. svn:r10327
2007-05-25 r12946@catbus: nickm | 2007-05-25 10:46:50 -0400Nick Mathewson
Add an AutomapHostsOnResolve option. It seems to work. svn:r10324
2007-05-24 r12942@catbus: nickm | 2007-05-24 16:31:22 -0400Nick Mathewson
Well, that was easier than I thought it would be. Tor is now a DNS proxy as well as a socks proxy. Probably some bugs remain, but since it A) has managed to resolve one address for me successfully, and B) will not affect anybody who leaves DNSPort unset, it feel like a good time to commit. svn:r10317
2007-05-24 r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson
Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
2007-05-22 r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson
Make connection_array into a smartlist. svn:r10292
2007-05-13 r12750@catbus: nickm | 2007-05-13 10:08:13 -0400Nick Mathewson
Fix compilation in connection_edge.c svn:r10186
2007-05-13polish r9726-r9903Roger Dingledine
svn:r10182
2007-05-10backport candidate:Roger Dingledine
If a directory server runs out of space in the connection table as it's processing a begin_dir request, it will free the exit stream but leave it attached to the circuit, leading to unpredictable behavior. (Reported by seeess, fixes bug 425.) svn:r10154
2007-04-30identify the exit node correctly when we timeout and detachRoger Dingledine
from a circuit, even if the exit node is in the middle. there are probably a few more places that need this fix too. svn:r10076
2007-04-30 r12565@catbus: nickm | 2007-04-30 10:09:07 -0400Nick Mathewson
Misc cleanup and bulletproofing on r10056. svn:r10058
2007-04-30Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine
so we can exit from the middle of the circuit. svn:r10056
2007-04-21 r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400Nick Mathewson
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention. svn:r9995
2007-04-09 r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400Nick Mathewson
Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931
2007-03-26 r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400Nick Mathewson
A surprisingly simple patch to stop reading on edge connections when their circuits get too full, and start again when they empty out. This lets us remove the logic to block begin_dir conns when the corresponding or conns get full: it was already broken by cell queues anyway. svn:r9905
2007-03-26 r12274@catbus: nickm | 2007-03-26 09:29:18 -0400Nick Mathewson
Possibly resolve bug reported by xiando. svn:r9903
2007-03-24 r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson
Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
2007-03-24 r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson
Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
2007-03-20put the stopgap on whether we've sent a create cell, notRoger Dingledine
whether we've attached a stream. svn:r9883
2007-03-20a stopgap measure while we wait for proposal 111: apply theRoger Dingledine
stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
2007-03-15change my mind -- correct the spec to match the code'sRoger Dingledine
behavior for getinfo addr-mappings/*. this is because the code and spec have been mismatched since at least 0.1.1.x, so i would be surprised if nobody at all is relying on the current behavior. backport candidate. backbackport candidate. svn:r9823
2007-03-15Make the response to 'getinfo addr-mappings/*' follow the spec.Roger Dingledine
svn:r9822