summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
AgeCommit message (Collapse)Author
2006-02-09tweak commentRoger Dingledine
svn:r5930
2006-02-01avoid a minor confusing log messageRoger Dingledine
svn:r5887
2006-01-29only start testing reachability once we've established a circuit.Roger Dingledine
this will make startup on dirservers less noisy. it may also break things in subtle ways. svn:r5878
2006-01-17oh, and the other bits of the commitRoger Dingledine
svn:r5836
2006-01-11we were leaking a smartlist every time we built a circuitRoger Dingledine
svn:r5795
2006-01-11Fix wide linesNick Mathewson
svn:r5793
2006-01-11if we learn that a down entry guard is up, count our working entryRoger Dingledine
guards correctly when logging. svn:r5791
2006-01-10entry nodes are now entry guards.Roger Dingledine
this is our last easy chance for a wholesale change. heave ho. svn:r5782
2006-01-10and even more soRoger Dingledine
svn:r5776
2006-01-10make entry node logging slightly less chatty.Roger Dingledine
still quite chatty. it's an alpha, that's ok. svn:r5775
2006-01-07"Pending" is a bad term for a circuit that uses your server as its last hop.Roger Dingledine
svn:r5751
2006-01-07helper nodes are deadRoger Dingledine
svn:r5743
2006-01-05Add reasons to DESTROY and RELAY_TRUNCATED cells.Nick Mathewson
svn:r5734
2006-01-02strictentrynodes means we should clear the current entry_nodes list.Roger Dingledine
svn:r5703
2005-12-31get rid of the special case for 'testing' circuitsRoger Dingledine
svn:r5684
2005-12-31Finish implementing config's EntryNodes and StrictEntryNodes option.Roger Dingledine
The logging is way verbose for now. svn:r5683
2005-12-28helper nodes are dead. long live entry nodes.Roger Dingledine
(config options EntryNodes and StrictEntryNodes still not implemented.) svn:r5673
2005-12-28but only close the new conn if one of the earlier helper nodesRoger Dingledine
that we mark up is actually reachable, fast enough, etc to use. svn:r5672
2005-12-28but only close it if we have marked an earlier helper as up.Roger Dingledine
that way we don't close it too needlessly. svn:r5671
2005-12-28when we connect to a helper node for the first time, closeRoger Dingledine
that connection and its circuits. this lets us go back to using the old helper nodes rather than immediately using the last one in the list. svn:r5670
2005-12-27when we succeed at connecting to a helper that we've never connectedRoger Dingledine
to before, mark all the previous helpers as up. This is handy if the network went away and then returned. svn:r5666
2005-12-27helpful logRoger Dingledine
svn:r5665
2005-12-27slightly more accurate log messagesRoger Dingledine
svn:r5664
2005-12-27first cut of the new helper stuff. seems to work in the normalRoger Dingledine
case, but many edge cases still need testing. svn:r5663
2005-12-27normalize spacesNick Mathewson
svn:r5658
2005-12-26comments? i'll show you comments.Roger Dingledine
svn:r5652
2005-12-25prevent a rare infinite loop on two-byte architectures,Roger Dingledine
and be more thorough and starting over when the clock jumps. svn:r5647
2005-12-24stop being sneaky, especially if we're being incorrectly sneakyRoger Dingledine
svn:r5646
2005-12-24more comments, and start to use the made_contact entry.Roger Dingledine
svn:r5645
2005-12-24simplify because we weren't using those return values anywayRoger Dingledine
svn:r5643
2005-12-24start to document the helper node functionsRoger Dingledine
svn:r5642
2005-12-18fix a seg fault when you finish connecting to a server butRoger Dingledine
at that moment you dump his server descriptor, and you also happen to be logging at loglevel info. (found by weasel) svn:r5615
2005-12-14Bite the bullet and limit all our source lines to 80 characters, the way IBM ↵Nick Mathewson
intended. svn:r5582
2005-12-13bugfix: when we removed a dead helper node, we never committed thatRoger Dingledine
change to disk. svn:r5576
2005-12-11Don't use helper nodes for circuits with purpose 'testing'.Roger Dingledine
Also, when picking the helper node for a given circuit, exclude the circuit's exit from your choices. svn:r5569
2005-12-11when removing dead helpers, only write or_state to disk once at theRoger Dingledine
end, not for every helper you remove. svn:r5568
2005-12-11fix yet another time comparison bug. we were abandoning helpersRoger Dingledine
as soon as they became unavailable. (is this true?) svn:r5565
2005-12-11fix an error in reporting why we abandoned a helper nodeRoger Dingledine
svn:r5564
2005-12-11choose helper nodes to have high capacity alwaysRoger Dingledine
svn:r5563
2005-12-10explain why 0.1.1.9-alpha-cvs is a special version.Roger Dingledine
svn:r5552
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-10crank the max line limit down to 150 chars.Roger Dingledine
svn:r5550
2005-12-08when we're checking reachability, make it clearer in the logsRoger Dingledine
what to expect. svn:r5538
2005-12-08remove a redundant memcpy when extending to a new serverRoger Dingledine
and attaching circuits to it. svn:r5537
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-07Make clients use CREATE_FAST cells. add an option to disable this.Nick Mathewson
svn:r5524
2005-12-07what the heck is wrong with this little piece of code?Roger Dingledine
why can none of us get it right? it looks so simple. svn:r5521
2005-12-03Clean up some comments; remove some dead codeNick Mathewson
svn:r5493
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-30Rename connection_get_by_identity_digest to reflect that it is OR-only. ↵Nick Mathewson
Make it use a hashtable instead of a linear search. svn:r5469