Nick Mathewson [Fri, 4 Aug 2006 18:27:10 +0000 (18:27 +0000)]
r7011@Kushana: nickm | 2006-08-03 13:26:34 -0700
eventdns: Document functions added to API; make suspended requests go to the front of the queue; check (or explicitly ignore) return values on libevent functions.
Nick Mathewson [Fri, 4 Aug 2006 18:26:13 +0000 (18:26 +0000)]
r7009@Kushana: nickm | 2006-08-03 10:44:58 -0700
Add functions to eventdns to allow detecting whether we have any nameservers configured, and to change the list of nameservers after initial configuration.
Nick Mathewson [Mon, 31 Jul 2006 18:01:18 +0000 (18:01 +0000)]
r6977@Kushana: nickm | 2006-07-31 13:01:28 -0400
Solve timing-out pending connections. Add pending resolves to expiry queue; when we find an answer, change the pending resolve to "done" and stick the actual answer in the expiry queue as a new entry. This uses a little more memory, but makes the code simpler than other solutions.
Roger Dingledine [Sun, 30 Jul 2006 04:45:59 +0000 (04:45 +0000)]
forward-port the website hack. note that with svn, our build
system seems to build in-place, so the website/ and img/ directories
actually get created in my sandbox. poo.
Nick Mathewson [Fri, 28 Jul 2006 15:11:20 +0000 (15:11 +0000)]
r6949@Kushana: nickm | 2006-07-28 10:17:38 -0400
Shave another 8 bytes from connection_t: turn inbuf_reached_eof into a bit, and lower timestamp_lastempty to or_connection_t
Nick Mathewson [Fri, 28 Jul 2006 15:11:11 +0000 (15:11 +0000)]
r6948@Kushana: nickm | 2006-07-28 10:10:35 -0400
Identify some likely target fields for lowering; lower global_identifier (since we only use it for AP streams and origin circs).
Nick Mathewson [Wed, 26 Jul 2006 19:07:26 +0000 (19:07 +0000)]
r6908@Kushana: nickm | 2006-07-26 12:38:52 -0400
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.
Nick Mathewson [Wed, 26 Jul 2006 19:05:41 +0000 (19:05 +0000)]
r6903@Kushana: nickm | 2006-07-25 18:22:48 -0400
No circuit can be both an intro point and a rend point, so we can merge both the cookie and the pk digest into one "rend_token" field for or circuits. This saves another 20 bytes per or circuit.
Peter Palfrader [Mon, 24 Jul 2006 03:38:26 +0000 (03:38 +0000)]
Tell users about the init script when they try to run Tor as root.
Should we also do this when they try to run their Tor as any other
(non root, non debian-tor) user? - add 11_tor_as_root_more_helpful
Peter Palfrader [Mon, 24 Jul 2006 03:24:25 +0000 (03:24 +0000)]
Previously our defaults for DataDirectory, PidFile, RunAsDaemon, and
Log differed from upstreams. Now Tor behaves just like before (with
our own DataDirectory and all) only when run as the debian-tor user.
If invoked as any other user, Tor will behave just like the pristine
upstream version.
Nick Mathewson [Sun, 23 Jul 2006 07:37:35 +0000 (07:37 +0000)]
Don't tell anybody, but we're going OO here. This patch splits
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.
Roger Dingledine [Fri, 21 Jul 2006 07:55:35 +0000 (07:55 +0000)]
bugfix: if you find yourself reachable, then don't ever make any client
requests (so you stop predicting circuits), then hup, then later your
IP changes, you won't think circuits are working so you won't try to
test reachability, so you won't publish.
Nick Mathewson [Thu, 20 Jul 2006 16:47:35 +0000 (16:47 +0000)]
Fork off v0 of the protocol spec; we are going to add versioning soon so we can make backward-incompatible changes without breaking the whole network. Also, fork the v0 directory protocol into its own document, and turn dir-spec.txt into the present tense.
Roger Dingledine [Tue, 18 Jul 2006 04:42:32 +0000 (04:42 +0000)]
Define a schedule for how long to wait between retrying
application connections. Rather than waiting a fixed amount of
time between each retry, we wait only 5 seconds for the first,
10 seconds for the second, and 15 seconds for each retry after
that. Hopefully this will improve the expected experience.