aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Collapse)AuthorAge
* spec and implement some more status events. start to buildRoger Dingledine2006-10-23
| | | | | | | some conventions. svn:r8805
* implement a few status events, so we can make sure they work,Roger Dingledine2006-10-23
| | | | | | | and so vidalia can start handling them if it wants. svn:r8802
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson2006-10-17
| | | | | | | Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
* r9004@totoro: nickm | 2006-10-11 18:05:24 -0400Nick Mathewson2006-10-11
| | | | | | | | Add client support for a 'BadExit' flag, so authorities can say "Server X is a poor choise for your nytimes.com connections, as it seems to direct them to HoorayForMao.com or (more likely) WouldYouLikeToBuyTheseFineEncyclopedias.com" svn:r8690
* When reporting verbose nicknames in entry_guards_getinfo(), avoidRoger Dingledine2006-10-09
| | | | | | | printing a duplicate "$" in the keys we send. (Reported by mwenge) svn:r8681
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400Nick Mathewson2006-10-09
| | | | | | | | | | | Touch up last patch (to add REASON to CIRC events): make some reasons more sensible, send reasons only to controllers that have enabled extended events, and clean up whitespace. svn:r8672
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson2006-10-09
| | | | | | | Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
* remove some old debugging codeRoger Dingledine2006-10-08
| | | | svn:r8657
* r8933@totoro: nickm | 2006-10-07 20:33:16 -0400Nick Mathewson2006-10-08
| | | | | | | whitespace fixes; add changelog for last commit. svn:r8644
* r8926@totoro: nickm | 2006-10-07 15:56:14 -0400Nick Mathewson2006-10-07
| | | | | | | refactor circuit_list_path and circuit_list_path_verbose into a common _impl function. svn:r8642
* finish poking and prodding. i'm all happy now.Roger Dingledine2006-10-07
| | | | svn:r8633
* more minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8630
* resolve the entryguard uptime/capacity question. and mark aRoger Dingledine2006-10-07
| | | | | | | new xxx that we'll want to address one day. svn:r8628
* minor cleanupsRoger Dingledine2006-10-07
| | | | svn:r8622
* bugfix and cleanups re: entry guards.Roger Dingledine2006-10-06
| | | | svn:r8620
* r8862@totoro: nickm | 2006-10-03 14:54:14 -0400Nick Mathewson2006-10-03
| | | | | | | Make verbose names get used (when appropriate and selected) in responses to getinfo requests. svn:r8593
* r8838@totoro: nickm | 2006-10-02 15:24:39 -0400Nick Mathewson2006-10-03
| | | | | | | 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
* the other half of the is_local_IP patchRoger Dingledine2006-10-03
| | | | svn:r8581
* r8851@totoro: nickm | 2006-10-02 18:13:27 -0400Nick Mathewson2006-10-02
| | | | | | | 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
* r8826@totoro: nickm | 2006-10-01 17:58:45 -0400Nick Mathewson2006-10-01
| | | | | | | 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
* r8822@totoro: nickm | 2006-10-01 16:24:22 -0400Nick Mathewson2006-10-01
| | | | | | | Fix bug 303: reject attempts to use Tor as a one-hop proxy. svn:r8566
* r8800@totoro: nickm | 2006-09-29 23:10:49 -0400Nick Mathewson2006-09-30
| | | | | | | Resolve bug 336: When displaying circuit paths with non-named routers, use their digests, not their nicknames. svn:r8548
* r8976@Kushana: nickm | 2006-09-28 17:18:57 -0400Nick Mathewson2006-09-28
| | | | | | | 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
* r8975@Kushana: nickm | 2006-09-28 17:13:53 -0400Nick Mathewson2006-09-28
| | | | | | | Document entry-guard related functions svn:r8521
* r8974@Kushana: nickm | 2006-09-28 17:05:59 -0400Nick Mathewson2006-09-28
| | | | | | | 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
* r8973@Kushana: nickm | 2006-09-28 16:53:19 -0400Nick Mathewson2006-09-28
| | | | | | | | | | 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
* make my bandwidth exercises actually happenRoger Dingledine2006-09-15
| | | | svn:r8400
* r7324@Kushana: nickm | 2006-08-10 23:23:15 -0700Nick Mathewson2006-08-11
| | | | | | | 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
* 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