[tor-bugs] #2708 [Tor Client]: Tor chooses at most one entry guard per family

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Mar 11 11:13:03 UTC 2011


#2708: Tor chooses at most one entry guard per family
------------------------+---------------------------------------------------
 Reporter:  arma        |          Owner:                    
     Type:  defect      |         Status:  new               
 Priority:  normal      |      Milestone:  Tor: 0.2.2.x-final
Component:  Tor Client  |        Version:                    
 Keywords:              |         Parent:                    
   Points:              |   Actualpoints:                    
------------------------+---------------------------------------------------
 In choose_good_entry_server(), we do
 {{{
   /* and exclude current entry guards, if applicable */
   if (options->UseEntryGuards && entry_guards) {
     SMARTLIST_FOREACH(entry_guards, entry_guard_t *, entry,
       {
         if ((r = router_get_by_digest(entry->identity))) {
           smartlist_add(excluded, r);
           routerlist_add_family(excluded, r);
         }
       });
   }
 }}}

 That routerlist_add_family() line means that we do not consider any nodes
 to be a new guard if they're in the family of one of our current guards.

 Is that a good idea (due to increased diversity)? Bad idea (due to
 decreased diversity)? Scary idea? What were we thinking?

 Note that "family" includes "in the same /16".

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


More information about the tor-bugs mailing list