[tor-bugs] #19129 [Core Tor/Tor]: Allow Fallback Directories with no DirPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Sep 20 02:17:40 UTC 2016


#19129: Allow Fallback Directories with no DirPort
--------------------------+------------------------------
 Reporter:  teor          |          Owner:
     Type:  enhancement   |         Status:  new
 Priority:  Medium        |      Milestone:  Tor: 0.2.???
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:                |  Actual Points:
Parent ID:  #7798         |         Points:  2
 Reviewer:                |        Sponsor:
--------------------------+------------------------------

Comment (by teor):

 #19810 is a duplicate of this. It had the following additional info:

 In 0.2.8, relays automatically support begindir over ORPort, even if they
 don't have a DirPort.

 I wonder if we're missing out on (m)any high-bandwidth relays by excluding
 relays without a DirPort. That said, we wouldn't want too many, because
 relays still use the DirPort to bootstrap off fallbacks. (But if the
 fallback only has an ORPort, the relay will use that.)

 We'd need to make the following changes for this to happen:

 * modify the DirPort requirement during fallback selection to check for
 either a DirPort, or declared begindir support in the descriptor
 * make a DirPort optional for configured FallbackDirs in Tor
   * this may be as simple as setting the DirPort to 0, and disabling the
 validation. The rest of the code might just work, because it ignores 0
 DirPorts
 * test, test, test

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/19129#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list