aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
AgeCommit message (Collapse)Author
2006-10-08remove some old debugging codeRoger Dingledine
svn:r8657
2006-10-08 r8933@totoro: nickm | 2006-10-07 20:33:16 -0400Nick Mathewson
whitespace fixes; add changelog for last commit. svn:r8644
2006-10-07 r8926@totoro: nickm | 2006-10-07 15:56:14 -0400Nick Mathewson
refactor circuit_list_path and circuit_list_path_verbose into a common _impl function. svn:r8642
2006-10-07finish poking and prodding. i'm all happy now.Roger Dingledine
svn:r8633
2006-10-07more minor cleanupsRoger Dingledine
svn:r8630
2006-10-07resolve the entryguard uptime/capacity question. and mark aRoger Dingledine
new xxx that we'll want to address one day. svn:r8628
2006-10-07minor cleanupsRoger Dingledine
svn:r8622
2006-10-06bugfix and cleanups re: entry guards.Roger Dingledine
svn:r8620
2006-10-03 r8862@totoro: nickm | 2006-10-03 14:54:14 -0400Nick Mathewson
Make verbose names get used (when appropriate and selected) in responses to getinfo requests. svn:r8593
2006-10-03 r8838@totoro: nickm | 2006-10-02 15:24:39 -0400Nick Mathewson
Partial implementation of revised nickname syntax for controllers. Implement ability to look up routers by "verbose" nicknames; add a per-v1-control-connection flag to turn the feature on in events. Needs testing, spec, ability to actually turn on the flag, double-checking that we wont overflow any nickname buffers, and changelog. svn:r8582
2006-10-03the other half of the is_local_IP patchRoger Dingledine
svn:r8581
2006-10-02 r8851@totoro: nickm | 2006-10-02 18:13:27 -0400Nick Mathewson
Remove/clarify some XXXs for no longer being accurate; for begin things we do not indend to fix; for already being parts of big todo issues (like "/* XXX ipv6 */"); etc. Also fix some spaces. svn:r8580
2006-10-01 r8826@totoro: nickm | 2006-10-01 17:58:45 -0400Nick Mathewson
Disprefer exit nodes for entry, middle positions (fixes bug 200). Also, switch to using a uint64_t to hold "total bandwidth for all nodes" under consideration; crypt_rand_int would have died at 2GB/s network capacity. svn:r8571
2006-10-01 r8822@totoro: nickm | 2006-10-01 16:24:22 -0400Nick Mathewson
Fix bug 303: reject attempts to use Tor as a one-hop proxy. svn:r8566
2006-09-30 r8800@totoro: nickm | 2006-09-29 23:10:49 -0400Nick Mathewson
Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames. svn:r8548
2006-09-28 r8976@Kushana: nickm | 2006-09-28 17:18:57 -0400Nick Mathewson
Another tweak to guard logic: ignore check for the Guard flag if a server is listed on EntryNodes. (Also remove redundant checks for always-set variables.) svn:r8522
2006-09-28 r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400Nick Mathewson
Document entry-guard related functions svn:r8521
2006-09-28 r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400Nick Mathewson
Improvement to last entry guards patch: track when we last attempted to connect to a node in our state file along with how long it has been unreachable. Also clarify behavior of parse_iso_time() when it gets extra characters. svn:r8520
2006-09-28 r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400Nick Mathewson
Refactor entry guard status logic a lot; allow more factors [like not having a Guard flag or being listed in ExcludeNodes] to render a guard "unlisted" (now called "unusable"); track guard down status (now called "unreachable") separately from is_running. svn:r8519
2006-09-15make my bandwidth exercises actually happenRoger Dingledine
svn:r8400
2006-08-11 r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson
Add more warnings to the list of those we tolerate. Start using GCC attributes more, for better error checking and better code generation. svn:r7020
2006-07-30defense in depthRoger Dingledine
svn:r6939
2006-07-26 r6909@Kushana: nickm | 2006-07-26 13:05:58 -0400Nick Mathewson
Clean up wide lines from last patch. svn:r6907
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-21an entry guard that is "unlisted", as well as not known to be "down", isRoger Dingledine
not therefore "up". svn:r6798
2006-07-20tweakRoger Dingledine
svn:r6796
2006-07-17fix some more places where we shouldn't crash if we can't buildRoger Dingledine
our own descriptor yet. svn:r6775
2006-07-05actually, that excludenodes fix was redundant. take it out.Roger Dingledine
svn:r6727
2006-07-04oops, we were ignoring options->ExcludeNodes when picking entry guards.Roger Dingledine
it is still the case that we ignore it with respect to entry guards that we've already picked. svn:r6726
2006-07-04minor fixesRoger Dingledine
svn:r6709
2006-06-29also remove word 'middleman' from a log noticeRoger Dingledine
svn:r6704
2006-06-18correct a function comment in compute_preferred_testing_list()Roger Dingledine
svn:r6660
2006-06-15lower the number of seconds before we yell about clock jump.Roger Dingledine
and make the yelling only happen if you're a server. svn:r6625
2006-06-14upgrade the severity of the 'clock jump' warn, and ask peopleRoger Dingledine
to report if it occurs. svn:r6623
2006-06-14bugfix: discourage picking directory authorities as our TestViaRoger Dingledine
hops, even if they're running the right versions, since we probably already have a connection established to them. svn:r6622
2006-06-13back off and add the $ at the beginning of the preferrednodes listRoger Dingledine
we generate. svn:r6620
2006-06-13first cut at a workaround for the reachability bug: explicitly find aRoger Dingledine
server running the right version, if we can, and ask for that one. svn:r6616
2006-06-13Defense in depth: fix the reachability bug a second way too.Roger Dingledine
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
2006-06-10Add a new config option TestVia, that lets you specify preferred middleRoger Dingledine
hops to use for testing circuits. Perhaps this will let me debug the reachability problem better. svn:r6581
2006-06-09actually, don't fix it that far. we should still do someRoger Dingledine
error checking. svn:r6576
2006-06-09when only one router is labelled as a guard, and we'veRoger Dingledine
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
2006-06-07make connection_or_nonopen_was_started_here() based on something lessRoger Dingledine
voodooey. it turns out we already do keep a flag like that around. svn:r6560
2006-06-06fix the bug where we sometimes would fail to send some create cellsRoger Dingledine
once we'd connected to a(nother) tor server. svn:r6552
2006-06-05scream louder if you've got a pending circuit for a givenRoger Dingledine
addr/port but the intended n_conn digest is wrong. svn:r6544
2006-06-05bugfix: if we are making our first ever connection to any entryRoger Dingledine
guard, then don't mark it down at first. we had this implemented but it was disabled due to a bug. svn:r6541
2006-06-05Note a bug that causes servers to sometimes never send the pendingRoger Dingledine
create cell. Nick, is this a bug? If so, is my fix right? svn:r6538
2006-06-04Add a new warning to our "warn a lot" list: unused parameters. This means ↵Nick Mathewson
we have to explicitly "use" unuseds, but it can catch bugs. (It caught two coding mistakes so far.) svn:r6532
2006-05-30END_CIRC_REASON_OR_IDENTITY apparently means that we were told toRoger Dingledine
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
2006-05-30simplify a log messageRoger Dingledine
svn:r6512