aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
Commit message (Expand)AuthorAge
* if we already have a bridge in our state file, it won't be•••in the networkstatuses, so we'll mark it unusable when we load it, and then when we get a new routerinfo for it, we'll still think it's unusable. fix that. svn:r10612 Roger Dingledine2007-06-15
* bugfix on r10609: don't fail asserts when closing circuits•••that were connected to an unkeyed connection. svn:r10611 Roger Dingledine2007-06-15
* now we can specify a bridge without specifying its key,•••and we will still connect to it and use it. getting closer! svn:r10609 Roger Dingledine2007-06-15
* Refine r10571: more work on bridge stuff.••• - Only listen to responses for "authority" fetches if we're configured to use Bridges. Otherwise it's safe (and maybe smarter) to silently discard them like we used to. - React faster to download networkstatuses after the first bridge descriptor arrives. - Don't do dir fetches before we have any bridges, even when our dirport is open. svn:r10604 Roger Dingledine2007-06-15
* More work towards making bridge users able to connect via bridges:••• - demand options->Bridges and options->TunnelDirConns if options->UseBridges is set. - after directory fetches, accept descriptors that aren't referenced by our networkstatuses, *if* they're for a configured bridge. - delay directory fetching until we have at least one bridge descriptor. - learn how to build a one-hop circuit when we have neither routerinfo nor routerstatus for our destination. - teach directory connections how to pick a bridge as the destination directory when doing non-anonymous fetches. - tolerate directory commands for which the dir_port is 0. - remember descriptors when the requested_resource was "authority", rather than just ignoring them. - put bridges on our entry_guards list once we have a descriptor for them. When UseBridges is set, only pick entry guards that are bridges. Else vice versa. svn:r10571 Roger Dingledine2007-06-12
* more building blocks towards being able to fetch bridge descriptors•••svn:r10548 Roger Dingledine2007-06-10
* discard the "bridge list" stubs that i hope i never need.•••svn:r10547 Roger Dingledine2007-06-10
* avoid leaking memory in a path never followed. pointed out•••by robert watson. svn:r10521 Roger Dingledine2007-06-07
* forward-port r10318•••svn:r10319 Roger Dingledine2007-05-24
* r12853@catbus: nickm | 2007-05-22 11:36:54 -0400••• Make connection_array into a smartlist. svn:r10292 Nick Mathewson2007-05-22
* clean up r10240 so we avoid the exit node itself too•••svn:r10242 Roger Dingledine2007-05-22
* When choosing an entry guard for our circuit, avoid using guards•••that are in the same family as the chosen exit -- not just guards that are exactly the chosen exit. (Reported by lodger.) svn:r10240 Roger Dingledine2007-05-22
* r12697@catbus: nickm | 2007-05-09 00:15:40 -0400••• Change authority_type_t to a set of flags; use it more consistently. svn:r10144 Nick Mathewson2007-05-09
* 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