summaryrefslogtreecommitdiff
path: root/src/or/command.c
AgeCommit message (Collapse)Author
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
2005-10-17Make a few INFO log lines into DEBUGPeter Palfrader
svn:r5257
2005-10-17start hunting down why servers keep getting so many duplicate create cellsRoger Dingledine
svn:r5255
2005-10-17start the process of reducing clutter in server logsRoger Dingledine
svn:r5253
2005-06-11Docment or add DOCDOC comments to undocumented functions in src/or. Make ↵Nick Mathewson
function definition format uniform. svn:r4411
2005-06-11flesh out the source file descriptions for doxygenRoger Dingledine
svn:r4404
2005-06-09Change end-of-file NLNL convention. It turns out arma I and I agree.Nick Mathewson
svn:r4382
2005-06-09New whitespace normalization rule: no blank line at EOF.Nick Mathewson
svn:r4378
2005-05-17doxygeny goodness from tyranixRoger Dingledine
svn:r4262
2005-05-07Make Tor compile with no warnings with gcc4.0 on OSXNick Mathewson
svn:r4184
2005-05-03first iteration of scrubbing sensitive strings from logs.Roger Dingledine
also generally clean up log messages. svn:r4174
2005-05-02New and frightening code to implement fast-path first-hop CREATE_FAST cells. ↵Nick Mathewson
Watch out when we bump the version to 0.1.0.6-rc! svn:r4162
2005-04-06Hopefully, this will make ORs much faster, and not break them: keep a big ↵Nick Mathewson
splay tree of (circid,orconn)->circuit mappings to make circuit_get_by_circid_conn much faster. svn:r4020
2005-04-03start sending 'truncated' cells back rather than destroy cells,Roger Dingledine
if the circuit closes in front of you. svn:r3993
2005-04-01update copyright notices.Nick Mathewson
svn:r3982
2005-01-03Fix an unused function warningNick Mathewson
svn:r3255
2004-12-25actually make it stop keeping track of times. whoops.Roger Dingledine
svn:r3230
2004-12-25initial profiling by phobos says we spend a whole lot of timeRoger Dingledine
measuring how long each cell takes to process. make that optional. svn:r3226
2004-12-01check for duplicate circuit ID _after_ updating circ_id_type.tor-0.0.9rc5Nick Mathewson
svn:r3058
2004-11-29Suggestion from weasel: Make tor --version --version dump the cvs Id of ↵Nick Mathewson
every file. svn:r3019