Nick Mathewson [Tue, 5 Feb 2008 21:39:36 +0000 (21:39 +0000)]
r17911@catbus: nickm | 2008-02-05 15:53:22 -0500
Fix a potential bug that would make authorities fail to vote under bizarre circumstances that probably never happened.
Nick Mathewson [Tue, 5 Feb 2008 21:39:32 +0000 (21:39 +0000)]
r17910@catbus: nickm | 2008-02-05 15:36:29 -0500
Check for correctness of AuthDir* options in options_validate; check for possible bugs where options_validate() is happy but parse_policies_from_options() is sad.
Nick Mathewson [Tue, 5 Feb 2008 21:39:29 +0000 (21:39 +0000)]
r17909@catbus: nickm | 2008-02-05 14:48:22 -0500
As planned, rename networkstatus_vote_t to networkstatus_t, now that v3 networkstatuses are working and standard and v2 networkstatuses are obsolete.
Nick Mathewson [Tue, 5 Feb 2008 19:40:26 +0000 (19:40 +0000)]
r17903@catbus: nickm | 2008-02-05 14:40:03 -0500
Remove some dead code; fix some XXX020s; turn some XXX020s into XXXX_IP6s (i.e., "needs to be fixed when we add ipv6 support").
Nick Mathewson [Tue, 5 Feb 2008 19:40:21 +0000 (19:40 +0000)]
r17900@catbus: nickm | 2008-02-05 14:14:54 -0500
I wonder what the emacs command is for "exchange words?" I know that there _is_ one, because I apparently hit it by accident.
Nick Mathewson [Tue, 5 Feb 2008 19:40:19 +0000 (19:40 +0000)]
r17899@catbus: nickm | 2008-02-05 14:14:06 -0500
Fix a couple of XXX020 items. Also, disable all "condition" sychronization code, since Tor does not use it yet
Nick Mathewson [Tue, 5 Feb 2008 19:36:06 +0000 (19:36 +0000)]
Apparently, our windows code for detecting ipv6 structures has worked for a while. Remove the special-case, remove the related XXXX020s, and add useful comments instead.
If we're a relay, avoid picking ourselves as an introduction point,
a rendezvous point, or as the final hop for internal circuits. Bug
reported by taranis and lodger. Bugfix on 0.1.2.x.
Nick Mathewson [Fri, 1 Feb 2008 05:27:12 +0000 (05:27 +0000)]
r17863@catbus: nickm | 2008-02-01 00:27:07 -0500
Bugfix from weasel: possible fix for 593: make connection_write_to_buf("") work when using zlib compression.
Nick Mathewson [Wed, 30 Jan 2008 22:52:46 +0000 (22:52 +0000)]
r17854@catbus: nickm | 2008-01-30 17:52:43 -0500
Periodically check whether we have an expired consensus networkstatus. If we do, and we think we have enough directory info, then call router_dir_info_changed(). Fixes bug 401. This bug was deferred from 0.1.2.x, but fixing it there is nontrivial.
Nick Mathewson [Wed, 30 Jan 2008 22:23:44 +0000 (22:23 +0000)]
r17852@catbus: nickm | 2008-01-30 17:23:36 -0500
Correctly insert connections into the identity->connection map when we connect to a bridge without having specified its key. Fixes bug 574.
Nick Mathewson [Wed, 30 Jan 2008 19:25:31 +0000 (19:25 +0000)]
r13971@tombo: nickm | 2008-01-30 14:25:25 -0500
Write a new autoconf macro to test whether a function is declared. It is suboptimal and possibly buggy in some way, but it seems to work for me. use it to test for a declaration of malloc_good_size, so we can workaround operating systems (like older OSX) that have the function in their libc but do not deign to declare it in their headers. Should resolve bug 587.
Nick Mathewson [Wed, 30 Jan 2008 18:32:30 +0000 (18:32 +0000)]
r17844@catbus: nickm | 2008-01-30 13:31:37 -0500
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.
Roger Dingledine [Fri, 25 Jan 2008 01:45:06 +0000 (01:45 +0000)]
We were computing the wrong Content-Length: header for directory
responses that need to be compressed on the fly, causing clients
asking for those items to always fail. Bugfix on 0.2.0.x; fixes
bug 593.
Roger Dingledine [Mon, 21 Jan 2008 22:33:01 +0000 (22:33 +0000)]
We accidentally enabled the under-development v2 TLS handshake
code, which is causing log entries like "TLS error while
renegotiating handshake". Disable it again. Resolves bug 590.
Peter Palfrader [Mon, 21 Jan 2008 15:00:34 +0000 (15:00 +0000)]
postinst: if we reboot between unpacking and configuring on some smart systems
this will mean that we just lost /var/run/tor - creating it in the maintainer
script if it doesn't exist.
Peter Palfrader [Mon, 21 Jan 2008 14:58:20 +0000 (14:58 +0000)]
postinst: We were only fixing the permissions of /var/{lib,run,log}/tor when we
were not upgrading. Unfortunately the check doesn't work all that well usually
in cases where the package was removed (not purged) and then later re-installed
again. Now we ensure proper ownership and modes for all the directories and
files below /var/{lib,run,log}/tor (the dirs themselves included) every time we
run postinst.
Peter Palfrader [Mon, 21 Jan 2008 14:44:56 +0000 (14:44 +0000)]
postinst: Remove the check that requires the debian-tor user to have a uid
between 100 and 999. There is no good reason to require this. If the local
admin moves the system users/uid-space to some other range then they probably
have a good reason for that.
Roger Dingledine [Sun, 20 Jan 2008 05:54:15 +0000 (05:54 +0000)]
New config options WarnPlaintextPorts and RejectPlaintextPorts so
Tor can warn and/or refuse connections to ports commonly used with
vulnerable-plaintext protocols.
We still need to figure out some good defaults for them.
Roger Dingledine [Fri, 18 Jan 2008 04:58:40 +0000 (04:58 +0000)]
If we've gone 12 hours since our last bandwidth check, and we
estimate we have less than 50KB bandwidth capacity but we could
handle more, do another bandwidth test.
Roger Dingledine [Fri, 18 Jan 2008 04:42:22 +0000 (04:42 +0000)]
Avoid going directly to the directory authorities even if you're a
relay, if you haven't found yourself reachable yet or if you've
decided not to advertise your dirport yet. Addresses bug 556.
Roger Dingledine [Thu, 17 Jan 2008 05:25:21 +0000 (05:25 +0000)]
Assert error introduced in r11957:
Fix an assert if we post a general-purpose descriptor via the
control port but that descriptor isn't mentioned in our current
network consensus. Bug reported by Jon McLachlan; bugfix on
0.2.0.9-alpha.
Nick Mathewson [Wed, 16 Jan 2008 05:27:19 +0000 (05:27 +0000)]
r17639@catbus: nickm | 2008-01-15 19:09:21 -0500
Fix some hard to trigger but nonetheless real memory leaks spotted by an anonymous contributor. Needs review. Partial backport candidate.