summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-10Merge bug5595-v2-squashed into maint-0.2.4Andrea Shepard
2013-05-09Add some unit tests for fp_pair_map_t to test/containers.c based on the ↵Andrea Shepard
strmap tests
2013-05-09Rephrase comment in trusted_dirs_load_certs_from_string() to reflect 5595 fixAndrea Shepard
2013-05-09Make warning in authority_cert_dl_failed() LD_BUG per NickM code reviewAndrea Shepard
2013-05-09Use tor_asprintf() and clean up string handling in ↵Andrea Shepard
authority_certs_fetch_missing()
2013-05-09Clean up ugly constants in connection_dir_download_cert_failed(), and fix a ↵Andrea Shepard
broken one
2013-05-09Avoid duplicate downloads by (fp,sk) and by fp for authority certs when ↵Andrea Shepard
bootstrapping
2013-05-09When downloading certificates, distinguish requesting by identity digest ↵Andrea Shepard
from requesting by ID digest, signing key pair; fixes bug 5595
2013-05-09Implement fp_pair_map_tAndrea Shepard
2013-05-09Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson
2013-05-09Merge branch 'bug8844_v2' into maint-0.2.3Nick Mathewson
2013-05-09Don't run off the end of the array-of-freelistsNick Mathewson
This is a fix for bug 8844, where eugenis correctly notes that there's a sentinel value at the end of the list-of-freelists that's never actually checked. It's a bug since the first version of the chunked buffer code back in 0.2.0.16-alpha. This would probably be a crash bug if it ever happens, but nobody's ever reported something like this, so I'm unsure whether it can occur. It would require write_to_buf, write_to_buf_zlib, read_to_buf, or read_to_buf_tls to get an input size of more than 32K. Still, it's a good idea to fix this kind of thing!
2013-05-08Fix bug 8845: check the right length of memory in aes unit testsNick Mathewson
This couldn't actually be a buffer overrun unless AES somehow turned into memcpy, but still it's good to fix it.
2013-05-05Use a clearer idiom for node identity in router_counts_toward_thresholdsNick Mathewson
2013-05-05Fix 8833: crash bug from using NULL node->ri in dirserv.cNick Mathewson
It appears that moria1 crashed because of one instance of this (the one in router_counts_toward_thresholds). The other instance I fixed won't actually have broken anything, but I think it's more clear this way. Fixes bug 8833; bugfix on 0.2.4.12-alpha.
2013-04-24Merge remote-tracking branch 'public/bug6026' into maint-0.2.4Nick Mathewson
2013-04-24Merge branch 'bug8235-fix-rebased' into maint-0.2.4Nick Mathewson
2013-04-24Increase the pathbias state file miscounting version check.Mike Perry
We now know the bug is present in 0.2.4.12-alpha too. It should be fixed in 0.2.4.13-alpha, though.
2013-04-24Changes file for 8235.Mike Perry
2013-04-24Bug 8235: Fix scaling adjustments.Mike Perry
We need to subtract both the current built circuits *and* the attempted circuits from the attempt count during scaling, since *both* have already been counted there.
2013-04-18Add a boolean to flag-thresholds for "we have enough measured bandwidth"Nick Mathewson
Implements #8711.
2013-04-18Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4Nick Mathewson
2013-04-18Merge remote-tracking branch 'public/bug8719' into maint-0.2.4Nick Mathewson
2013-04-18Remove a double-newlineNick Mathewson
2013-04-18Merge branch 'less_charbuf_rebased' into maint-0.2.4Nick Mathewson
Conflicts: src/or/dirserv.c src/or/dirserv.h src/test/test_dir.c
2013-04-18Add unit test for encoding ntor key in routerinfoNick Mathewson
2013-04-18Remove the unused pk3 variable from test_dir_formatsNick Mathewson
2013-04-18Re-enable test for parsing and generating descriptor with exit policyNick Mathewson
Looks like I turned this off in 6ac42f5e back in 2003 and never got around to making it work again. There has been no small amount of code drift.
2013-04-18Test networkstatus_getinfo_helper_singleNick Mathewson
2013-04-18Add a quick-and-dirty-test for generate_v2_networkstatus.Nick Mathewson
It sure is a good thing we can run each test in its own process, or else the amount of setup I needed to do to make this thing work would have broken all the other tests. Test mocking would have made this easier to write too.
2013-04-18Remove the now-unused router_get_networkstatus_v3_hashNick Mathewson
2013-04-18Test improvement: include microdesc lines in our synthetic microdesc ↵Nick Mathewson
consensuses.
2013-04-18Fix a couple of documentation issues.Nick Mathewson
2013-04-18Remove some now-needless length definesNick Mathewson
2013-04-18Remove RS_ENTRY_LENNick Mathewson
Nothing uses it any longer now that we use smartlists of strings for stuff that manipulates iles of formatted routerstatuses.
2013-04-18Initial changelog for less_charbufNick Mathewson
2013-04-18Refactor dirobj signature generationNick Mathewson
Now we can compute the hash and signature of a dirobj before concatenating the smartlist, and we don't need to play silly games with sigbuf and realloc any more.
2013-04-18Use chunks, not buffers, for router descriptorsNick Mathewson
2013-04-18Refactor v2 networkstatus generation to avoid buffer-styleNick Mathewson
2013-04-18Refactor routerstatus_format_entry to avoid character-buffersNick Mathewson
2013-04-18Fix some wide linesNick Mathewson
2013-04-17Don't leak a waiting-for-certs consensus when accepting it.Nick Mathewson
I believe this was introduced in 6bc071f765d2829249db52, which makes this a fix on 0.2.0.10-alpha. But my code archeology has not extended to actually testing that theory.
2013-04-17Fix memory leak when sending configuration-changed eventNick Mathewson
Fix for bug #8718; bugfix on 0.2.3.3-alpha.
2013-04-17Merge remote-tracking branch 'public/bug7143_v2' into maint-0.2.4Nick Mathewson
2013-04-17Merge branch 'bug8037_squashed' into maint-0.2.4Nick Mathewson
2013-04-17Reject most directory documents with an internal NUL.Nick Mathewson
(Specifically, we reject all the ones that aren't NUL-terminated, since a NUL-terminated thing can't have a NUL in the middle.) Another fix for #8037.
2013-04-14Merge branch 'bug8683_rebased' into maint-0.2.4Nick Mathewson
2013-04-14Remove a now-empty if body; invert the sense of its conditionNick Mathewson
2013-04-14Remvoe total_bandwidth and total_exit_bandwidth as unused.Nick Mathewson
2013-04-14Rename all fields which measure bw in kb to end with _kbNick Mathewson