Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-16 | prop140: Use sha3-256, not sha2-256 | Nick Mathewson | |
This is a protocol update from recent prop140 changes. Also, per #21673, we need to check the entire document, including signatures. | |||
2017-03-16 | Add a couple more cases to reach 100% coverage. | Nick Mathewson | |
2017-03-16 | Cover two more failing cases with unit tests | Nick Mathewson | |
2017-03-16 | Fix an unreachable memory leak. | Nick Mathewson | |
Also add a missing newline. | |||
2017-03-16 | Remove digest[12]_hex | Nick Mathewson | |
2017-03-16 | Tweak&test log messages on apply_diff | Nick Mathewson | |
2017-03-16 | Fixes when applying diffs: Allow 2-line diffs, fix bogus free | Nick Mathewson | |
The 2-line diff changs is needed to make the unit tests actually test the cases that they thought they were testing. The bogus free was found while testing those cases | |||
2017-03-16 | Mark some warnings as bugs, and as (hopefully) unreachable. | Nick Mathewson | |
2017-03-16 | Check for expected warnings in apply_ed_diff | Nick Mathewson | |
2017-03-16 | Fix some logging on failed apply_ed_diff | Nick Mathewson | |
2017-03-16 | No need to end a log message with newline. | Nick Mathewson | |
2017-03-16 | test operator cleanup | Nick Mathewson | |
2017-03-16 | Enforce correct log messages on diff generation failure tests | Nick Mathewson | |
2017-03-16 | Test two more base64cmp cases. | Nick Mathewson | |
2017-03-16 | Use "STATIC" to export consdiff fns for testing | Nick Mathewson | |
Previously test_consdiff.c just did #include "consdiff.c", which is not great style, and messes up coverage testing. | |||
2017-03-16 | Consensus diff backend from Daniel Martí GSOC project. | Daniel Martí | |
(This commit was extracted by nickm based on the final outcome of the project, taking only the changes in the files touched by this commit from the consdiff_rebased branch. The directory-system changes are going to get worked on separately.) | |||
2017-03-07 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-07 | Merge branch 'bug21594_030_squashed' into maint-0.3.0 | Nick Mathewson | |
2017-03-07 | Remove delay in hidden service introduction point checks | teor | |
Make hidden services with 8 to 10 introduction points check for failed circuits immediately after startup. Previously, they would wait for 5 minutes before performing their first checks. Fixes bug 21594; bugfix on commit 190aac0eab9 in Tor 0.2.3.9-alpha. Reported by alecmuffett. | |||
2017-03-06 | Merge remote-tracking branch 'ahf/bugs/20988' | Nick Mathewson | |
2017-03-06 | Merge remote-tracking branch 'teor/bug19699' | Nick Mathewson | |
2017-03-06 | Fix a function name in a comment. Closes 21580 | Nick Mathewson | |
2017-03-04 | Merge branch 'feature21598_squashed' | Nick Mathewson | |
2017-03-04 | Log a message when a hidden service has fewer intro points than expected | teor | |
Closes ticket 21598. | |||
2017-03-04 | Merge branch 'bug21599_squashed' | Nick Mathewson | |
2017-03-04 | Simplify hidden service descriptor creation | teor | |
Use an existing flag to check if an introduction point is established. Cleanup after 21596. Fixes bug 21599; bugfix on 0.2.7.2-alpha. | |||
2017-03-04 | Merge remote-tracking branch 'teor/bug21596_030' | Nick Mathewson | |
2017-03-04 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-04 | Merge remote-tracking branch 'teor/bug21576_029_v2' into maint-0.3.0 | Nick Mathewson | |
2017-03-02 | Make hidden services always check for failed intro point connections | teor | |
Previously, they would stop checking when they exceeded their intro point creation limit. Fixes bug 21596; bugfix on commit d67bf8b2f23 in Tor 0.2.7.2-alpha. Reported by alecmuffett. | |||
2017-03-02 | Make hidden services always check for failed intro point connections | teor | |
Previously, they would stop checking when they exceeded their intro point creation limit. Fixes bug 21596; bugfix on commit d67bf8b2f23 in Tor 0.2.7.2-alpha. Reported by alecmuffett. | |||
2017-03-02 | Fix a crash when a connection tries to open just after it has been unlinked | teor | |
Fixes bug 21576; bugfix on Tor 0.2.9.3-alpha. Reported by alecmuffett. | |||
2017-03-01 | Bump to 0.3.0.4-rc-dev | Nick Mathewson | |
2017-03-01 | Reset `buf` after each succesful test to avoid artifacts. | Alexander Færøy | |
This patch resets `buf` in test_util_fgets_eagain() after each succesful ivocation to avoid stray artifacts left in the buffer by erroneous tor_fgets() calls. | |||
2017-03-01 | Use tor_fgets() instead of fgets(). | Alexander Færøy | |
This patch changes our use of fgets() to tor_fgets() for more consistent error handling across different versions of the C library. | |||
2017-03-01 | Add compatibility function for fgets(3). | Alexander Færøy | |
This patch adds the `tor_fgets()` function to our compatibility layer. `tor_fgets()` adds an additional check for whether the error-bit have been enabled for the given file stream, if that is the case and `errno` is set to `EAGAIN` we make sure that we always return NULL. Unfortunately `fgets(3)` behaves differently on different versions of the C library. See: https://bugs.torproject.org/21416 See: https://bugs.torproject.org/20988 | |||
2017-03-01 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-01 | Restore correct behavior of 0.3.0.4-rc with bridges+ipv6-min | Nick Mathewson | |
In that chutney test, the bridge client is configured to connect to the same bridge at 127.0.0.1:5003 _and_ at [::1]:5003, with no change in transports. That meant, I think, that the descriptor is only assigned to the first bridge when it arrives, and never the second. | |||
2017-03-01 | Merge remote-tracking branch 'asn/bug21586' | Nick Mathewson | |
2017-03-01 | Prevent SRV assert when called from misconfigured bridge auth. | George Kadianakis | |
2017-03-01 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-01 | Improve descriptor checks in the new guard algorithm. | George Kadianakis | |
- Make sure we check at least two guards for descriptor before making circuits. We typically use the first primary guard for circuits, but it can also happen that we use the second primary guard (e.g. if we pick our first primary guard as an exit), so we should make sure we have descriptors for both of them. - Remove BUG() from the guard_has_descriptor() check since we now know that this can happen in rare but legitimate situations as well, and we should just move to the next guard in that case. | |||
2017-03-01 | Bump to 0.2.9.10-dev | Nick Mathewson | |
2017-03-01 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-01 | Make test-network.sh always call chutney's test-network.sh | teor | |
Previously, this only worked on systems which had bash installed, due to some bash-specific code in the script. Fixes bug 19699; follow-up to 21581. | |||
2017-03-01 | Remove the space before the interpreter name in test-network.sh | teor | |
Apparently some unixes don't like this. Part of #21581. | |||
2017-03-01 | Remove the space before the interpreter name in test-network.sh | teor | |
Apparently some unixes don't like this. Part of #21581. | |||
2017-02-28 | Merge branch 'maint-0.3.0' | Nick Mathewson | |
2017-03-01 | Restore support for test-network.sh on BSD and other systems without bash | teor | |
(But use bash if it's available.) This is a workaround until we remove bash-specific code in 19699. Fixes bug 21581; bugfix on 21562, not in any released version of tor. | |||
2017-02-28 | Merge remote-tracking branch 'teor/bug21510' | Nick Mathewson | |