aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
Commit message (Collapse)AuthorAge
* karsten's second refactoring patchRoger Dingledine2007-11-29
| | | | svn:r12607
* r16314@catbus: nickm | 2007-10-31 23:40:08 -0400Nick Mathewson2007-11-01
| | | | | | | Clients download and cache new hidden descriptor format. svn:r12302
* Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags inRoger Dingledine2007-10-28
| | | | | | | | | | | | 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
* r15598@catbus: nickm | 2007-10-09 16:37:35 -0400Nick Mathewson2007-10-09
| | | | | | | Turn all "Is DirPort nonzero? Because if it is, we must be a directory" logic into calls to dirserver_mode(). svn:r11817
* r15512@catbus: nickm | 2007-10-02 16:27:43 -0400Nick Mathewson2007-10-02
| | | | | | | Make some functions static; remove some dead code. svn:r11750
* minor typoRoger Dingledine2007-09-27
| | | | svn:r11658
* Drop support for v1 rendezvous descriptors, since we never usedRoger Dingledine2007-09-18
| | | | | | | | them anyway, and the code has probably rotted by now. Based on patch from Karsten Loesing. svn:r11496
* r14830@catbus: nickm | 2007-08-29 13:50:10 -0400Nick Mathewson2007-08-29
| | | | | | | 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
* r14227@Kushana: nickm | 2007-08-27 11:33:28 -0400Nick Mathewson2007-08-27
| | | | | | | 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
* r14583@catbus: nickm | 2007-08-15 17:52:35 -0400Nick Mathewson2007-08-15
| | | | | | | 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
* logging patch from karsten, slightly modified to compileRoger Dingledine2007-08-11
| | | | svn:r11074
* r14016@catbus: nickm | 2007-07-30 13:45:55 -0400Nick Mathewson2007-07-30
| | | | | | | More documentation svn:r10992
* r14000@catbus: nickm | 2007-07-29 21:16:45 -0400Nick Mathewson2007-07-30
| | | | | | | Fix bug 472: do not use spaces in pseudo-address for local link cons. svn:r10979
* r13905@catbus: nickm | 2007-07-25 18:48:44 -0400Nick Mathewson2007-07-25
| | | | | | | 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
* r13834@catbus: nickm | 2007-07-19 15:40:42 -0400Nick Mathewson2007-07-19
| | | | | | | 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
* r13777@catbus: nickm | 2007-07-16 12:58:08 -0400Nick Mathewson2007-07-16
| | | | | | | Patch from tup: new address-mappings/ GETINFO that includes expiry times. svn:r10844
* r13666@catbus: nickm | 2007-07-10 13:10:00 -0400Nick Mathewson2007-07-10
| | | | | | | Get the RESOLVE controller code working. svn:r10781
* r13602@Kushana: nickm | 2007-07-07 23:44:24 -0400Nick Mathewson2007-07-08
| | | | | | | Backport candidate: fix a possible buffer overrun when using natd support on old BSDs. Based on a patch from "Mr. Croup". svn:r10760
* r13452@kushana: nickm | 2007-06-20 09:52:55 -0400Nick Mathewson2007-07-05
| | | | | | | Patch from Robert Hogan: Generate STREAM NEW events for dnsport requests and tunneled directory connections. Log when we are testing for hijacking. svn:r10737
* scrub out some more references to the misnamed 'bridge' conceptRoger Dingledine2007-06-09
| | | | svn:r10543
* r13304@catbus: nickm | 2007-06-07 13:25:37 -0400Nick Mathewson2007-06-07
| | | | | | | Deprecate RedirectExits. svn:r10526
* r13266@catbus: nickm | 2007-06-05 16:38:08 -0400Nick Mathewson2007-06-05
| | | | | | | Patch from peter palfrader: control interface via unix domain socket svn:r10504
* Stop tearing down the whole circuit when the user asks for aRoger Dingledine2007-06-04
| | | | | | | | connection to a port that the hidden service didn't configure. Resolves bug 444. svn:r10478
* r13117@catbus: nickm | 2007-05-31 19:40:32 -0400Nick Mathewson2007-05-31
| | | | | | | 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
* r13111@catbus: nickm | 2007-05-31 15:03:41 -0400Nick Mathewson2007-05-31
| | | | | | | Cleanup whitespace. svn:r10425
* r13050@catbus: nickm | 2007-05-29 13:31:11 -0400Nick Mathewson2007-05-29
| | | | | | | Resolve all but 3 DOCDOCs. svn:r10393
* polish r9933-r9994Roger Dingledine2007-05-25
| | | | svn:r10335
* r12964@catbus: nickm | 2007-05-25 14:49:23 -0400Nick Mathewson2007-05-25
| | | | | | | hack to make reverse lookups work with dnsport. note that it is a hack. note some trouble spots. svn:r10332
* r12959@catbus: nickm | 2007-05-25 14:22:33 -0400Nick Mathewson2007-05-25
| | | | | | | 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
* r12958@catbus: nickm | 2007-05-25 14:19:29 -0400Nick Mathewson2007-05-25
| | | | | | | Fix more dnsport bugs: set state correctly, and actually cache the answers. svn:r10328
* r12957@catbus: nickm | 2007-05-25 14:11:02 -0400Nick Mathewson2007-05-25
| | | | | | | Fix a dnsserv bug: mark the connectino as "finished handshaking" once dnsserv_resolved is called. svn:r10327
* r12946@catbus: nickm | 2007-05-25 10:46:50 -0400Nick Mathewson2007-05-25
| | | | | | | Add an AutomapHostsOnResolve option. It seems to work. svn:r10324
* r12942@catbus: nickm | 2007-05-24 16:31:22 -0400Nick Mathewson2007-05-24
| | | | | | | 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
* r12936@catbus: nickm | 2007-05-24 14:12:34 -0400Nick Mathewson2007-05-24
| | | | | | | Review XXXX comments without a version; upgrade some to XXXX020. svn:r10315
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400Nick Mathewson2007-05-22
| | | | | | | Make connection_array into a smartlist. svn:r10292
* r12750@catbus: nickm | 2007-05-13 10:08:13 -0400Nick Mathewson2007-05-13
| | | | | | | Fix compilation in connection_edge.c svn:r10186
* polish r9726-r9903Roger Dingledine2007-05-13
| | | | svn:r10182
* backport candidate:Roger Dingledine2007-05-10
| | | | | | | | | | 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
* identify the exit node correctly when we timeout and detachRoger Dingledine2007-04-30
| | | | | | | | | 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
* r12565@catbus: nickm | 2007-04-30 10:09:07 -0400Nick Mathewson2007-04-30
| | | | | | | Misc cleanup and bulletproofing on r10056. svn:r10058
* Let the controller specify HOP=%d as an argument to ATTACHSTREAM,Roger Dingledine2007-04-30
| | | | | | | so we can exit from the middle of the circuit. svn:r10056
* r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400Nick Mathewson2007-04-21
| | | | | | | 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
* r12687@Kushana: nickm | 2007-04-09 17:05:57 -0400Nick Mathewson2007-04-09
| | | | | | | Try to fix bug 410: move responsibility for attaching/detaching initial streams from circuits into dns_resolve. Needs refactoring a little. svn:r9931
* r12652@Kushana: nickm | 2007-03-25 15:01:48 -0400Nick Mathewson2007-03-26
| | | | | | | 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
* r12274@catbus: nickm | 2007-03-26 09:29:18 -0400Nick Mathewson2007-03-26
| | | | | | | Possibly resolve bug reported by xiando. svn:r9903
* r12644@0-41-wifi: nickm | 2007-03-23 16:02:23 -0400Nick Mathewson2007-03-24
| | | | | | | Eliminate more redundant circuit_t arguments when edge_connection_t is already supplied and the circuit is already attached. svn:r9900
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400Nick Mathewson2007-03-24
| | | | | | | Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899
* put the stopgap on whether we've sent a create cell, notRoger Dingledine2007-03-20
| | | | | | | whether we've attached a stream. svn:r9883
* a stopgap measure while we wait for proposal 111: apply theRoger Dingledine2007-03-20
| | | | | | | | stricter rate limiting to all OR conns except those that have been touched by local circuits. svn:r9882
* change my mind -- correct the spec to match the code'sRoger Dingledine2007-03-15
| | | | | | | | | | | | | 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