- 12 Oct, 2009 4 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Nick Mathewson authored
-
Nick Mathewson authored
-
- 11 Oct, 2009 4 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
The test suite need the test.h file to build. Add it to noinst_HEADERS in the Makefile.am so it gets included in the tarball that make dist produces.
-
- 10 Oct, 2009 8 commits
-
-
tinytest_main() returns 0 on success, -1 on errors and 1 on test failures. So test.c should check on !=0 instead of <0.
-
Roger Dingledine authored
-
Nick Mathewson authored
This is a possible fix for bug 1023, where if we vote (or make a v2 consensus networkstatus) right after we come online, we can call rep_hist_note_router_unreachable() on every router we haven't connected to yet, and thereby make all their uptime values reset.
-
Roger Dingledine authored
"neonomad" pointed out on or-talk that the order is opposite from the intuitive order. explain why. we chose to fix the spec rather than the code because there are controllers like torflow that already expect the current behavior.
-
Roger Dingledine authored
i think this doesn't actually affect anything, since linked conns usually don't impact buckets
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Sebastian Hahn authored
This was introduced in f7e6e852. Found by Coverity
-
- 07 Oct, 2009 4 commits
-
-
Roger Dingledine authored
-
Mike Perry authored
There were however other places where we used to call this function that might have caused this to fire. Better safe than sorry now.
-
Mike Perry authored
This seems to be happening to me a lot on a garbage DSL line. We may need to come up with 2 threshholds: a high short onehop count and a lower longer count.
-
Mike Perry authored
Pretimeouts may have build time data, just no timeout data.
-
- 01 Oct, 2009 4 commits
-
-
Roger Dingledine authored
-
Roger Dingledine authored
-
Roger Dingledine authored
Don't count one-hop circuits when we're estimating how long it takes circuits to build on average. Otherwise we'll set our circuit build timeout lower than we should. Bugfix on 0.2.2.2-alpha.
-
Roger Dingledine authored
-
- 30 Sep, 2009 3 commits
-
-
Roger Dingledine authored
we made anybody who has 20KB/s Fast by definition, in 0.2.1.14-rc, but it looks like we forgot to fix the spec.
-
Roger Dingledine authored
-
Roger Dingledine authored
Directory authorities now reject Tor relays with versions less than 0.1.2.14. This step cuts out four relays from the current network, none of which are very big.
-
- 29 Sep, 2009 9 commits
-
-
1108 was actually just a fencepost error in an assert, but making the state file handling code resilient is a good idea.
-
Nick Mathewson authored
-
Nick Mathewson authored
Previously, tor-gencert would call RSA_generate_key() directly. This won't work on Android, which removes the (deprecated since OpenSSL 0.9.8) function. We can't call RSA_generate_key_ex() unconditionally either, since that didn't exist before 0.9.8. Instead, we must call our own crypto_pk_generate_key_with_bits, which knows how to call RSA_generate_key or RSA_generate_key_ex as appropriate. [Based on patch by Nathan Freitas]
-
Nick Mathewson authored
-
Apparently the Android developers dumped OpenSSL's support for hardware acceleration in order to save some memory, so you can't build programs using engines on Android. [Patch revised by nickm]
-
This shouldn't be necessary, but apparently the Android cross-compiler doesn't respect -I as well as it should. (-I is supposed to add to the *front* of the search path. Android's gcc wrapper apparently likes to add to the end. This is broken, but we need to work around it.)
-
Nick Mathewson authored
-
Roger Dingledine authored
-
Roger Dingledine authored
-
- 28 Sep, 2009 2 commits
-
-
Nick Mathewson authored
-
Karsten Loesing authored
-
- 27 Sep, 2009 2 commits
-
-
Nick Mathewson authored
The earlier fix would only handle the success case. In the failing case, test_mem_op does a goto done, which would leave the leak leaking.
-
Found by coverity test_mem_op_hex was leaking memory, which showed up in a few tests. Also, the dir_param test had a memleak of its own. Found by Coverity
-