summaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
AgeCommit message (Collapse)Author
2007-10-14 r15760@catbus: nickm | 2007-10-14 04:16:19 -0400Nick Mathewson
Backport 11166: When loading state info from disk, never believe any date in the future. svn:r11925
2007-09-24 r15319@catbus: nickm | 2007-09-24 11:47:16 -0400Nick Mathewson
Backport r11293: bulletproof the code that generates extend_info. I am still not sure whether this bug ever occurs on 0.1.2.x, or whether it only appears when the bridge code is present, but in any case it costs us nothing. svn:r11607
2007-08-25backport the load balancing stuff. man, i hope i got allRoger Dingledine
of this right. other people should check too. svn:r11274
2007-08-22backport r11247Roger Dingledine
svn:r11248
2007-07-12 r13738@catbus: nickm | 2007-07-12 13:00:35 -0400Nick Mathewson
Backport r10730: Do not choose guard nodes that appear after any never-before-connected-to guard. svn:r10817
2007-07-12 r13737@catbus: nickm | 2007-07-12 12:57:30 -0400Nick Mathewson
Backport r10521: Fix a memory leak svn:r10816
2007-05-24don't segfault when we're trying to build a testing circ to ourselvesRoger Dingledine
svn:r10318
2007-05-24backport r10240 and r10242Roger Dingledine
svn:r10310
2007-02-28 r11970@catbus: nickm | 2007-02-27 19:17:27 -0500Nick Mathewson
Fix a bug found by Udo van den Heuvel: avoid an assertion failure when a controller sets and clears EntryNodes before the next call to choose_random_entry(). Also make a function static. svn:r9669
2007-02-24doc pedantRoger Dingledine
svn:r9634
2007-02-24 r11909@catbus: nickm | 2007-02-24 02:37:40 -0500Nick Mathewson
Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro. svn:r9633
2007-02-24fix crash introduced in r9622Roger Dingledine
svn:r9632
2007-02-24make it stop crashing when i exercise the new entrynodes behavior inRoger Dingledine
r9574. this hack is getting pretty darn hackish; perhaps it's time to not use SMARTLIST_FOREACH in this situation. svn:r9629
2007-02-23 r11885@catbus: nickm | 2007-02-23 13:34:24 -0500Nick Mathewson
Fix an XXXX012: make entry guards _really_ get retried when the network comes back online. svn:r9622
2007-02-16 r11832@catbus: nickm | 2007-02-16 15:31:59 -0500Nick Mathewson
Fix 35 remaining DOCDOC comments. Yowza. svn:r9596
2007-02-13 r11785@catbus: nickm | 2007-02-12 20:27:48 -0500Nick Mathewson
Node-picking fixes: Never warn when a down node is listed in a config option (bug 348); always warn when a node in a config option is unnamed. Also, when entrynodes is configured, then build the guard list as: (parts of EntryNodes that were guards before), (the rest of EntryNodes), (the rest of the old guards). This last point ensures that EntryNode users will get the EntryNodes they want with the minimum change to their guard list. svn:r9574
2007-02-12 r11775@catbus: nickm | 2007-02-12 16:39:09 -0500Nick Mathewson
Update copyright dates. svn:r9570
2007-02-12 r11773@catbus: nickm | 2007-02-12 15:18:48 -0500Nick Mathewson
Implement proposal 106: stop requiring clients to have certificates, and stop checking for nicknames in certificates. [See proposal 106 for rationale.] Also improve messages when checking TLS handshake, to re-resolve bug 382. svn:r9568
2007-02-08 r11726@catbus: nickm | 2007-02-08 16:04:53 -0500Nick Mathewson
Resolve some XXXX012 items: - Remove PathlenCoinWeight: if we want it again, we can add it back in. - Ditto with RelayBandwidth*. - Decide to leave in the "hey, you didn't set end_reason!" BUG log message, but stop telling people to bug me personally. - Postpone strengthening assert_connection_ok(): it's important, but it's also a good way to introduce weird bugs. - Move some expensive consistency checking from dns_free_all() into assert_cache_ok(). svn:r9533
2007-02-08 r11702@catbus: nickm | 2007-02-08 02:10:19 -0500Nick Mathewson
Wow. Remember when I wrote that script to tell me about macros that were never used? Good times. svn:r9525
2007-02-06cleanups based on looking through svn commitsRoger Dingledine
svn:r9491
2007-02-05 r11637@catbus: nickm | 2007-02-05 12:41:51 -0500Nick Mathewson
Fix an XXXX012, and make circuits_pending_or_conns a static variable. In addition to cleaning up the code, this may also resolve Bug 386 if Roger has the right intuition there. svn:r9482
2007-02-02 r11629@catbus: nickm | 2007-02-02 15:06:17 -0500Nick Mathewson
Removing the last DOCDOC comment hurt so much that I had to use Doxygen to identify undocumented macros and comments, and add 150 more DOCDOCs to point out where they were. Oops. Hey, kids! Fixing some of these could be your first Tor patch! svn:r9477
2007-01-30 r11607@catbus: nickm | 2007-01-30 17:19:27 -0500Nick Mathewson
Audit non-const char arguments; make a lot more of them const. svn:r9466
2007-01-30 r11606@catbus: nickm | 2007-01-30 16:52:23 -0500Nick Mathewson
Write the entry guards section of path-spec; note a possible bug in cirbuitbuild.c; add a const; defer work on torrc.complete to be part of a bigger config documentation reorg. svn:r9465
2007-01-27If the user asks to use invalid exit nodes, be willing to use theRoger Dingledine
unstable ones. svn:r9441
2007-01-27Bring us one step closer to being able to establish an encryptedRoger Dingledine
directory tunnel without knowing a descriptor first. Still not ready yet. As part of the change, now assume we can use a create_fast cell if we don't know anything about a router. svn:r9440
2007-01-24 r11493@catbus: nickm | 2007-01-24 18:41:52 -0500Nick Mathewson
Use set_uint16/32 instead of raw assignments in order to make gcc happier. svn:r9399
2007-01-24 r11285@catbus: nickm | 2007-01-23 19:43:50 -0500Nick Mathewson
More documentation. (Again, trying to see whether I have buildbot working). svn:r9394
2007-01-22minor cleanupsRoger Dingledine
svn:r9387
2007-01-15 r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500Nick Mathewson
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
2007-01-15 r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500Nick Mathewson
Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354
2006-12-24 r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500Nick Mathewson
Update the state file less often when AvoidDiskWrites is set. svn:r9174
2006-12-15 r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500Nick Mathewson
Implement SETEVENTS GUARD. Needs review and testing. svn:r9137
2006-12-14clarify our use of local time vs GMTRoger Dingledine
svn:r9109
2006-12-13finish enabling begin-dir cells. require one-hop circs forRoger Dingledine
socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099
2006-12-10some more cleanups and a bugfix on r9052Roger Dingledine
svn:r9062
2006-12-09correction and cleanups on r9047Roger Dingledine
svn:r9060
2006-12-08 r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500Nick Mathewson
Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052
2006-12-07 r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500Nick Mathewson
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
2006-11-20 r9577@Kushana: nickm | 2006-11-20 11:07:28 -0500Nick Mathewson
Oops; fix bug in last fix. Time to get some coffee. svn:r8970
2006-11-20 r9567@Kushana: nickm | 2006-11-20 11:05:59 -0500Nick Mathewson
Fix leak in choose_good_exit_server_general() svn:r8969
2006-10-23spec and implement some more status events. start to buildRoger Dingledine
some conventions. svn:r8805
2006-10-23implement a few status events, so we can make sure they work,Roger Dingledine
and so vidalia can start handling them if it wants. svn:r8802
2006-10-17 r9060@totoro: nickm | 2006-10-17 11:12:48 -0400Nick Mathewson
Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739
2006-10-11 r9004@totoro: nickm | 2006-10-11 18:05:24 -0400Nick Mathewson
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
2006-10-09When reporting verbose nicknames in entry_guards_getinfo(), avoidRoger Dingledine
printing a duplicate "$" in the keys we send. (Reported by mwenge) svn:r8681
2006-10-09 r8973@totoro: nickm | 2006-10-09 11:45:47 -0400Nick Mathewson
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
2006-10-09 r8972@totoro: nickm | 2006-10-09 10:36:22 -0400Nick Mathewson
Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671
2006-10-08remove some old debugging codeRoger Dingledine
svn:r8657