Opened 6 months ago

Last modified 3 days ago

#22759 new enhancement

Mark the fallbacks that have extra-info descriptors, so stem can use them

Reported by: teor Owned by: teor
Priority: Medium Milestone: Tor: 0.3.3.x-final
Component: Core Tor/Fallback Scripts Version:
Severity: Normal Keywords: tor-dirauth, fallback-directory, dos-resistance
Cc: Actual Points:
Parent ID: #22271 Points: 0.5
Reviewer: Sponsor:

Description

In #19129, atagar says:

For what it's worth stem's descriptor downloader *doesn't* use fallback directories because they lack extrainfo descriptors...

https://gitweb.torproject.org/stem.git/commit/?id=758f632

This is fine. Tor doesn't need it (nor does it need the DirPort). However, if you want the fallbacks to relieve DirAuth load from other sources such as stem then these are both issues.

We could easily add a 'extrainfo=1' to each fallback that supported extrainfo at the time we chose them. Then teach tor to parse or ignore it, because at the time tor is fetching extra-infos, it has already bootstrapped and has an up-to-date list.

Child Tickets

Change History (4)

comment:1 Changed 6 months ago by atagar

Thanks Tim! Much appreciated, this would be great. :P

comment:2 Changed 3 months ago by teor

Milestone: Tor: 0.3.2.x-finalTor: 0.3.3.x-final

I'm not going to get time to do these in 0.3.2.
Moving them to 0.3.3.

comment:3 Changed 4 days ago by teor

We should mark these using comments, because:

  • tor never fetches extra-infos until it bootstraps, and then it has the consensus and descriptors to find out if mirrors support extra-infos
  • comments aren't compiled into tor, but extra fields in the string are, and we are trying to keep tor small for mobile platforms.

comment:4 Changed 3 days ago by teor

Parent ID: #22271
Note: See TracTickets for help on using tickets.