diff options
author | teor <teor2345@gmail.com> | 2016-12-07 16:03:32 +1100 |
---|---|---|
committer | teor <teor2345@gmail.com> | 2016-12-19 15:05:36 +1100 |
commit | 396bddaa4c48453fcc6583188622cc0edf766fa1 (patch) | |
tree | 1fa3ffe08c8657c8e4774b4926cdd39277147e98 /scripts | |
parent | 9629a25d1019cffffc39f3982161b610eab5691f (diff) | |
download | tor-396bddaa4c48453fcc6583188622cc0edf766fa1.tar.gz tor-396bddaa4c48453fcc6583188622cc0edf766fa1.zip |
Require fallback directories to have the same address and port for 7 days
7 days is a tradeoff between the expected time between major Tor releases,
which is 6 months, and the number of relays with enough stability.
Relays whose OnionOO stability timer is reset on restart by bug #18050
should upgrade to Tor 0.2.8.7 or later, which has a fix for this issue.
Closes ticket #20880; maintains short-term fix in e220214 in tor-0.2.8.2-alpha.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/maint/updateFallbackDirs.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/scripts/maint/updateFallbackDirs.py b/scripts/maint/updateFallbackDirs.py index df5f049e34..337ade128f 100755 --- a/scripts/maint/updateFallbackDirs.py +++ b/scripts/maint/updateFallbackDirs.py @@ -137,10 +137,13 @@ MAX_LIST_FILE_SIZE = 1024 * 1024 ## Eligibility Settings -# Reduced due to a bug in tor where a relay submits a 0 DirPort when restarted -# This causes OnionOO to (correctly) reset its stability timer -# This issue will be fixed in 0.2.7.7 and 0.2.8.2 -# Until then, the CUTOFFs below ensure a decent level of stability. +# Require fallbacks to have the same address and port for a set amount of time +# +# There was a bug in Tor 0.2.8.1-alpha and earlier where a relay temporarily +# submits a 0 DirPort when restarted. +# This causes OnionOO to (correctly) reset its stability timer. +# Affected relays should upgrade to Tor 0.2.8.7 or later, which has a fix +# for this issue. ADDRESS_AND_PORT_STABLE_DAYS = 7 # What time-weighted-fraction of these flags must FallbackDirs # Equal or Exceed? |