summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-11-05Merge branch 'maint-0.4.6'David Goulet
2021-11-05Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-11-05protover: Fix merge forward from 035David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-11-05Light edit to protover warnings.Nick Mathewson
2021-11-05protover: Add a note on why LinkAuth is not recommended or requiredDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05protover: Move all hardcoded lists in one placeDavid Goulet
This also moves the warnings and add some theatrical effect around the code so anyone modifying those list should notice the warnings signs and read the comment accordingly. Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-05Add scary warnings about changing the protover list.Nick Mathewson
Doing this in the wrong way has potential to cause serious havoc on the network, so let's make it harder for future programmers to mess it up.
2021-11-05Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-11-05Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-11-05Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-11-05Merge remote-tracking branch 'ahf/ahf/ci-i386' into maint-0.3.5Alexander Færøy
2021-11-03Merge branch 'maint-0.4.6'David Goulet
2021-11-03shellcheck: Remove unused variable in ci-driver.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'maint-0.4.6'David Goulet
2021-11-03Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'tor-gitlab/mr/477' into maint-0.4.5David Goulet
2021-11-03relay: Don't allow DirPort on non-IPv4David Goulet
Our code doesn't allow it and so this prevents an assert() crash if the DirPort is for instance IPv6 only. Fixes #40494 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03shellcheck: Remove unused variable in ci-driver.shDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'maint-0.4.6'David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-11-03Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-11-03shellcheck: Make it happy on couple scriptsDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-11-03Add i386 version of debian-minimal for 32-bit Gitlab CI builds.Alexander Færøy
See: tpo/core/tor#40505
2021-11-02Merge remote-tracking branch 'tor-gitlab/mr/474' into mainAlexander Færøy
2021-11-02Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-11-02Add missing ponctuation.Alexander Færøy
2021-11-02man: Missing OverloadStatistics option in tor.1David Goulet
Closes #40504 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29Use TOR_PRIuSZ instead of %ld for CC logging.Alexander Færøy
This patch fixes the current build of main on Windows.
2021-10-29Merge branch 'maint-0.3.5' into maint-0.4.5Alexander Færøy
2021-10-29Merge branch 'maint-0.4.5' into maint-0.4.6Alexander Færøy
2021-10-29Merge branch 'maint-0.4.6' into mainAlexander Færøy
2021-10-29Fix Windows build.Alexander Færøy
While trying to resolve our CI issues, the Windows build broke with an unused function error: src/test/test_switch_id.c:37:1: error: ‘unprivileged_port_range_start’ defined but not used [-Werror=unused-function] We solve this by moving the `#if !defined(_WIN32)` test above the `unprivileged_port_range_start()` function defintion such that it is included in its body. This is an unreviewed commit. See: tor#40275
2021-10-29Merge branch 'maint-0.4.6'David Goulet
2021-10-29Merge branch 'maint-0.3.5' into maint-0.4.5David Goulet
2021-10-29Merge branch 'maint-0.4.5' into maint-0.4.6David Goulet
2021-10-29changes: Add file for ticket 26299David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29changes: Add file for ticket 26299David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-29changes: Add file for ticket 26299David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28don't retry entry guards if they're bridges without descriptorsRoger Dingledine
When we don't yet have a descriptor for one of our bridges, disable the entry guard retry schedule on that bridge. The entry guard retry schedule and the bridge descriptor retry schedule can conflict, e.g. where we mark a bridge as "maybe up" yet we don't try to fetch its descriptor yet, leading Tor to wait (refusing to do anything) until it becomes time to fetch the descriptor. Fixes bug 40497; bugfix on 0.3.0.3-alpha.
2021-10-28do notice-level log when we resume having enough dir infoRoger Dingledine
we do a notice-level log when we decide we *don't* have enough dir info, but in 0.3.5.1-alpha (see commit eee62e13d97, #14950) we lost our corresponding notice-level log when things come back. bugfix on 0.3.5.1-alpha; fixes bug 40496.
2021-10-28handle other de-sync cases from #40396Roger Dingledine
Specifically, every time a guard moves into or out of state GUARD_REACHABLE_MAYBE, it is an opportunity for the guard reachability state to get out of sync with the have-minimum-dir-info state. Fixes even more of #40396.
2021-10-28reassess minimum-dir-info when a bridge failsRoger Dingledine
When we try to fetch a bridge descriptor and we fail, we mark the guard as failed, but we never scheduled a re-compute for router_have_minimum_dir_info(). So if we had already decided we needed to wait for this new descriptor, we would just wait forever -- even if, counterintuitively, *losing* the bridge is just what we need to *resume* using the network, if we had it in state GUARD_REACHABLE_MAYBE and we were stalling to learn this outcome. See bug 40396 for more details.
2021-10-28only log "new bridge descriptor" if really newRoger Dingledine
The bridge descriptor fetching codes ends up fetching a lot of duplicate bridge descriptors, because this is how we learn when the descriptor changes. This commit only changes comments plus whether we log that one line. It moves us back to the old behavior, before the previous commit for 30496, where we would only log that line when the bridge descriptor we're talking about is better than the one we already had (if any).
2021-10-28makefile: Add a reproducible dist make jobDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28makefile: Add a reproducible dist make jobDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28makefile: Add a reproducible dist make jobDavid Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28release: Patches to make tarball reproducibleAlexander Færøy
Closes #26299 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28release: Patches to make tarball reproducibleAlexander Færøy
Closes #26299 Signed-off-by: David Goulet <dgoulet@torproject.org>
2021-10-28Merge branch 'maint-0.4.6'David Goulet