summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-10-01fix typosRoger Dingledine
no actual changes
2020-09-28Add missing documentation for get_net_param_from_listNick Mathewson
2020-09-23Fix memory leak in vote generationNick Mathewson
2020-09-23Move a DIGESTMAP_FOREACH_END (cosmetic)Nick Mathewson
2020-09-23Update changes fileNick Mathewson
2020-09-23IPv6 sybil: consider addresses in the same /64 to be equal.Nick Mathewson
2020-09-23Refactor address comparison in get_sybil_list_by_ip_versionNick Mathewson
2020-09-23get_all_possible_sybil: small indentation and comment cleanupsNick Mathewson
2020-09-23Remove needless sort operation.Nick Mathewson
2020-09-23Tidy up compare_routerinfo_by_ipv{4,6} to match better.Nick Mathewson
2020-09-23Style and correctness issues in test_dirvote.Nick Mathewson
Style: - We end our types with _t. - Use 'static' to declare functions that only exist in a single module. Correctness: - Many tt_...() macros can invoke "goto done;" -- we need to make sure that all the variables that could get freed are initialized before any "goto done" is hit, or else we might free an uninitialized variable.
2020-09-23Fix memory leaks.Nick Mathewson
2020-09-23Implement IPv6 sybil protection.vnepveu
[This is a squashed patch for ticket 7193, based on taking a "git diff" for the original branch, then applying it with "git apply -3". I earlier attempted to squash the branch with "git rebase", but there were too many conflicts. --nickm]
2020-09-22Merge branch 'ticket40136'Nick Mathewson
2020-09-22state-contents: correcct the description of unusable_circuitsNick Mathewson
2020-09-22Add a changes file for 40136 (state-contents.txt updates)Nick Mathewson
2020-09-22state-contents.txt: try to document circ-build-timeout fieldsNick Mathewson
This should also get feedback from @mikeperry. Closes #40136
2020-09-22Try to document pathbias fields in state file.Nick Mathewson
This will require feedback from @mikeperry, since these are a bit subtle and I've likely mangled some of these.
2020-09-22Improve doc/state-contents.txtNick Mathewson
Part of a fix for #40136. This patch adds all the state file entries to the documentation, and documents the ones that I understand well.
2020-09-22Merge branch 'maint-0.4.4'David Goulet
2020-09-22Merge branch 'maint-0.4.3' into maint-0.4.4David Goulet
2020-09-22Merge branch 'maint-0.3.5' into maint-0.4.3David Goulet
2020-09-22Merge branch 'tor-gitlab/mr/145'David Goulet
2020-09-22srv: Remove spammy debug logDavid Goulet
Fixes #40135 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-09-21Merge branch 'maint-0.4.4'Nick Mathewson
2020-09-21Merge branch 'maint-0.4.3' into maint-0.4.4Nick Mathewson
2020-09-21Merge branch 'maint-0.3.5' into maint-0.4.3Nick Mathewson
2020-09-21gitlab-ci: Use test-network-all for debian-integrationNick Mathewson
2020-09-21gitlab-ci: add an NSS check.Nick Mathewson
2020-09-21gitlab-ci: Add all-bugs-are-fatal on hardened and integration builds.Nick Mathewson
2020-09-21gitlab-ci: Add disable-module builds.Nick Mathewson
2020-09-21Add a few more options for the CI script.Nick Mathewson
These are: --disable-module-relay --disable-module-dirauth --enable-all-bugs-are-fatal --enable-nss
2020-09-18Merge branch 'maint-0.4.4'Nick Mathewson
2020-09-18Merge branch 'maint-0.4.3' into maint-0.4.4Nick Mathewson
2020-09-18Merge branch 'maint-0.3.5' into maint-0.4.3Nick Mathewson
2020-09-18Make debian-trace job conditional on src/lib/trace/trace_sys.cNick Mathewson
2020-09-18.gitlab.yml: missing commentsNick Mathewson
2020-09-18Copy tracing things back to maint-0.3.5, for consistency.Nick Mathewson
2020-09-18Merge remote-tracking branch 'tor-gitlab/mr/137'Alexander Færøy
2020-09-18Merge branch 'maint-0.4.3' into maint-0.4.4David Goulet
2020-09-18Merge branch 'maint-0.3.5' into maint-0.4.3David Goulet
2020-09-18Merge branch 'maint-0.4.4'David Goulet
2020-09-17Fix underflow in rend_cache/free_all test.Nick Mathewson
We already fixed these in #40099 and #40125. This patch fixes #40126. Bugfix on 0.2.8.1-alpha.
2020-09-17Merge branch 'maint-0.4.3' into maint-0.4.4Nick Mathewson
2020-09-17Merge branch 'maint-0.3.5' into maint-0.4.3Nick Mathewson
2020-09-17Merge branch 'maint-0.4.4'Nick Mathewson
2020-09-17test: Increment rend cache allocation before freeingDavid Goulet
The rend_cache/entry_free was missing the rend cache allocation increment before freeing the object. Without it, it had an underflow bug: Sep 17 08:40:13.845 [warn] rend_cache_decrement_allocation(): Bug: Underflow in rend_cache_decrement_allocation (on Tor 0.4.5.0-alpha-dev 7eef9ced61e72b1d) Fixes #40125 Signed-off-by: David Goulet <dgoulet@torproject.org>
2020-09-17Merge branch 'tor-gitlab/mr/129'David Goulet
2020-09-17Resolve some coverity complaints in test_util_glob().Nick Mathewson
Coverity's first complaint was that we didn't check the return values from chmod. That's easily fixed. Coverity's second complaint was that there were code paths where we pass NULL to chmod. For example, if this line failed, we'd "goto done", and then pass NULL to chmod. tt_ptr_op(dirname, OP_NE, NULL); Closes #40103. Bug not in any released Tor.
2020-09-17Use the correct SIGNED_KEY_TYPE value for signing->link certsNick Mathewson
Our code was using [01] as for the key type of signed->link certs, which was incorrect. The value should be [03], to indicate that the value as the SHA256 of an x.509 cert. Fortunately, nothing cares about this value, so there shouldn't be compatibility issues. Fixes bug 40124; bugfix on 0.2.7.2-alpha.