- 08 Nov, 2012 1 commit
-
-
Nick Mathewson authored
Apparently some compilers like to eliminate memset() operations on data that's about to go out-of-scope. I've gone with the safest possible replacement, which might be a bit slow. I don't think this is critical path in any way that will affect performance, but if it is, we can work on that in 0.2.4. Fixes bug 7352.
-
- 24 Oct, 2012 6 commits
-
-
Nick Mathewson authored
If we completed the handshake for the v2 link protocol but wound up negotiating the wong protocol version, we'd become so confused about what part of the handshake we were in that we'd promptly die with an assertion. This is a fix for CVE-2012-2250; it's a bugfix on 0.2.3.6-alpha. All servers running that version or later should really upgrade. Bug and fix from "some guy from France." I tweaked his code slightly to make it log the IP of the offending node.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Conflicts: src/test/test_containers.c
-
Nick Mathewson authored
-
Nick Mathewson authored
The implementation we added has a tendency to crash with lists of 0 or one element. That can happen if we get a consensus vote, v2 consensus, consensus, or geoip file with 0 or 1 element. There's a DOS opportunity there that authorities could exploit against one another, and which an evil v2 authority could exploit against anything downloading v2 directory information.. This fix is minimalistic: It just adds a special-case for 0- and 1-element lists. For 0.2.4 (the current alpha series) we'll want a better patch. This is bug 7191; it's a fix on 0.2.0.10-alpha.
-
- 23 Oct, 2012 2 commits
-
-
Roger Dingledine authored
Clients now consider the ClientRejectInternalAddresses config option when using a microdescriptor consensus stanza to decide whether an exit relay would allow exiting to an internal address. Fixes bug 7190; bugfix on 0.2.3.1-alpha.
-
Nick Mathewson authored
Our implementation of parse_short_policy was screwed up: it would ignore the last character of every short policy. Obviously, that's broken. This patch fixes the busted behavior, and adds a bunch of unit tests to make sure the rest of that function is okay. Fixes bug 7192; fix on 0.2.3.1-alpha.
-
- 22 Oct, 2012 1 commit
-
-
Roger Dingledine authored
-
- 19 Oct, 2012 5 commits
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
(changes file tweaked by nickm)
-
Nick Mathewson authored
-
Nick Mathewson authored
OpenSSL 1.0.0 added an implementation of TLS session tickets, a "feature" that let session resumption occur without server-side state by giving clients an encrypted "ticket" that the client could present later to get the session going again with the same keys as before. OpenSSL was giving the keys to decrypt these tickets the lifetime of the SSL contexts, which would have been terrible for PFS if we had long-lived SSL contexts. Fortunately, we don't. Still, it's pretty bad. We should also drop these, since our use of the extension stands out with our non-use of session cacheing. Found by nextgens. Bugfix on all versions of Tor when built with openssl 1.0.0 or later. Fixes bug 7139.
-
- 17 Oct, 2012 1 commit
-
-
Nick Mathewson authored
Failure to do so left us open to a remotely triggerable assertion failure. Fixes CVE-2012-2249; bugfix on 0.2.3.6-alpha. Reported by "some guy from France".
-
- 10 Oct, 2012 2 commits
-
-
Nick Mathewson authored
-
-
- 04 Oct, 2012 2 commits
-
-
Nick Mathewson authored
-
Roger Dingledine authored
In the past we had used reason "internal", which is more vague than it needs to be. Resolves bug 7037.
-
- 03 Oct, 2012 1 commit
-
-
Roger Dingledine authored
resolves bug 7022.
-
- 22 Sep, 2012 1 commit
-
-
Roger Dingledine authored
-
- 19 Sep, 2012 1 commit
-
-
Nick Mathewson authored
Also remove some trailing whitespace. Patch from maker; fixes bug 6024.
-
- 18 Sep, 2012 2 commits
-
-
Nick Mathewson authored
-
Mike Perry authored
Asserts were hit by Tor2Web mode.
-
- 14 Sep, 2012 2 commits
-
-
Nick Mathewson authored
We already had code on windows to fix our file sizes when we're reading a file in text mode and its size doesn't match the size from fstat. But that code was only enabled when _WIN32 was defined, and Cygwin defines __CYGWIN__ instead. Fixes bug 6844; bugfix on 0.1.2.7-alpha.
-
Robert Ransom authored
-
- 13 Sep, 2012 2 commits
-
-
Nick Mathewson authored
-
Robert Ransom authored
Fixes bug 6827; bugfix on c58675ca (when the v2 HS desc parser was implemented). Found by asn.
-
- 12 Sep, 2012 3 commits
-
-
Nick Mathewson authored
This reverts commit 4aff97cf. We don't actually want to be changing the torrc.sample on stable or near-stable stuff, since doing so makes pointless busywork for debian users.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 11 Sep, 2012 3 commits
-
-
Nick Mathewson authored
Conflicts: src/test/test_util.c
-
Nick Mathewson authored
-
Nick Mathewson authored
Fixes bug 6811.
-
- 10 Sep, 2012 1 commit
-
-
Nick Mathewson authored
If s_values is null in rep_hist_load_bwhist_state_section, we would call smartlist_len() on it, and die. Fixes bug 6801.
-
- 05 Sep, 2012 2 commits
-
-
Roger Dingledine authored
The current cutoff is 30KB, but in reality a useful cutoff is probably more like 50KB or 100KB.
-
Nick Mathewson authored
Fix for bug 6774; bugfix on 0.2.3.17-beta.
-
- 04 Sep, 2012 1 commit
-
-
Nick Mathewson authored
-
- 03 Sep, 2012 1 commit
-
-
Roger Dingledine authored
-