aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Collapse)AuthorAge
* defense in depthRoger Dingledine2006-07-30
| | | | svn:r6939
* r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson2006-07-26
| | | | | | | Clean up wide lines from last patch. svn:r6907
* 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
* an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine2006-07-21
| | | | | | | not therefore "up". svn:r6798
* tweakRoger Dingledine2006-07-20
| | | | svn:r6796
* fix some more places where we shouldn't crash if we can't buildRoger Dingledine2006-07-17
| | | | | | | our own descriptor yet. svn:r6775
* actually, that excludenodes fix was redundant. take it out.Roger Dingledine2006-07-05
| | | | svn:r6727
* oops, we were ignoring options->ExcludeNodes when picking entry guards.Roger Dingledine2006-07-04
| | | | | | | | it is still the case that we ignore it with respect to entry guards that we've already picked. svn:r6726
* minor fixesRoger Dingledine2006-07-04
| | | | svn:r6709
* also remove word 'middleman' from a log noticeRoger Dingledine2006-06-29
| | | | svn:r6704
* correct a function comment in compute_preferred_testing_list()Roger Dingledine2006-06-18
| | | | svn:r6660
* lower the number of seconds before we yell about clock jump.Roger Dingledine2006-06-15
| | | | | | | and make the yelling only happen if you're a server. svn:r6625
* upgrade the severity of the 'clock jump' warn, and ask peopleRoger Dingledine2006-06-14
| | | | | | | to report if it occurs. svn:r6623
* bugfix: discourage picking directory authorities as our TestViaRoger Dingledine2006-06-14
| | | | | | | | hops, even if they're running the right versions, since we probably already have a connection established to them. svn:r6622
* back off and add the $ at the beginning of the preferrednodes listRoger Dingledine2006-06-13
| | | | | | | we generate. svn:r6620
* first cut at a workaround for the reachability bug: explicitly find aRoger Dingledine2006-06-13
| | | | | | | server running the right version, if we can, and ask for that one. svn:r6616
* Defense in depth: fix the reachability bug a second way too.Roger Dingledine2006-06-13
| | | | | | | | Now if we establish a connection with the right digest, regardless of what the addr/port is, and we have pending create cells, use it. svn:r6614
* Add a new config option TestVia, that lets you specify preferred middleRoger Dingledine2006-06-10
| | | | | | | | hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581
* actually, don't fix it that far. we should still do someRoger Dingledine2006-06-09
| | | | | | | error checking. svn:r6576
* when only one router is labelled as a guard, and we'veRoger Dingledine2006-06-09
| | | | | | | | | | already picked him, we would cycle endlessly picking him again, being unhappy about it, and so forth. now we specifically exclude guards when picking a new guard. svn:r6575
* make connection_or_nonopen_was_started_here() based on something lessRoger Dingledine2006-06-07
| | | | | | | voodooey. it turns out we already do keep a flag like that around. svn:r6560
* fix the bug where we sometimes would fail to send some create cellsRoger Dingledine2006-06-06
| | | | | | | once we'd connected to a(nother) tor server. svn:r6552
* scream louder if you've got a pending circuit for a givenRoger Dingledine2006-06-05
| | | | | | | addr/port but the intended n_conn digest is wrong. svn:r6544
* bugfix: if we are making our first ever connection to any entryRoger Dingledine2006-06-05
| | | | | | | | guard, then don't mark it down at first. we had this implemented but it was disabled due to a bug. svn:r6541
* Note a bug that causes servers to sometimes never send the pendingRoger Dingledine2006-06-05
| | | | | | | create cell. Nick, is this a bug? If so, is my fix right? svn:r6538
* Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson2006-06-04
| | | | | | we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
* END_CIRC_REASON_OR_IDENTITY apparently means that we were told toRoger Dingledine2006-05-30
| | | | | | | | | connect to a different OR than lives on the addr:port we connected to. we don't actually remember whether that was the case, currently. so call it END_CIRC_REASON_OR_CONN_CLOSED as a compromise. svn:r6515
* simplify a log messageRoger Dingledine2006-05-30
| | | | svn:r6512
* put one of the XXX's back inRoger Dingledine2006-04-25
| | | | svn:r6422
* forward-port: "Resolve" all XXX011 items, mostly by marking them non-011.Nick Mathewson2006-04-18
| | | | svn:r6396
* If I could forget that I had enabled StrictExitNodes, others will too.Nick Mathewson2006-04-02
| | | | svn:r6295
* Refactor and consolidate addr/exit policies into a new policies.c.Roger Dingledine2006-03-27
| | | | | | | Fix some minor bugs and memory leaks along the way. svn:r6246
* When the controller's *setconf commands fail, collect an error messageRoger Dingledine2006-03-26
| | | | | | | in a string and hand it back. This starts to resolve bug 275. svn:r6241
* Finish the transition from the word 'verified' to the wordsRoger Dingledine2006-03-19
| | | | | | | 'named' and 'valid'. svn:r6188
* auth dir servers were only modifying a server's is_running fieldRoger Dingledine2006-03-18
| | | | | | | | | when they created a network status. so if nobody asked for a network status, they would never discover that any servers are is_running, so they could never build a circuit. svn:r6183
* let an authdir that's not a naming authdir start evenRoger Dingledine2006-03-18
| | | | | | | | if it doesn't have an approved-routers file. if it does, read it and parse it as usual. svn:r6182
* but i made the line too longRoger Dingledine2006-03-17
| | | | svn:r6176
* stop tricking server operators into thinking they got theirRoger Dingledine2006-03-17
| | | | | | | torrc perfect, just because tor could build a circuit. svn:r6175
* quiet another entry guard log messageRoger Dingledine2006-03-15
| | | | svn:r6169
* change INET_NTOA_BUF_LEN+1 to INET_NTOA_BUF_LENPeter Palfrader2006-03-14
| | | | | | | add a comment in a few places where we add weird numbers to buffer lengths svn:r6161
* make entry guard logs even quieterRoger Dingledine2006-03-10
| | | | svn:r6116
* don't abandon entry guards until they've been dead a whole month.Roger Dingledine2006-03-09
| | | | | | | make entry guard log messages quieter. svn:r6106
* clean up a log messageRoger Dingledine2006-02-21
| | | | svn:r6074
* Split ReachableAddresses into ReachableDirAddresses and ReachableORAddressesPeter Palfrader2006-02-13
| | | | svn:r6009
* convert some more source files to the new log conventionRoger Dingledine2006-02-13
| | | | svn:r6002
* Clients now honor the "guard" flag in the router status whenRoger Dingledine2006-02-12
| | | | | | | | | | picking entry guards, rather than looking at is_fast or is_stable. Now dirservers can change how they define it and clients will automatically use their new definition. svn:r5979
* Happy new year!Roger Dingledine2006-02-09
| | | | svn:r5949
* tweak commentRoger Dingledine2006-02-09
| | | | svn:r5930
* avoid a minor confusing log messageRoger Dingledine2006-02-01
| | | | svn:r5887