- 01 Sep, 2009 2 commits
-
-
Sebastian Hahn authored
-
Nick Mathewson authored
-
- 31 Aug, 2009 3 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
We were telling the controller about CHECKING_REACHABILITY and REACHABILITY_FAILED status events whenever we launch a testing circuit or notice that one has failed. Instead, only tell the controller when we want to inform the user of overall success or overall failure. Bugfix on 0.1.2.6-alpha. Fixes bug 1075. Reported by SwissTorExit.
-
Nick Mathewson authored
When we added support for fractional units (like 1.5 MB) I broke support for giving units with no space (like 2MB). This patch should fix that. It also adds a propoer tor_parse_double(). Fix for bug 1076. Bugfix on 0.2.2.1-alpha.
-
- 28 Aug, 2009 7 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
We were triggering a CLOCK_SKEW controller status event whenever we connect via the v2 connection protocol to any relay that has a wrong clock. Instead, we should only inform the controller when it's a trusted authority that claims our clock is wrong. Bugfix on 0.2.0.20-rc; starts to fix bug 1074. Reported by SwissTorExit.
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
- 27 Aug, 2009 4 commits
-
-
Sebastian Hahn authored
0d68da23 removed support for Version 0, but didn't fix the manpage.
-
Roger Dingledine authored
-
-
-
- 26 Aug, 2009 9 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
Nick Mathewson authored
Resolved conflict in: src/or/or.h
-
- 25 Aug, 2009 4 commits
-
-
Nick Mathewson authored
-
phobos authored
-
Nick Mathewson authored
-
Roger Dingledine authored
-
- 21 Aug, 2009 5 commits
-
-
Karsten Loesing authored
- Refactor geoip.c by moving duplicate code into rotate_request_period(). - Don't leak memory when cleaning up cell queues. - Make sure that exit_(streams|bytes_(read|written)) are initialized in all places accessing these arrays. - Read only the last block from *stats files and ensure that its timestamp is not more than 25 hours in the past and not more than 1 hour in the future. - Stop truncating the last character when reading *stats files. The only thing that's left now is to avoid reading whole *stats files into memory.
-
Nick Mathewson authored
This patch avoids a bunch of allocations, and avoids using unallocated memory.
-
Nick Mathewson authored
Spotted by Coverity Scan.
-
Nick Mathewson authored
Note that unlike subversion revision numbers, it isn't meaningful to compare these for anything but equality. We define a sort-order anyway, in case one of these accidentally slips into a recommended-versions list.
-
Roger Dingledine authored
-
- 20 Aug, 2009 6 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
If any the v3 certs we download are unparseable, we should actually notice the failure so we don't retry indefinitely. Bugfix on 0.2.0.x; reported by "rotator".
-
Nick Mathewson authored
Fixes bug in f57883a3.
-
Nick Mathewson authored
Once we had called log_free_all(), anything that tried to log a message (like a failed tor_assert()) would fail like this: 1. The logging call eventually invokes the _log() function. 2. _log() calls tor_mutex_lock(log_mutex). 3. tor_mutex_lock(m) calls tor_assert(m). 4. Since we freed the log_mutex, tor_assert() fails, and tries to log its failure. 5. GOTO 1. Now we allocate the mutex statically, and never destroy it on shutdown. Bugfix on 0.2.0.16-alpha, which introduced the log mutex. This bug was found by Matt Edman.
-
Nick Mathewson authored
Add a new function to derive the declared method list from consensus_method_is_supported().
-
Nick Mathewson authored
(This would be everywhere running OpenSSL 0.9.7x and earlier, including all current Macintosh users.) The code is based on Tom St Denis's LibTomCrypt implementation, modified to be way less general and use Tor's existing facilities. I picked this one because it was pretty fast and pretty free, and because Python uses it too.
-