Skip to content
Snippets Groups Projects
Unverified Commit ee3e8fc3 authored by teor's avatar teor
Browse files

Require fallbacks to have 90% Running, V2Dir, and Guard flags

This allows 73% of clients to bootstrap in the first 5 seconds without
contacting an authority.

Part of #18828.
parent 396bddaa
No related branches found
No related tags found
No related merge requests found
...@@ -5,12 +5,10 @@ ...@@ -5,12 +5,10 @@
updateFallbackDirs.py. updateFallbackDirs.py.
Closes ticket 20878. Closes ticket 20878.
- Require fallback directories to have the same address and port for - Require fallback directories to have the same address and port for
4 months. (4 months is a tradeoff between the expected time between 7 dayss. (Due to the number of relays with enough stability.) Relays
major Tor releases, which is 6 months, and the number of relays with whose OnionOO stability timer is reset on restart by bug 18050 should
enough stability.) Relays whose OnionOO stability timer is reset on upgrade to Tor 0.2.8.7 or later, which has a fix for this issue.
restart by bug 18050 should upgrade to Tor 0.2.8.7 or later, which has Closes ticket 20880; maintains short-term fix in e220214 in
a fix for this issue.
Closes ticket 20880; removes short-term fix in e220214 in
tor-0.2.8.2-alpha. tor-0.2.8.2-alpha.
- Make it easier to change the output sort order of fallbacks. - Make it easier to change the output sort order of fallbacks.
Closes ticket 20822. Closes ticket 20822.
......
...@@ -147,9 +147,9 @@ MAX_LIST_FILE_SIZE = 1024 * 1024 ...@@ -147,9 +147,9 @@ MAX_LIST_FILE_SIZE = 1024 * 1024
ADDRESS_AND_PORT_STABLE_DAYS = 7 ADDRESS_AND_PORT_STABLE_DAYS = 7
# What time-weighted-fraction of these flags must FallbackDirs # What time-weighted-fraction of these flags must FallbackDirs
# Equal or Exceed? # Equal or Exceed?
CUTOFF_RUNNING = .95 CUTOFF_RUNNING = .90
CUTOFF_V2DIR = .95 CUTOFF_V2DIR = .90
CUTOFF_GUARD = .95 CUTOFF_GUARD = .90
# What time-weighted-fraction of these flags must FallbackDirs # What time-weighted-fraction of these flags must FallbackDirs
# Equal or Fall Under? # Equal or Fall Under?
# .00 means no bad exits # .00 means no bad exits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment