Opened 21 months ago

Last modified 3 months ago

#24839 assigned task

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

Reported by: teor Owned by:
Priority: Medium Milestone: Tor: unspecified
Component: Core Tor/Tor Version:
Severity: Normal Keywords: needs-proposal, fallback, tor-spec, 034-triage-20180328, 034-removed-20180328, teor-backlog
Cc: Actual Points:
Parent ID: 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 (9)

comment:1 Changed 21 months 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.

comment:2 Changed 19 months ago by nickm

Keywords: 034-triage-20180328 added

comment:3 Changed 19 months ago by nickm

Keywords: 034-removed-20180328 added

Per our triage process, these tickets are pending removal from 0.3.4.

comment:4 Changed 18 months ago by nickm

Milestone: Tor: 0.3.4.x-finalTor: unspecified

These tickets, tagged with 034-removed-*, are no longer in-scope for 0.3.4. We can reconsider any of them, if time permits.

comment:5 Changed 18 months ago by teor

Parent ID: #24786

This is not part of the minimal fallback rebuild in 0.3.4.

comment:6 Changed 4 months ago by teor

Owner: set to teor
Status: newassigned

I also want this on my backlog.

Maintaining the fallback whitelist is very time-consuming, and it adds an extra few weeks to every fallback rebuild.

comment:7 Changed 4 months ago by teor

Parent ID: #28793

Depending on the results of #30952, we might want to add this feature to get more fallbacks.

comment:8 Changed 4 months ago by teor

Parent ID: #28793

No need for this right now.

comment:9 Changed 3 months ago by teor

Keywords: teor-backlog added
Owner: teor deleted

These items are not on our roadmap, and they do not have a sponsor.
But I might do them some day.

Note: See TracTickets for help on using tickets.