Nick Mathewson [Thu, 1 Nov 2007 05:01:24 +0000 (05:01 +0000)]
r16326@catbus: nickm | 2007-11-01 00:56:45 -0400
As an authority, send back an X-Descriptor-Not-New header when we accept but do not store a descriptor. Partial implementation of fix for bug 535.
Nick Mathewson [Thu, 1 Nov 2007 04:38:45 +0000 (04:38 +0000)]
r16323@catbus: nickm | 2007-11-01 00:32:12 -0400
Mark some finished items finished, some deferred items deferred, and move some "nice to haves" into "deferred-land."
Nick Mathewson [Wed, 31 Oct 2007 20:48:08 +0000 (20:48 +0000)]
r16301@catbus: nickm | 2007-10-31 16:43:49 -0400
A couple of small tweaks to karsten's latest patch, and note an issue with using a bitmap to represent a single int.
Nick Mathewson [Wed, 31 Oct 2007 20:48:06 +0000 (20:48 +0000)]
r16300@catbus: nickm | 2007-10-31 15:36:41 -0400
Next patch from Karsten: rename some macros, tunnel dir connections, generate (and upload) multiple descriptors as appropriate.
Nick Mathewson [Wed, 31 Oct 2007 04:56:59 +0000 (04:56 +0000)]
r16287@catbus: nickm | 2007-10-31 00:53:53 -0400
HMAC-SHA-1 implementation, with unit tests based on vectors from RVFC2202. Steven's stuff will need this.
Nick Mathewson [Tue, 30 Oct 2007 15:17:07 +0000 (15:17 +0000)]
r16279@catbus: nickm | 2007-10-30 11:14:29 -0400
Improved skew reporting: "You are 365 days in the duture" is more useful than "You are 525600 minutes in the future". Also, when we get something that proves we are at least an hour in the past, tell the controller "CLOCK_SKEW MIN_SKEW=-3600" rather than just "CLOCK_SKEW"
Nick Mathewson [Sun, 28 Oct 2007 23:44:53 +0000 (23:44 +0000)]
r16246@catbus: nickm | 2007-10-28 19:34:58 -0400
Implement a FallbackNetworkstatusFile (default to $prefix/share/tor/fallback-consensus) to that we know about lots of directory servers and routers when we start up the first time.
Nick Mathewson [Sun, 28 Oct 2007 20:30:21 +0000 (20:30 +0000)]
r16242@catbus: nickm | 2007-10-28 16:28:13 -0400
Implement if-modified-since for consensus networkstatuses so that we do not download duplicates needlessly.
Roger Dingledine [Sun, 28 Oct 2007 08:16:19 +0000 (08:16 +0000)]
Separate "SOCKS_COMMAND_CONNECT_DIR" into two flags in
edge_connection_t: want_onehop if it must attach to a circuit with
only one hop (e.g. for the current tunnelled connections that use
begin_dir), and use_begindir if we mean to use a BEGIN_DIR relay
command to establish the stream rather than the normal BEGIN. Now
we can make anonymized begin_dir connections for (e.g.) more secure
hidden service posting and fetching.
Nick Mathewson [Fri, 26 Oct 2007 22:50:40 +0000 (22:50 +0000)]
r16194@catbus: nickm | 2007-10-26 18:37:02 -0400
Keep circuitless TLS connections open for 1.5 x MaxCircuitDirtiness: this ensures that we don't thrash closing and repoening connections to our guards.
Nick Mathewson [Thu, 25 Oct 2007 03:41:30 +0000 (03:41 +0000)]
r16136@catbus: nickm | 2007-10-24 23:40:15 -0400
Proposal 103 is closed too: it has been implemented and merged into dir-spec. Proposal 111 is "finished": it has been implemented, but still needs to be merged into the spec.
Nick Mathewson [Wed, 24 Oct 2007 19:53:11 +0000 (19:53 +0000)]
r16112@catbus: nickm | 2007-10-24 15:52:03 -0400
Fix logic for downloading consensuses: make getting an duplicate or not-currently-valid consensus count as a failure. Make running out of time to get certificates count as a failure. Delay while fetching certificates.
Nick Mathewson [Wed, 24 Oct 2007 19:53:08 +0000 (19:53 +0000)]
r16111@catbus: nickm | 2007-10-24 15:03:57 -0400
Allow multiple download schedules to exist. At the moment, we use one for consensus, and the other one for everything else.
Nick Mathewson [Wed, 24 Oct 2007 18:42:16 +0000 (18:42 +0000)]
r16108@catbus: nickm | 2007-10-24 14:41:12 -0400
Refactor the arguments for router_pick_{directory_|trusteddir}server[_impl] so that they all take the same flags, and so that their flags have names. Fix their documentation too.
Nick Mathewson [Wed, 24 Oct 2007 15:45:45 +0000 (15:45 +0000)]
r16101@catbus: nickm | 2007-10-24 11:44:40 -0400
Detect mmap failures from empty descriptor files, and only warn if the file was not supposed to be empty. Fixes bug 533
Roger Dingledine [Wed, 24 Oct 2007 03:34:03 +0000 (03:34 +0000)]
Authorities no longer send back "400 you're unreachable please fix
it" errors to Tor servers that aren't online all the time. We're
supposed to tolerate these servers now.