[tor-bugs] #15849 [Tor]: Make relay be directory server without a DirPort

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Apr 28 18:13:28 UTC 2015


#15849: Make relay be directory server without a DirPort
-------------------------+------------------------------------
 Reporter:  dgoulet      |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  Tor: 0.2.7.x-final
Component:  Tor          |        Version:
 Keywords:  prop237      |  Actual Points:
Parent ID:  #15801       |         Points:  medium
-------------------------+------------------------------------
 Child ticket of #15801.

 In `directory_permits_begindir_requests()`, a relay doesn't accept
 `BEGIN_DIR` cell if the DirPort isn't set.

 {{{
 int
 directory_permits_begindir_requests(const or_options_t *options)
 {
   return options->BridgeRelay != 0 || options->DirPort_set;
 }
 }}}

 Fixing this would make every relay being able to answer directory requests
 without a DirPort. Turns out, it's a part of proposal 237 so we should
 make those two happens and incidently helping with the global issue in the
 parent ticket.

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


More information about the tor-bugs mailing list