aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
Commit message (Collapse)AuthorAge
...
* r18041@catbus: nickm | 2008-02-11 23:43:18 -0500Nick Mathewson2008-02-12
| | | | | | | Make version negotiation and handshaking messages more useful and accurate. svn:r13477
* r18029@catbus: nickm | 2008-02-11 12:36:39 -0500Nick Mathewson2008-02-12
| | | | | | | Fix command.c compilation with gcc 4.2 warnings enabled. svn:r13475
* r14108@tombo: nickm | 2008-02-10 20:09:10 -0500Nick Mathewson2008-02-11
| | | | | | | add some documentation svn:r13462
* r14103@tombo: nickm | 2008-02-10 13:40:09 -0500Nick Mathewson2008-02-10
| | | | | | | Fix some XXX020s in command.c, and make it not-allowed to negotiate v1 using the v2 connection protocol: it is too hard to test, and pointless to support. svn:r13460
* r14101@tombo: nickm | 2008-02-10 13:24:27 -0500Nick Mathewson2008-02-10
| | | | | | | Merge connection_or_act_on_netinfo into command.c; remove some fields from or_handshake_state(). svn:r13458
* r17991@catbus: nickm | 2008-02-08 18:41:26 -0500Nick Mathewson2008-02-08
| | | | | | | More protocol negotiation work. Make the negotiation actually complete and set the state to open. Fix a crash bug that occured when we forcibly stopped the connection from writing. svn:r13434
* Update some copyright notices: it is now 2008.Nick Mathewson2008-02-07
| | | | svn:r13412
* r17955@catbus: nickm | 2008-02-06 16:53:07 -0500Nick Mathewson2008-02-06
| | | | | | | The SSL portion of the revised handshake now seems to work: I just finally got a client and a server to negotiate versions. Now to make sure certificate verification is really happening, connections are getting opened, etc. svn:r13409
* r17936@catbus: nickm | 2008-02-06 00:31:11 -0500Nick Mathewson2008-02-06
| | | | | | | Fix/downgrade some more XXX020s. svn:r13397
* r17930@catbus: nickm | 2008-02-05 18:20:40 -0500Nick Mathewson2008-02-05
| | | | | | | Initial attempts to track down bug 600, and refactor possibly offending code. 1) complain early if circuit state is set to OPEN when an onionskin is pending. 2) refactor onionskin field into one only used when n_conn is pending, and a separate onionskin field waiting for attention by a cpuworker. This might even fix the bug. More likely, it will make it fail with a more useful core. svn:r13394
* r17918@catbus: nickm | 2008-02-05 16:39:17 -0500Nick Mathewson2008-02-05
| | | | | | | Remove a few #if-0d items. svn:r13392
* r15891@tombo: nickm | 2008-01-12 19:20:24 -0500Nick Mathewson2008-01-13
| | | | | | | Basic hacks to get TLS handshakes working: remove dead code; fix post-handshake logic; keep servers from writing while the client is supposed to be renegotiating. This may work. Needs testing. svn:r13122
* clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine2007-12-12
| | | | svn:r12786
* patch from karsten to clean up documentation and to integrateRoger Dingledine2007-12-07
| | | | | | | more fixes into rend-spec.txt. svn:r12715
* Stop being so aggressive about fetching dir info if your DirPort isRoger Dingledine2007-12-04
| | | | | | | | | | | | | | 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
* r15087@tombo: nickm | 2007-11-30 22:32:26 -0500Nick Mathewson2007-12-01
| | | | | | | Start getting freaky with openssl callbacks in tortls.c: detect client ciphers, and if the list doesn't look like the list current Tors use, present only a single cert do not ask for a client cert. Also, support for client-side renegotiation. None of this is enabled unless you define V2_HANDSHAKE_SERVER. svn:r12622
* r16670@catbus: nickm | 2007-11-14 14:56:30 -0500Nick Mathewson2007-11-14
| | | | | | | Initial phase of proposal 110: accept RELAY_EARLY cells, and turn them into RELAY cells when sending them on over a v1 OR connection. svn:r12496
* r16669@catbus: nickm | 2007-11-14 14:50:03 -0500Nick Mathewson2007-11-14
| | | | | | | When we complete an OR handshake, set up all the internal fields and mark the connection as open. svn:r12495
* r16455@catbus: nickm | 2007-11-06 12:48:00 -0500Nick Mathewson2007-11-06
| | | | | | | Parse CERT cells and act correctly when we get them. svn:r12396
* r16452@catbus: nickm | 2007-11-06 09:20:08 -0500Nick Mathewson2007-11-06
| | | | | | | Fix warning about overflow optimization. svn:r12395
* r14729@31-33-67: nickm | 2007-11-05 18:54:50 -0500Nick Mathewson2007-11-05
| | | | | | | Send and Parse CERT cells correctly. Still need to understand the certs inside. svn:r12392
* r14727@31-33-67: nickm | 2007-11-05 18:34:35 -0500Nick Mathewson2007-11-05
| | | | | | | Make VERSIONS variable-length. svn:r12391
* r16438@catbus: nickm | 2007-11-05 16:45:45 -0500Nick Mathewson2007-11-05
| | | | | | | Initial code for variable-length cells. CERT and VERSIONS need to use them. svn:r12390
* r16434@catbus: nickm | 2007-11-05 14:22:40 -0500Nick Mathewson2007-11-05
| | | | | | | Oops; fix compile svn:r12387
* r16432@catbus: nickm | 2007-11-05 14:18:57 -0500Nick Mathewson2007-11-05
| | | | | | | Send and parse link_auth cells properly. svn:r12386
* r16414@catbus: nickm | 2007-11-05 13:14:46 -0500Nick Mathewson2007-11-05
| | | | | | | Function to process link auth cells; stub function for cert cell processing svn:r12385
* r16409@catbus: nickm | 2007-11-05 10:38:25 -0500Nick Mathewson2007-11-05
| | | | | | | Split handshake state into its own structure. Revise versions and netinfo code to use this structure. svn:r12380
* r16285@catbus: nickm | 2007-10-30 17:43:25 -0400Nick Mathewson2007-10-30
| | | | | | | Implement (but do not enable) link connection version negotiation svn:r12286
* r16282@catbus: nickm | 2007-10-30 14:28:58 -0400Nick Mathewson2007-10-30
| | | | | | | Implement lots of proposal 105. None of it is enabled yet. svn:r12285
* Be even more aggressive about separating local traffic from relayedRoger Dingledine2007-07-29
| | | | | | | traffic when RelayBandwidthRate is set. (Refines proposal 111.) svn:r10974
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson2007-03-26
| | | | | | | Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly. svn:r9904
* 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
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson2007-02-12
| | | | | | | Update copyright dates. svn:r9570
* r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500Nick Mathewson2006-10-31
| | | | | | | Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.) svn:r8887
* r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400Nick Mathewson2006-10-19
| | | | | | | Fix an XXX in handling destroy cells: when we get a destroy cell with reason FOO, do not tell the controller REASON=FOO. Instead, say REASON=DESTROYED REMOTE_REASON=FOO. Suggested by a conversation with Mike Perry. svn:r8760
* r9077@totoro: nickm | 2006-10-18 11:41:16 -0400Nick Mathewson2006-10-18
| | | | | | | Another patch from Mike Perry; sprintfing a NULL pointer. (with comment). svn:r8747
* r9062@totoro: nickm | 2006-10-17 11:19:43 -0400Nick Mathewson2006-10-17
| | | | | | | Fix -Wlots with command.c (a uchar is never -1). Note also that one of our ifs is very stupid. svn:r8741
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* r9017@totoro: nickm | 2006-10-13 01:27:33 -0400Nick Mathewson2006-10-13
| | | | | | | Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up. svn:r8699
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson2006-10-09
| | | | | | | Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
* prefer calling it a client rather than an OPRoger Dingledine2006-09-07
| | | | svn:r8334
* defense in depthRoger Dingledine2006-07-30
| | | | svn:r6939
* r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson2006-07-26
| | | | | | | Refactor connection_t into edge, or, dir, control, and base subtypes. This might save some RAM on busy exit servers, but really matters most in terms of correctness. svn:r6906
* Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson2006-07-23
| | | | | | | | | | | | | | | circuit_t into origin_circuit_t and or_circuit_t. I fixed some segaults; there may be more. We still need to move more rendezvous stuff into subtypes. This is a trial run for splitting up connection_t; if the approach is insane, please say so soon so we can do something smarter. Also, this discards the old HALF_OPEN code, which nobody seems to want. svn:r6817
* No longer permit create cells to have the wrong circ_id_type. NoRoger Dingledine2006-07-04
| | | | | | | running Tors should still have this bug. svn:r6711
* Add some functions to escape values from the network before sending them to ↵Nick Mathewson2006-03-05
| | | | | | the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
* convert some more source files to the new log conventionRoger Dingledine2006-02-13
| | | | svn:r6002
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson2006-01-05
| | | | svn:r5734