Opened 2 weeks ago

Last modified 2 weeks ago

#24839 new task

Add a torrc option and descriptor line to opt-in as a FallbackDir

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: 0.3.4.x-final
Component: Core Tor/Tor Version:
Severity: Normal Keywords: needs-proposal, fallback, tor-spec
Cc: Actual Points:
Parent ID: #24786 Points: 3
Reviewer: Sponsor:

Description

This needs:

  • a proposal and a design
  • a patch to dir-spec.txt
  • a patch to the tor man page
  • a tor code patch
  • an updateFallbackDirs.py code patch
  • a wiki update to doc/UpdatingFallbackDirectoryMirrors

Here's a quick sketch of a design:

  1. Relay operators set OfferFallbackDirServer 1 to offer their relay as a potential FallbackDir.
  2. Relays with this option set put offer-fallback-dir-server in their descriptors
  3. updateFallbackDirs.py loads relay fingerprints with offer-fallback-dir-server, and from the legacy whitelist (#24838 will make this easier)
  4. updateFallbackDirs.py applies the blacklist, does stability checks, and generates the fallback list

Child Tickets

Change History (1)

comment:1 Changed 2 weeks ago by teor

We should check if the fallbacks have a DirPort and ContactInfo.
A ContactInfo should be required on the relay and by the selection script.
No DirPort should result in a warning on the relay.
A DirPort should be required by the selection script until #19129 is implemented.

Note: See TracTickets for help on using tickets.