prepare directory_post_to_dirservers() to hear what sort of
dir authority we'd like to upload to. at some point we should
pick a config option to say that in, for bridges.
on the theory that my client_used hack is here to stay at least for the
next little while, make it only take effect _when there's an attached
origin circuit_, rather than from the first attached origin circuit
until death of the conn.
Nick Mathewson [Thu, 3 May 2007 21:38:47 +0000 (21:38 +0000)]
Fork current dir-spec.txt into dir-spec-v2.txt in order to record the state of the world as of 0.1.2.13. Start revising dir-spec.txt to incorporate proposals 101, 103, and 104.
New config option V2AuthoritativeDirectory that all directory
authorities should set. This will let future authorities choose
not to serve V2 directory information.
Also, go through and revamp all the authdir_mode stuff so it tries
to do the right thing if you're an auth but not a V1 or V2 auth.
Nick Mathewson [Tue, 1 May 2007 20:41:27 +0000 (20:41 +0000)]
r12625@catbus: nickm | 2007-05-01 16:41:23 -0400
Remove the _UploadExtraInfo option, since I tried turning it on and moria[12] seem not to have exploded.
Nick Mathewson [Tue, 1 May 2007 20:29:32 +0000 (20:29 +0000)]
r12622@catbus: nickm | 2007-05-01 16:29:19 -0400
Look at the version in the routerinfo as well as the versino in the networkstatus when deciding whether to upload extrainfo
Nick Mathewson [Tue, 1 May 2007 02:53:32 +0000 (02:53 +0000)]
r12611@catbus: nickm | 2007-04-30 22:49:00 -0400
For reasons which make sense to somebody, I'm sure, mingw gcc wants the libraries to appear at the end of the command line. This is done by specifying them with LDADD in Makefile.am, not LDFLAGS.
If anybody can explain to me why mingw thinks "gcc -o foo foo.o -lbar" is fine, whereas "gcc -lbar -o foo foo.o" is Doubleplusbad UnMingwThink, I'd quite appreciate it. Until then, I'll just do what seems to work, and hope we don't blunder across any other great slumbering cthonian deities of arbitrary syntax.
Nick Mathewson [Mon, 30 Apr 2007 20:50:09 +0000 (20:50 +0000)]
r12591@catbus: nickm | 2007-04-30 16:50:03 -0400
Minimize the libraries that we link things against: there is no reason to link tor-resolve against zlib, openssl, or libevent, for example.
Nick Mathewson [Mon, 30 Apr 2007 19:48:45 +0000 (19:48 +0000)]
r12587@catbus: nickm | 2007-04-30 15:47:39 -0400
Backport candidate: correctly set the purpose of routers that are inserted by the controller with purpose=controller.
Nick Mathewson [Mon, 30 Apr 2007 19:48:39 +0000 (19:48 +0000)]
r12586@catbus: nickm | 2007-04-30 15:43:05 -0400
More work for proposal 104: actually cache extrainfo documents to disk, and reload the cache properly.
Nick Mathewson [Mon, 30 Apr 2007 19:48:33 +0000 (19:48 +0000)]
r12585@catbus: nickm | 2007-04-30 14:38:37 -0400
(Needs review.) Allow directory authorities to accept multiple router descriptors and extra info documents in a single POST. This will make implementing the client side of proposal 104 a lot simpler.
Nick Mathewson [Mon, 30 Apr 2007 17:46:19 +0000 (17:46 +0000)]
r12581@catbus: nickm | 2007-04-30 13:39:21 -0400
Minor cleanups on hidden service usage patch from Karsten: tidy documentation; make free_all idempotent (and safe to call even if we have not yet initialized rephist); and stop using "l" as a variable name (it is too easy to confuse with "1").
Nick Mathewson [Mon, 30 Apr 2007 17:46:13 +0000 (17:46 +0000)]
r12580@catbus: nickm | 2007-04-30 13:29:05 -0400
Initial version of patch from Karsten Loesing: Add an HSAuthorityRecordStats option to track statistics of overall hidden service usage without logging information that would be useful to an attacker.
Nick Mathewson [Mon, 30 Apr 2007 14:26:38 +0000 (14:26 +0000)]
r12567@catbus: nickm | 2007-04-30 10:26:35 -0400
Suggested by weasel: Add a fast function to check for the common failure mode for bug 417/404, and call it a lot.
Nick Mathewson [Mon, 30 Apr 2007 13:17:57 +0000 (13:17 +0000)]
r12559@catbus: nickm | 2007-04-30 09:17:54 -0400
Fix bug 421: Only set the revision number from SVK if we have a runnable svk _and_ a ~/.svk directory.
Nick Mathewson [Mon, 30 Apr 2007 05:32:57 +0000 (05:32 +0000)]
r12553@catbus: nickm | 2007-04-30 01:32:54 -0400
Backport candidate: Add asserts to dirserv_remove_invalid, and fix a bug in dirserv_remove_invalid that could mess with pointers in a freed routerinfo right after it was freed.
Roger Dingledine [Fri, 27 Apr 2007 10:26:09 +0000 (10:26 +0000)]
Make PreferTunneledDirConns and TunnelDirConns work even when
we have no cached directory info. This means Tor clients can now
do all of their connections protected by TLS.
Nick Mathewson [Mon, 23 Apr 2007 23:24:53 +0000 (23:24 +0000)]
r12784@Kushana: nickm | 2007-04-23 19:24:09 -0400
Avoid another assert failure in the new buffer memory code. (This time, it hit when freeing a 4k buffer with some data on it.)
Nick Mathewson [Sat, 21 Apr 2007 17:48:50 +0000 (17:48 +0000)]
r12489@catbus: nickm | 2007-04-21 13:48:39 -0400
The ten thousandth Tor commit: add two new proposals (one from Mike Perry about randomized path length, and one from me about simplifyin authority operation) and expand and/or refine serveral older ones. Most notable there are changes to 103 that will allow us to make authorities more resistant to key compromise.
Nick Mathewson [Sat, 21 Apr 2007 17:48:45 +0000 (17:48 +0000)]
r12488@catbus: nickm | 2007-04-21 13:47:09 -0400
Mark more proposals for inclusion in 0.2.0. Arma, please take this out or question them if you disagree.
Nick Mathewson [Sat, 21 Apr 2007 17:26:12 +0000 (17:26 +0000)]
r12763@Kushana: nickm | 2007-04-20 18:42:58 -0400
Initial version of code to stop using socket pairs for linked connections. Superficially, it seems to work, but it probably needs a lot more testing and attention.
Nick Mathewson [Sat, 21 Apr 2007 17:24:18 +0000 (17:24 +0000)]
r12759@Kushana: nickm | 2007-04-20 08:47:20 -0400
Track the number of connection_t separately from the number of open sockets. It is already possible to have connections that do not count: resolving conns, for one. Once we move from socketpairs to linked conns, and once we do dns proxying, there will be lots of such connections.
Nick Mathewson [Thu, 19 Apr 2007 19:52:30 +0000 (19:52 +0000)]
r12458@catbus: nickm | 2007-04-19 15:52:23 -0400
Fix a bug in displaying memory pool usage. Also dump cell allocation, and track padded_cell_ts as they are allocated and freed, to make sure we are not leaking cells.
Nick Mathewson [Thu, 19 Apr 2007 15:23:38 +0000 (15:23 +0000)]
r12434@catbus: nickm | 2007-04-19 11:23:35 -0400
When advancing a string pointer, make sure we do not later free the altered pointer. Fixes bug 416, introduced in r9971.
Nick Mathewson [Wed, 18 Apr 2007 19:28:47 +0000 (19:28 +0000)]
r12429@catbus: nickm | 2007-04-18 15:28:41 -0400
Make svn revision number visible in version even if building from a .tar.gz. This was remarkably painless.
Nick Mathewson [Tue, 17 Apr 2007 21:16:40 +0000 (21:16 +0000)]
r12425@catbus: nickm | 2007-04-17 17:16:38 -0400
Detect the svn version correctly when building from an svk checkout too. Whee, fun with bash and make.