- Aug 09, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Thanks to the changes we started making with SocksPort and friends in 0.2.3.3-alpha, any of our code that did "if (options->Sockport)" became wrong, since "SocksPort 0" would make that test true whereas using the default SocksPort value would make it false. (We didn't actually do "if (options->SockPort)" but we did have tests for TransPort. When we moved DirPort, ORPort, and ControlPort over to the same system in 0.2.3.9-alpha, the problem got worse, since our code is littered with checks for DirPort and ORPort as booleans. This code renames the current linelist-based FooPort options to FooPort_lines, and adds new FooPort_set options which get set at parse-and-validate time on the or_options_t. FooPort_set is true iff we will actually try to open a listener of the given type. (I renamed the FooPort options rather than leave them alone so that every previous user of a FooPort would need to get inspected, and so that any new code that forgetfully uses FooPort will need fail to compile.) Fix for bug 6507.
-
Nick Mathewson authored
-
- Aug 03, 2012
-
-
Nick Mathewson authored
Conflicts: src/or/routerlist.c
-
Nick Mathewson authored
I don't personally agree that this is likely to be easy to exploit, and some initial experimention I've done suggests that cache-miss times are just plain too fast to get useful info out of when they're mixed up with the rest of Tor's timing noise. Nevertheless, I'm leaving Robert's initial changelog entry in the git history so that he can be the voice of reason if I'm wrong. :)
-
Tor's and OpenSSL's current design guarantee that there are other leaks, but this one is likely to be more easily exploitable, and is easy to fix.
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Fix for 6530; fix on 0.2.2.6-alpha.
-
- Jul 31, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Fixes 6480; fix on 0.2.0.1-alpha; based on pseudonymous patch.
-
Nick Mathewson authored
-
-
-
Workaround for building EL5 RPMs by specifying rpmbuild-md5. Updated old note about using static libevent when building RPMs.
-
Cleanup of RPM build process - no more .git in tarball, use automake's dist-gzip to create the tarball. Signed-off-by:
Ondrej Mikle <ondrej.mikle@gmail.com>
-
-
Nick Mathewson authored
-
Nick Mathewson authored
Fix for 6490.
-
Nick Mathewson authored
This is based on a pair of patches from A. Costa. I couldn't apply those directly, since they changed the generated *roff files, not the asciidoc source. Fixes Tor bug 6500 and Debian bug 683359.
-
Roger Dingledine authored
-
- Jul 23, 2012
-
-
Nick Mathewson authored
-
- Jul 20, 2012
-
-
Nick Mathewson authored
-
-
- Jul 18, 2012
-
-
George Kadianakis authored
-
Nick Mathewson authored
-
I only check on circuits, not streams, since bloating your stream window past the initial circuit window can't help you much. Also, I compare to CIRCWINDOW_START_MAX so we don't have surprising races if we lower CIRCWINDOW_START for an experiment.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jul 17, 2012
-
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
The SMARTLIST_FOREACH macro is more convenient than BEGIN/END when you have a nice short loop body, but using it for long bodies makes your preprocessor tell the compiler that all the code is on the same line. That causes grief, since compiler warnings and debugger lines will all refer to that one line. So, here's a new style rule: SMARTLIST_FOREACH blocks need to be short.
-
Allow TestingTorNetwork when AlternateDirAuthority and AlternateBridgeAuthority is set even if DirServer is not.
-
- Jul 16, 2012
-
-
Nick Mathewson authored
Fixes bug 6397 and coverity issue 709599. Bugfix on 0.2.3.17-beta.
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- Jul 06, 2012
-
-
Roger Dingledine authored
-
Roger Dingledine authored
The June 2012 db marks too many relays as country "A1". Addresses bug 6334.
-
Roger Dingledine authored
-