Nick Mathewson [Thu, 3 Jul 2008 15:04:51 +0000 (15:04 +0000)]
r16691@tombo: nickm | 2008-07-03 11:04:03 -0400
Backport to 0.1.2: Fix for bug 742: do not use O_CREAT on 2-option version of open(). Especially do not use it on /dev/null. Fix from Michael Scherer. Bugfix on 0.0.2pre19 (wow).
Nick Mathewson [Wed, 18 Jun 2008 03:26:13 +0000 (03:26 +0000)]
Add instrumentation to the 0.1.2.x branch (disabled by default) to dump the weights of various directory servers when we update our local networkstatus opinions. To turn this on, define DUMP_DIR_WEIGHTS in routerlist.c. This has to be in 0.1.2.x, since the code to pick 0.1.2.x directories is pretty different in more recent releases.
Peter Palfrader [Wed, 14 May 2008 20:29:47 +0000 (20:29 +0000)]
* backport from 0.2.0.26-rc-1: Conflict with old libssls.
* backport from 0.2.0.26-rc-1: On upgrading from versions prior to,
including, 0.1.2.19-2 if we are a server (we have a /var/lib/tor/keys
directory)
- move /var/lib/tor/keys/secret_onion_key out of the way.
- move /var/lib/tor/keys/secret_onion_key.old out of the way.
- move /var/lib/tor/keys/secret_id_key out of the way if it was
created on or after 2006-09-17, which is the day the bad
libssl was uploaded to Debian unstable.
* backport from 0.2.0.26-rc-1: Add a NEWS file explaining this change.
Roger Dingledine [Thu, 21 Feb 2008 06:45:04 +0000 (06:45 +0000)]
fix bug in r13469:
Feb 21 01:07:02.132 [warn] connection_about_to_close_connection(): Harmless bug: Edge connection (marked at dirserv.c:2062) hasn't sent end yet?
Nick Mathewson [Tue, 19 Feb 2008 22:08:01 +0000 (22:08 +0000)]
r18214@catbus: nickm | 2008-02-19 17:07:55 -0500
Backport to 0.1.2.x: Add some checks in torgzip.c to make sure we never overflow size_t there. Also make sure we do not realloc(list,0) in container.c.
Nick Mathewson [Mon, 11 Feb 2008 18:55:05 +0000 (18:55 +0000)]
r18031@catbus: nickm | 2008-02-11 13:54:58 -0500
Have assert_connection_ok() allow marked-for-close dir conns with stuff to flush but no way to flush it. Adjust conn_dirserv_unlink_from_bridge() to mark edge and dir conns not already marked, since once linked conns are unlinked they are no longer viable. Likely fix for bug 406, which was crashing 0.1.2.x servers periodically.
Peter Palfrader [Sat, 2 Feb 2008 14:16:14 +0000 (14:16 +0000)]
Backport from 0.2.0.18-alpha + 1: We now use the shipped images on mipsel and
sparc (in addition to s390) because fig2dev segfaults on those archs (re
#457568).
Nick Mathewson [Wed, 30 Jan 2008 18:32:39 +0000 (18:32 +0000)]
r17845@catbus: nickm | 2008-01-30 13:32:22 -0500
Backport: Fix bug 597: stop telling people to email Tor-ops. Also give a better suggestion when some other identity has been assigned the nickname we are using.
Nick Mathewson [Mon, 7 Jan 2008 20:03:27 +0000 (20:03 +0000)]
r17507@catbus: nickm | 2008-01-07 15:03:24 -0500
Backport r12341: If setting our rlimit to rlim_max or cap fails, fall back to OPEN_FILES if defiled. This makes Tor run on OSX 10.5, while allowing OSX to mend its ways in the future.
Nick Mathewson [Mon, 7 Jan 2008 17:49:22 +0000 (17:49 +0000)]
r17496@catbus: nickm | 2008-01-07 12:49:06 -0500
Backport: Consequence of fix for 539: when a client gets a 503 response with a nontrivial body, pretend it got a 200 response. This lets clients use information erroneously sent to them by old buggy servers.
If we were having problems getting a particular descriptor from the
directory caches, and then we learned about a new descriptor for
that router, we weren't resetting our failure count. Reported
by lodger.
Nick Mathewson [Thu, 20 Dec 2007 06:15:19 +0000 (06:15 +0000)]
r17275@catbus: nickm | 2007-12-20 01:15:04 -0500
Backport: Don't try to create the datadir when we are only verifying the configuration or hashing a password. Resolves bug 540.
Nick Mathewson [Thu, 20 Dec 2007 05:09:53 +0000 (05:09 +0000)]
r17271@catbus: nickm | 2007-12-20 00:05:49 -0500
Backport: When we decide to send a 503 in response to a request for server descriptors, disable spooling so that we do not then send the descriptors anyway. Fixes bug 539.
Nick Mathewson [Tue, 11 Dec 2007 23:21:44 +0000 (23:21 +0000)]
r17099@catbus: nickm | 2007-12-11 18:16:59 -0500
Backport part of 12767: make configure script work even on my current catbus install, even with weird headers.
Nick Mathewson [Tue, 11 Dec 2007 23:17:06 +0000 (23:17 +0000)]
r17095@catbus: nickm | 2007-12-11 18:11:13 -0500
Backport r12766: Patch from mwenge: fix consensus status lookup by nickname when nickname is a hexdigest.
Nick Mathewson [Thu, 18 Oct 2007 11:59:39 +0000 (11:59 +0000)]
r15902@catbus: nickm | 2007-10-18 07:53:26 -0400
Backport: "if (!router_get_trusted_dirservers())" is a bad test: router_get_trusted_dirservers() always returns a list. Instead, check for whether the list is empty.
Nick Mathewson [Sun, 14 Oct 2007 08:48:56 +0000 (08:48 +0000)]
r15763@catbus: nickm | 2007-10-14 04:40:00 -0400
Backport r11886 and r11887: Fix for the reported case of bug 438: check families as well as identities in circuit_find_to_cannibalize(). Code audit STILL pending. ;)
Nick Mathewson [Sun, 14 Oct 2007 08:48:54 +0000 (08:48 +0000)]
r15762@catbus: nickm | 2007-10-14 04:33:10 -0400
Minimal backport for r11882: Fix bug 451 by bailing out of connection_finish_flushing when there is no socket or write_event.
Nick Mathewson [Sun, 14 Oct 2007 08:48:51 +0000 (08:48 +0000)]
r15761@catbus: nickm | 2007-10-14 04:24:18 -0400
backport r11828: when accept gives us something we didn't want (which means "not AF_INET" in 0.1.2.x) then warn and bail from connection_handle_listener_read().
Roger Dingledine [Sun, 14 Oct 2007 07:19:39 +0000 (07:19 +0000)]
assign some backport items to nick and phobos and roger, mostly
based on who wrote the original patch. also recommend against
backporting a few of them.