diff options
author | David Goulet <dgoulet@torproject.org> | 2021-02-17 11:00:14 -0500 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2021-02-22 08:52:06 -0500 |
commit | 38649b4f9522d5fc2b186d2a02cefb9abaefc519 (patch) | |
tree | fe48cc31653b7178c3566e28786c2c9ea565f075 /src/feature/stats | |
parent | c0589d06be698ea864e2c58e40ffda0f228440d4 (diff) | |
download | tor-38649b4f9522d5fc2b186d2a02cefb9abaefc519.tar.gz tor-38649b4f9522d5fc2b186d2a02cefb9abaefc519.zip |
relay: Remove dirport reachability self test
Regular relays are about to get their DirPort removed so that reachability
test is not useful anymore
Authorities will still use the DirPort but because network reentry towards
their DirPort is now denied network wide, this test is not useful anymore and
so it should simply be considered reachable at all time.
Part of #40282
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/feature/stats')
-rw-r--r-- | src/feature/stats/predict_ports.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/feature/stats/predict_ports.c b/src/feature/stats/predict_ports.c index 57463952e7..b9c8a0662e 100644 --- a/src/feature/stats/predict_ports.c +++ b/src/feature/stats/predict_ports.c @@ -273,8 +273,6 @@ rep_hist_circbuilding_dormant(time_t now) (!router_all_orports_seem_reachable(options) || !circuit_enough_testing_circs())) return 0; - if (!router_dirport_seems_reachable(options)) - return 0; return 1; } |