[tor-bugs] #4115 [Tor Relay]: Relays and bridges should switch to using begindir

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Sep 28 04:19:28 UTC 2011


#4115: Relays and bridges should switch to using begindir
-----------------------+----------------------------------------------------
 Reporter:  arma       |          Owner:                    
     Type:  defect     |         Status:  new               
 Priority:  major      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Relay  |        Version:                    
 Keywords:             |         Parent:                    
   Points:             |   Actualpoints:                    
-----------------------+----------------------------------------------------
 Back when we fixed bug #827, the resolution was that relays, including
 bridges without an explicit Address set, would avoid using begindir cells
 when making their directory fetches. See
 directory_command_should_use_begindir():
 {{{
     if (!fascist_firewall_allows_address_or(addr, or_port) ||
         directory_fetches_from_authorities(options) ||
         (server_mode(options) && !options->Address))
       return 0; /* We're firewalled or are acting like a relay -- also no.
 */
 }}}

 For the history, see in particular
 https://trac.torproject.org/projects/tor/ticket/827#comment:29

 Time has passed. Now all those new Tor 0.1.2.x relays are gone, and the
 0.1.1.x clients that were providing cover for bridges are long gone.

 That means you can find bridges by running a relay and seeing who talks to
 your DirPort directly.

 I suggest we should simplify the logic to just
 {{{
     if (!fascist_firewall_allows_address_or(addr, or_port))
       return 0;
 }}}
 then put out a new 0.2.3.x release to make sure it doesn't break things,
 then put it into 0.2.2 stable as a security fix.

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


More information about the tor-bugs mailing list