Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#18689 closed defect (fixed)

Fallback Directory Selection should exclude down relays earlier

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.2.8.x-final
Component: Core Tor/Tor Version: Tor: 0.2.8.1-alpha
Severity: Minor Keywords: easy python
Cc: Actual Points: 1 hour
Parent ID: #17158 Points: small
Reviewer: Sponsor:

Description

The updateFallbackDirs.py script uses OnionOO to find a list of candidate directory mirrors, then checks the consensus download speed from each mirror.

Previously, the script allowed relays that had a good uptime history, but just happened to be down right now.

But this doesn't work any more, because those relays can't provide a consensus, so we exclude them in the final consensus download check.

We could be smarter, and avoid the effort of that check by eliminating relays that aren't running right now from the list of fallback candidates.

Child Tickets

Change History (3)

comment:1 Changed 4 years ago by teor

Resolution: fixed
Status: newclosed

OK, this was easy to fix, I'll roll it into #17158.

comment:2 Changed 4 years ago by teor

Actual Points: 1 hour
Milestone: Tor: 0.2.???Tor: 0.2.8.x-final
Parent ID: #17158
Points: small

comment:3 Changed 4 years ago by teor

(Resolved by 7e1b8ae7 in fallbacks-201604-v9 in #17158.)

Edit: my branches are on https://github.com/teor2345/tor.git

Last edited 4 years ago by teor (previous) (diff)
Note: See TracTickets for help on using tickets.