aboutsummaryrefslogtreecommitdiff
path: root/src/or/command.c
AgeCommit message (Collapse)Author
2008-01-13 r15891@tombo: nickm | 2008-01-12 19:20:24 -0500Nick Mathewson
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
2007-12-12clean up copyrights, and assign 2007 copyrights to The Tor Project, IncRoger Dingledine
svn:r12786
2007-12-07patch from karsten to clean up documentation and to integrateRoger Dingledine
more fixes into rend-spec.txt. svn:r12715
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-01 r15087@tombo: nickm | 2007-11-30 22:32:26 -0500Nick Mathewson
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
2007-11-14 r16670@catbus: nickm | 2007-11-14 14:56:30 -0500Nick Mathewson
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
2007-11-14 r16669@catbus: nickm | 2007-11-14 14:50:03 -0500Nick Mathewson
When we complete an OR handshake, set up all the internal fields and mark the connection as open. svn:r12495
2007-11-06 r16455@catbus: nickm | 2007-11-06 12:48:00 -0500Nick Mathewson
Parse CERT cells and act correctly when we get them. svn:r12396
2007-11-06 r16452@catbus: nickm | 2007-11-06 09:20:08 -0500Nick Mathewson
Fix warning about overflow optimization. svn:r12395
2007-11-05 r14729@31-33-67: nickm | 2007-11-05 18:54:50 -0500Nick Mathewson
Send and Parse CERT cells correctly. Still need to understand the certs inside. svn:r12392
2007-11-05 r14727@31-33-67: nickm | 2007-11-05 18:34:35 -0500Nick Mathewson
Make VERSIONS variable-length. svn:r12391
2007-11-05 r16438@catbus: nickm | 2007-11-05 16:45:45 -0500Nick Mathewson
Initial code for variable-length cells. CERT and VERSIONS need to use them. svn:r12390
2007-11-05 r16434@catbus: nickm | 2007-11-05 14:22:40 -0500Nick Mathewson
Oops; fix compile svn:r12387
2007-11-05 r16432@catbus: nickm | 2007-11-05 14:18:57 -0500Nick Mathewson
Send and parse link_auth cells properly. svn:r12386
2007-11-05 r16414@catbus: nickm | 2007-11-05 13:14:46 -0500Nick Mathewson
Function to process link auth cells; stub function for cert cell processing svn:r12385
2007-11-05 r16409@catbus: nickm | 2007-11-05 10:38:25 -0500Nick Mathewson
Split handshake state into its own structure. Revise versions and netinfo code to use this structure. svn:r12380
2007-10-30 r16285@catbus: nickm | 2007-10-30 17:43:25 -0400Nick Mathewson
Implement (but do not enable) link connection version negotiation svn:r12286
2007-10-30 r16282@catbus: nickm | 2007-10-30 14:28:58 -0400Nick Mathewson
Implement lots of proposal 105. None of it is enabled yet. svn:r12285
2007-07-29Be even more aggressive about separating local traffic from relayedRoger Dingledine
traffic when RelayBandwidthRate is set. (Refines proposal 111.) svn:r10974
2007-03-26 r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400Nick Mathewson
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
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-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2006-10-31 r9457@Kushana: nickm | 2006-10-31 18:35:17 -0500Nick Mathewson
Do not warn when an OR gives us a new circuit end reason. (This will prevent bug 351 from recurring.) svn:r8887
2006-10-19 r9272@Kushana: nickm | 2006-10-19 12:52:37 -0400Nick Mathewson
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
2006-10-18 r9077@totoro: nickm | 2006-10-18 11:41:16 -0400Nick Mathewson
Another patch from Mike Perry; sprintfing a NULL pointer. (with comment). svn:r8747
2006-10-17 r9062@totoro: nickm | 2006-10-17 11:19:43 -0400Nick Mathewson
Fix -Wlots with command.c (a uchar is never -1). Note also that one of our ifs is very stupid. svn:r8741
2006-10-17 r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
2006-10-13 r9017@totoro: nickm | 2006-10-13 01:27:33 -0400Nick Mathewson
Second patch to work on circuit close reasons from Mike Perry. Disabled partially; see comment. Whitespace cleaned up. svn:r8699
2006-10-09 r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson
Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
2006-09-07prefer calling it a client rather than an OPRoger Dingledine
svn:r8334
2006-07-30defense in depthRoger Dingledine
svn:r6939
2006-07-26 r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400Nick Mathewson
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
2006-07-23Don't tell anybody, but we're going OO here. This patch splitsNick Mathewson
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
2006-07-04No longer permit create cells to have the wrong circ_id_type. NoRoger Dingledine
running Tors should still have this bug. svn:r6711
2006-03-05Add some functions to escape values from the network before sending them to ↵Nick Mathewson
the log. Use them everywhere except for routerinfo->plaftorm, routerinfo->contact_info, and rend*.c. (need sleep now) svn:r6087
2006-02-13convert some more source files to the new log conventionRoger Dingledine
svn:r6002
2006-02-09Happy new year!Roger Dingledine
svn:r5949
2006-01-05Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson
svn:r5734
2005-12-31Some tor servers process billions of cells in a matter of days.Roger Dingledine
These statistics need to be uint64_t's. svn:r5686
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-10when we changed from log_fn to debug/info/notice/warn/err,Roger Dingledine
we screwed up the formatting in wild and unpredictable ways. fix it before it becomes convention to format logs in wild and unpredictable ways. still need to do src/common/ someday. svn:r5551
2005-12-08Document CREATE_FAST better in the code. Move our key expansion algorithm ↵Nick Mathewson
into a separate function in crypto.c svn:r5530
2005-12-03Shave off another 4.7%: remove a linear search when figuring out which ↵Nick Mathewson
circuits wanted us to open a given OR connection. svn:r5489
2005-11-19misc cleanupsRoger Dingledine
svn:r5428
2005-11-19another case (i think) of redundant code.Roger Dingledine
svn:r5426
2005-10-29make circ->onionskin a pointer, not a static array. moria2 was usingRoger Dingledine
125000 circuit_t's after it had been up for a few weeks, which translates to 20+ megs of wasted space. svn:r5333
2005-10-25Remove last vestiges of old logging interface.Nick Mathewson
svn:r5317
2005-10-25Convert circuituse, command, config, connection, relay, router, test to new ↵Nick Mathewson
logging interface svn:r5308
2005-10-17Downgrade a few INFO level logs to DEBUG again. Also add two or three newPeter Palfrader
logs in cases where a calling function's log was downgraded and we wouldn't get any log message otherwise. svn:r5263