[tor-bugs] #2798 [Tor Client]: Add country code and address set pattern support to EntryNodes

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Apr 11 21:52:56 UTC 2011


#2798: Add country code and address set pattern support to EntryNodes
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                    
     Type:  enhancement  |         Status:  new               
 Priority:  normal       |      Milestone:  Tor: 0.2.3.x-final
Component:  Tor Client   |        Version:                    
 Keywords:               |         Parent:                    
   Points:               |   Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by arma):

 I did this in September 2010 in git 0ed8d5a537.

 Except on closer inspection, it isn't what you describe above. Currently
 we just add all the nodes in Germany to your entry guard set.

 I guess you're suggesting that we should special-case the {xx} country-
 level way of specifying a routerset, and have Tor use entry guards like
 before but only choose from those routers.

 But in this case we actually *do* do what you want. We put all the nodes
 in germany into your entry guard list, and then pick the first k of them:
 {{{
       if (smartlist_len(live_entry_guards) >= options->NumEntryGuards)
         break; /* we have enough */
 }}}
 But we don't randomize them first. So everybody who sets entrynodes {de}
 based on the same consensus will use the same subset of german relays as
 guards? Hm.

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


More information about the tor-bugs mailing list