aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Expand)AuthorAge
* Interim commit: new config options Bridge and UseBridges.•••It is becoming increasingly clear to me that bridges should be a special case of entry guards, not a whole separate pile of nearly identical functions. svn:r10141 Roger Dingledine2007-05-08
* record the router purpose at each step of the circuit path.•••i have the feeling this will come in handy. svn:r10139 Roger Dingledine2007-05-08
* clean up some function argument names•••svn:r10138 Roger Dingledine2007-05-08
* r12651@Kushana: nickm | 2007-03-24 18:26:42 -0400••• Initial version of circuit-based cell queues. Instead of hammering or_conns with piles of cells, queue cells on their corresponding circuits, and append them to the or_conn as needed. This seems to work so far, but needs a bit more work. This will break the memory-use-limitation patch for begin_dir conns: the solution will be a fun but fiddly. svn:r9904 Nick Mathewson2007-03-26
* r12643@0-41-wifi: nickm | 2007-03-23 14:56:35 -0400••• Refactor a bunch of functions that take edge_connection_t not to also take a crypt_path_t; the cpath is implicit. svn:r9899 Nick Mathewson2007-03-24
* put the stopgap on whether we've sent a create cell, not•••whether we've attached a stream. svn:r9883 Roger Dingledine2007-03-20
* r12074@catbus: nickm | 2007-03-04 15:11:43 -0500••• Make all LD_BUG log messsages get prefixed with "Bug: ". Remove manually-generated "Bug: "s from log-messages. (Apparently, we remembered to add them about 40% of the time.) svn:r9733 Nick Mathewson2007-03-04
* r11970@catbus: nickm | 2007-02-27 19:17:27 -0500••• 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 Nick Mathewson2007-02-28
* doc pedant•••svn:r9634 Roger Dingledine2007-02-24
* r11909@catbus: nickm | 2007-02-24 02:37:40 -0500••• Move tricky "delete the member of the smartlist currently under iteration" logic into its own happyfun macro. svn:r9633 Nick Mathewson2007-02-24
* fix crash introduced in r9622•••svn:r9632 Roger Dingledine2007-02-24
* make it stop crashing when i exercise the new entrynodes behavior in•••r9574. this hack is getting pretty darn hackish; perhaps it's time to not use SMARTLIST_FOREACH in this situation. svn:r9629 Roger Dingledine2007-02-24
* r11885@catbus: nickm | 2007-02-23 13:34:24 -0500••• Fix an XXXX012: make entry guards _really_ get retried when the network comes back online. svn:r9622 Nick Mathewson2007-02-23
* r11832@catbus: nickm | 2007-02-16 15:31:59 -0500••• Fix 35 remaining DOCDOC comments. Yowza. svn:r9596 Nick Mathewson2007-02-16
* r11785@catbus: nickm | 2007-02-12 20:27:48 -0500••• 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 Nick Mathewson2007-02-13
* r11775@catbus: nickm | 2007-02-12 16:39:09 -0500••• Update copyright dates. svn:r9570 Nick Mathewson2007-02-12
* r11773@catbus: nickm | 2007-02-12 15:18:48 -0500••• 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 Nick Mathewson2007-02-12
* r11726@catbus: nickm | 2007-02-08 16:04:53 -0500••• 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 Nick Mathewson2007-02-08
* r11702@catbus: nickm | 2007-02-08 02:10:19 -0500••• Wow. Remember when I wrote that script to tell me about macros that were never used? Good times. svn:r9525 Nick Mathewson2007-02-08
* cleanups based on looking through svn commits•••svn:r9491 Roger Dingledine2007-02-06
* r11637@catbus: nickm | 2007-02-05 12:41:51 -0500••• 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 Nick Mathewson2007-02-05
* r11629@catbus: nickm | 2007-02-02 15:06:17 -0500••• 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 Nick Mathewson2007-02-02
* r11607@catbus: nickm | 2007-01-30 17:19:27 -0500••• Audit non-const char arguments; make a lot more of them const. svn:r9466 Nick Mathewson2007-01-30
* r11606@catbus: nickm | 2007-01-30 16:52:23 -0500••• 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 Nick Mathewson2007-01-30
* If the user asks to use invalid exit nodes, be willing to use the•••unstable ones. svn:r9441 Roger Dingledine2007-01-27
* Bring us one step closer to being able to establish an encrypted•••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 Roger Dingledine2007-01-27
* r11493@catbus: nickm | 2007-01-24 18:41:52 -0500••• Use set_uint16/32 instead of raw assignments in order to make gcc happier. svn:r9399 Nick Mathewson2007-01-24
* r11285@catbus: nickm | 2007-01-23 19:43:50 -0500••• More documentation. (Again, trying to see whether I have buildbot working). svn:r9394 Nick Mathewson2007-01-24
* minor cleanups•••svn:r9387 Roger Dingledine2007-01-22
* r11966@Kushana: nickm | 2007-01-15 16:12:17 -0500••• 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 Nick Mathewson2007-01-15
* r11957@Kushana: nickm | 2007-01-15 15:25:57 -0500••• Patch from Mike Perry: Track reasons for OR connection failure; display them in control events. Needs review and revision. svn:r9354 Nick Mathewson2007-01-15
* r11679@Kushana: nickm | 2006-12-23 21:38:41 -0500••• Update the state file less often when AvoidDiskWrites is set. svn:r9174 Nick Mathewson2006-12-24
* r11614@Kushana: nickm | 2006-12-15 17:39:42 -0500••• Implement SETEVENTS GUARD. Needs review and testing. svn:r9137 Nick Mathewson2006-12-15
* clarify our use of local time vs GMT•••svn:r9109 Roger Dingledine2006-12-14
* finish enabling begin-dir cells. require one-hop circs for•••socks-command-connect-dir streams, so we don't open new anonymity questions. svn:r9099 Roger Dingledine2006-12-13
* some more cleanups and a bugfix on r9052•••svn:r9062 Roger Dingledine2006-12-10
* correction and cleanups on r9047•••svn:r9060 Roger Dingledine2006-12-09
* r11479@Kushana: nickm | 2006-12-07 23:38:54 -0500••• Refactor GETINFO into a table-driven dispatch, as suggested by arma. My brain hurts. svn:r9052 Nick Mathewson2006-12-08
* r11468@Kushana: nickm | 2006-12-07 14:56:57 -0500••• 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 Nick Mathewson2006-12-07
* r9577@Kushana: nickm | 2006-11-20 11:07:28 -0500••• Oops; fix bug in last fix. Time to get some coffee. svn:r8970 Nick Mathewson2006-11-20
* r9567@Kushana: nickm | 2006-11-20 11:05:59 -0500••• Fix leak in choose_good_exit_server_general() svn:r8969 Nick Mathewson2006-11-20
* spec and implement some more status events. start to build•••some conventions. svn:r8805 Roger Dingledine2006-10-23
* implement a few status events, so we can make sure they work,•••and so vidalia can start handling them if it wants. svn:r8802 Roger Dingledine2006-10-23
* r9060@totoro: nickm | 2006-10-17 11:12:48 -0400••• Apply patch from Mike Perry: add more reasons for circuit destroys. (Slightly tweaked to avoid allocating a number for an "internal" reason.) svn:r8739 Nick Mathewson2006-10-17
* r9004@totoro: nickm | 2006-10-11 18:05:24 -0400••• 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 Nick Mathewson2006-10-11
* When reporting verbose nicknames in entry_guards_getinfo(), avoid•••printing a duplicate "$" in the keys we send. (Reported by mwenge) svn:r8681 Roger Dingledine2006-10-09
* r8973@totoro: nickm | 2006-10-09 11:45:47 -0400••• 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 Nick Mathewson2006-10-09
* r8972@totoro: nickm | 2006-10-09 10:36:22 -0400••• Patch from Mike Perry: add a REASON field to closed and failed circ events. svn:r8671 Nick Mathewson2006-10-09
* remove some old debugging code•••svn:r8657 Roger Dingledine2006-10-08
* r8933@totoro: nickm | 2006-10-07 20:33:16 -0400••• whitespace fixes; add changelog for last commit. svn:r8644 Nick Mathewson2006-10-08