aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Collapse)AuthorAge
* r11493@catbus: nickm | 2007-01-24 18:41:52 -0500Nick Mathewson2007-01-24
| | | | | | | Use set_uint16/32 instead of raw assignments in order to make gcc happier. svn:r9399
* r11285@catbus: nickm | 2007-01-23 19:43:50 -0500Nick Mathewson2007-01-24
| | | | | | | More documentation. (Again, trying to see whether I have buildbot working). svn:r9394
* minor cleanupsRoger Dingledine2007-01-22
| | | | svn:r9387
* r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500Nick Mathewson2007-01-15
| | | | | | | Tidy up ORCONN reason patch from Mike Perry. Changes: make some of the handling of TLS error codes less error prone. Enforce house style wrt spaces. Make it compile with --enable-gcc-warnings. Only set or_conn->tls_error in the case of an actual error. Add a changelog entry. svn:r9355
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500Nick Mathewson2007-01-15
| | | | | | | Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
* r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500Nick Mathewson2006-12-24
| | | | | | | Update the state file less often when AvoidDiskWrites is set. svn:r9174
* r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500Nick Mathewson2006-12-15
| | | | | | | Implement SETEVENTS GUARD. Needs review and testing. svn:r9137
* clarify our use of local time vs GMTRoger Dingledine2006-12-14
| | | | svn:r9109
* finish enabling begin-dir cells. require one-hop circs forRoger Dingledine2006-12-13
| | | | | | | | socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
* some more cleanups and a bugfix on r9052Roger Dingledine2006-12-10
| | | | svn:r9062
* correction and cleanups on r9047Roger Dingledine2006-12-09
| | | | svn:r9060
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson2006-12-08
| | | | | | | Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500Nick Mathewson2006-12-07
| | | | | | | Revise logic used to flush state to disk. Now, we try to batch non-urgent changes so that we do not do too many writes, and we save very-non-urgent changes every once in a rare while, and we never save more than once per second. svn:r9047
* r9577@Kushana: nickm | 2006-11-20 11:07:28 -0500Nick Mathewson2006-11-20
| | | | | | | Oops; fix bug in last fix. Time to get some coffee. svn:r8970
* r9567@Kushana: nickm | 2006-11-20 11:05:59 -0500Nick Mathewson2006-11-20
| | | | | | | Fix leak in choose_good_exit_server_general() svn:r8969
* 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