aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | Implement fp_pair_map_tAndrea Shepard2013-05-09
| |/ /
* | | Merge remote-tracking branch 'origin/maint-0.2.3' into maint-0.2.4Nick Mathewson2013-05-09
|\| |
| * | Don't run off the end of the array-of-freelistsNick Mathewson2013-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | Fix bug 8845: check the right length of memory in aes unit testsNick Mathewson2013-05-08
| | | | | | | | | | | | | | | This couldn't actually be a buffer overrun unless AES somehow turned into memcpy, but still it's good to fix it.
* | | Use a clearer idiom for node identity in router_counts_toward_thresholdsNick Mathewson2013-05-05
| | |
* | | Fix 8833: crash bug from using NULL node->ri in dirserv.cNick Mathewson2013-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge remote-tracking branch 'public/bug6026' into maint-0.2.4Nick Mathewson2013-04-24
|\ \ \
| * | | Treat a changed IPv6 ORPort like an IPv4 one in retry_all_listeners()Nick Mathewson2013-03-11
| | | | | | | | | | | | | | | | Fix for bug 6026
* | | | Increase the pathbias state file miscounting version check.Mike Perry2013-04-24
| | | | | | | | | | | | | | | | | | | | 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.
* | | | Bug 8235: Fix scaling adjustments.Mike Perry2013-04-24
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Add a boolean to flag-thresholds for "we have enough measured bandwidth"Nick Mathewson2013-04-18
| | | | | | | | | | | | | | | | Implements #8711.
* | | | Merge remote-tracking branch 'public/bug8716_023' into maint-0.2.4Nick Mathewson2013-04-18
|\ \ \ \
| * | | | Fix memory leak when sending configuration-changed eventNick Mathewson2013-04-17
| | | | | | | | | | | | | | | | | | | | Fix for bug #8718; bugfix on 0.2.3.3-alpha.
* | | | | Merge remote-tracking branch 'public/bug8719' into maint-0.2.4Nick Mathewson2013-04-18
|\ \ \ \ \
| * | | | | Don't leak a waiting-for-certs consensus when accepting it.Nick Mathewson2013-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | | | Remove a double-newlineNick Mathewson2013-04-18
| | | | | |
* | | | | | Merge branch 'less_charbuf_rebased' into maint-0.2.4Nick Mathewson2013-04-18
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/or/dirserv.c src/or/dirserv.h src/test/test_dir.c
| * | | | | | Add unit test for encoding ntor key in routerinfoNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Remove the unused pk3 variable from test_dir_formatsNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Re-enable test for parsing and generating descriptor with exit policyNick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Test networkstatus_getinfo_helper_singleNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Add a quick-and-dirty-test for generate_v2_networkstatus.Nick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Remove the now-unused router_get_networkstatus_v3_hashNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Test improvement: include microdesc lines in our synthetic microdesc ↵Nick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | consensuses.
| * | | | | | Fix a couple of documentation issues.Nick Mathewson2013-04-18
| | | | | | |
| * | | | | | Remove some now-needless length definesNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Remove RS_ENTRY_LENNick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nothing uses it any longer now that we use smartlists of strings for stuff that manipulates iles of formatted routerstatuses.
| * | | | | | Refactor dirobj signature generationNick Mathewson2013-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | | | | | Use chunks, not buffers, for router descriptorsNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Refactor v2 networkstatus generation to avoid buffer-styleNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Refactor routerstatus_format_entry to avoid character-buffersNick Mathewson2013-04-18
| | | | | | |
| * | | | | | Refactor format_networkstatus_vote to avoid preallocating a buffer.Nick Mathewson2013-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This saves a lot of "are we about to overrun the buffer?" checking, and unmoots a bunch of "did we allocate enough" discussion.
* | | | | | | Fix some wide linesNick Mathewson2013-04-18
| | | | | | |
* | | | | | | Merge remote-tracking branch 'public/bug7143_v2' into maint-0.2.4Nick Mathewson2013-04-17
|\ \ \ \ \ \ \
| * | | | | | | Add src/or/micro-revision.i to CLEANFILES in case anybody has oneNick Mathewson2013-02-19
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | Fix for 7143.
* | | | | | | Merge branch 'bug8037_squashed' into maint-0.2.4Nick Mathewson2013-04-17
|\ \ \ \ \ \ \
| * | | | | | | Reject most directory documents with an internal NUL.Nick Mathewson2013-04-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
| * | | | | | | Correctly copy microdescs/extrinfos with internal NUL bytesNick Mathewson2013-01-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes bug 8037; bugfix on 0.2.0.1-alpha; reported by cypherpunks.
* | | | | | | | Merge branch 'bug8683_rebased' into maint-0.2.4Nick Mathewson2013-04-14
|\ \ \ \ \ \ \ \
| * | | | | | | | Remove a now-empty if body; invert the sense of its conditionNick Mathewson2013-04-14
| | | | | | | | |
| * | | | | | | | Remvoe total_bandwidth and total_exit_bandwidth as unused.Nick Mathewson2013-04-14
| | | | | | | | |
| * | | | | | | | Rename all fields which measure bw in kb to end with _kbNick Mathewson2013-04-14
| | | | | | | | |
| * | | | | | | | Fix some KB/B confusion in flag threshold minima.Nick Mathewson2013-04-14
| | | | | | | | |
| * | | | | | | | Use credible_bandwidth uniformly in setting/using fast_bandwidthNick Mathewson2013-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were using credible_bandwidth to build the fast_bandwidth threshold, but comparing it to bandwidth_for_router.
| * | | | | | | | Use correct units for dirserv_get_{credible_bandwidth,bandwidth_for_router}Nick Mathewson2013-04-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were mixing bandwidth file entries (which are in kilobytes) with router_get_advertised_bw() entries, which were in bytes. Also, use router_get_advertised_bandwidth_capped() for credible_bandwidth.
* | | | | | | | | Merge remote-tracking branch 'public/bug5650_squashed' into maint-0.2.4Nick Mathewson2013-04-12
|\ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / | |/| | | | | | |
| * | | | | | | | Avoid busy-looping on WANTREAD within connection_handle_writeNick Mathewson2013-04-12
| | |_|_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for bug 5650. Also, if we get a WANTREAD while reading while writing, make sure we're reading.
* | | | | | | | socks5 will ask for username/password if we offer itRoger Dingledine2013-04-11
| |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Commit a264c4fe made the socks5 server prefer auth 2 if it's offered, but it didn't update the unit test to expect it.
* | | | | | | Merge remote-tracking branch 'public/bug8185_diagnostic' into maint-0.2.4Nick Mathewson2013-04-11
|\ \ \ \ \ \ \
| * | | | | | | Debugging log for bug 8185Nick Mathewson2013-03-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the bug recurs, log the filename and line number that triggered it