Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-11-08 | Merge branch 'bug23816_029_squashed' into maint-0.3.2 | Nick Mathewson | |
2017-11-08 | Replace our random-exponential-delay algorithm. | Nick Mathewson | |
This patch has implementations of the "decorrelated" and "full" algorithms from https://www.awsarchitectureblog.com/2015/03/backoff.html | |||
2017-10-31 | test: Initialize the voting schedule in test_dir.c | David Goulet | |
Signed-off-by: David Goulet <dgoulet@torproject.org> | |||
2017-09-20 | Unit test to make sure that our platform string is parseable | Nick Mathewson | |
Closes 22109. | |||
2017-09-15 | Merge branch 'scan-build-032' | Nick Mathewson | |
2017-09-15 | Run our #else/#endif annotator on our source code. | Nick Mathewson | |
2017-09-12 | Fix warnings about passing uninitialized buffers into functions | Nick Mathewson | |
Most of these buffers were never actually inspected, but it's still bad style. | |||
2017-09-12 | Clear up dead-assignment warnings from scan-build | Nick Mathewson | |
2017-09-12 | Make clients wait to refresh bridges when they have a recent descriptor | teor | |
But when clients are just starting, make them try each bridge a few times before giving up on it. These changes make the bridge download schedules more explicit: before 17750, they relied on undocumented behaviour and specific schedule entries. (And between 17750 and this fix, they were broken.) Fixes 23347, not in any released version of tor. | |||
2017-08-24 | Ensure that `make check-spaces` is happy. | Alexander Færøy | |
The `test-operator-cleanup` patch, and related coccinelle patches, don't do any checks for line length. This patch fixes the line length issues caused by the previous commits. | |||
2017-08-24 | apply ahf's test_assert_null.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_int.cocci | Nick Mathewson | |
2017-08-24 | apply ahf's test_assert_zero.cocci | Nick Mathewson | |
2017-08-24 | Fix operator usage in src/test/*.c | Alexander Færøy | |
This patch fixes the operator usage in src/test/*.c to use the symbolic operators instead of the normal C comparison operators. This patch was generated using: ./scripts/coccinelle/test-operator-cleanup src/test/*.[ch] | |||
2017-07-14 | Merge branch 'bug17750_029_squashed' | Nick Mathewson | |
2017-07-14 | Fix a signed integer overflow in dir/download_status_random_backoff | Nick Mathewson | |
Fix for 22924. Bugfix on 0.2.9.1-alpha when the test was introducd -- though it couldn't actually overflow until we fixed 17750. Additionally, this only seems to overflow on 32-bit, and only when the compiler doesn't re-order the (possibly dead) assignment out of the way. We ran into it on a 32-bit ubuntu trusty builder. | |||
2017-07-07 | Merge branch 'bug17750_029_squashed' | Nick Mathewson | |
2017-07-07 | Refactor exponential backoff multipliers into macros | teor | |
There are only so many times you can type "4". | |||
2017-07-07 | Add regression tests for 17750 and 20534 | teor | |
2017-07-07 | Make clients try fallbacks before authorities | teor | |
Make clients wait for 6 seconds before trying to download their consensus from an authority. Fixes bug 17750, bugfix on 0.2.8.1-alpha. | |||
2017-07-07 | Fix the expected bug warning in dir/param_voting_lookup tests | Nick Mathewson | |
2017-04-27 | Merge branch 'dirreq' | Nick Mathewson | |
2017-04-24 | Add regression test for #22304 | Taylor Yu | |
2017-04-21 | Remove old directory_initiate_command_*() functions. | Nick Mathewson | |
2017-04-21 | Have directory_get_from_all_authorities use requests. | Nick Mathewson | |
2017-03-17 | Merge branch 'ahf_bugs_21641_squashed' | Nick Mathewson | |
2017-03-17 | Make MIN_ONION_KEY_LIFETIME a consensus parameter defined value. | Alexander Færøy | |
This patch turns `MIN_ONION_KEY_LIFETIME` into a new function `get_onion_key_lifetime()` which gets its value from a network consensus parameter named "onion-key-rotation-days". This allows us to tune the value at a later point in time with no code modifications. We also bump the default onion key lifetime from 7 to 28 days as per proposal #274. See: https://bugs.torproject.org/21641 | |||
2017-03-15 | Run the copyright update script. | Nick Mathewson | |
2017-02-28 | Merge remote-tracking branch 'teor/test21470-029' | Nick Mathewson | |
2017-02-19 | Reject versions that have non-numeric prefixes | teor | |
Unit tests #21507. Part of #21470. | |||
2017-02-19 | Add unit tests that ensure out of range versions are rejected | teor | |
Unit tests for #21278. Part of #21470. | |||
2017-02-19 | Add unit tests for version parsing integer size inconsistencies | teor | |
Unit tests for #21450. Part of #21470. | |||
2017-02-19 | Add unit tests for current tor version git tags | teor | |
Related to #21470 | |||
2017-02-19 | Add unit tests for the current range of tor version status tags | teor | |
Related to #21470. | |||
2016-12-16 | Merge branch 'ticket20831_v2' | Nick Mathewson | |
2016-12-16 | Remove UseDirectoryGuards | Nick Mathewson | |
It is obsoleted in an always-on direction by prop271. | |||
2016-12-16 | Merge branch 'prop271_030_v1_squashed' | Nick Mathewson | |
2016-12-16 | Add a wrapper for a common networkstatus param pattern | Nick Mathewson | |
We frequently want to check a networkstatus parameter only when it isn't overridden from the torrc file. | |||
2016-12-07 | Capture warning in dir/purpose_needs_anonymity_returns_true_by_default | Nick Mathewson | |
2016-11-30 | Use the new guard notification/selection APIs throughout Tor | Nick Mathewson | |
This patch doesn't cover every case; omitted cases are marked with "XXXX prop271", as usual. It leaves both the old interface and the new interface for guard status notification, since they don't actually work in the same way: the new API wants to be told when a circuit has failed or succeeded, whereas the old API wants to know when a channel has failed or succeeded. I ran into some trouble with directory guard stuff, since when we pick the directory guard, we don't actually have a circuit to associate it with. I solved that by allowing guard states to be associated with directory connections, not just circuits. | |||
2016-11-07 | Merge branch 'maint-0.2.9' | Nick Mathewson | |
2016-11-07 | Fix another 20499-broken test | Nick Mathewson | |
2016-11-07 | Fix a unit test (broken by recent 20499 hacking) | Nick Mathewson | |
2016-11-04 | Fix make check-spaces | Nick Mathewson | |
2016-11-04 | Merge branch 'ticket17238_029_02-resquash' | Nick Mathewson | |
Conflicts: src/or/rendclient.c src/or/rendcommon.c src/or/routerparse.c src/test/test_dir.c src/trunnel/ed25519_cert.h | |||
2016-11-04 | prop224: Directory support for v3 descriptor publishing | David Goulet | |
Closes #19205 Signed-off-by: David Goulet <dgoulet@torproject.org> Signed-off-by: George Kadianakis <desnacked@riseup.net> | |||
2016-10-28 | Hopefully fix int64 comparisons in test_dir_networkstatus_compute_bw_weights_v10 | Matt Traudt | |
2016-10-27 | Resolve memory leaks in test_dir_networkstatus_compute_bw_weights_v10 | Nick Mathewson | |
2016-10-27 | Convert remaining files to smartlist_add_strdup | overcaffeinated | |
The coccinelle script produced errors with these test files so convert the remaining cases of smartlist_add to smartlist_add_strdup by hand. | |||
2016-10-27 | Automated change to use smartlist_add_strdup | overcaffeinated | |
Use the following coccinelle script to change uses of smartlist_add(sl, tor_strdup(str)) to smartlist_add_strdup(sl, string) (coccinelle script from nickm via bug 20048): @@ expression a; expression b; @@ - smartlist_add + smartlist_add_strdup (a, - tor_strdup( b - ) ) |