[tor-bugs] #2511 [Tor Client]: Tor will use an unconfigured bridge if it was a configured bridge last time you ran Tor

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Fri Feb 11 20:07:28 UTC 2011


#2511: Tor will use an unconfigured bridge if it was a configured bridge last time
you ran Tor
-------------------------+--------------------------------------------------
  Reporter:  arma        |              Owner:                    
      Type:  defect      |             Status:  needs_review      
  Priority:  normal      |          Milestone:  Tor: 0.2.2.x-final
 Component:  Tor Client  |            Version:                    
  Keywords:              |             Parent:                    
    Points:              |   Actualpointsdone:                    
Pointsdone:              |       Actualpoints:                    
-------------------------+--------------------------------------------------

Comment(by nickm):

 Replying to [comment:7 arma]:
 > Replying to [comment:5 nickm]:
 > > I personally don't like the approach of mucking up
 router_add_to_routerlist even more: it's too hairy by half as is, and we
 should be looking for ways to make it dumber, not smarter.  Option 3 (or a
 variant option 1 where instead of calling the bridge Down we call it
 "Invalid" or something) seems much better.
 >
 > Hm. Well, Option 3 was "do this patch and also add another patch
 elsewhere", so I don't see how that will simplify
 router_add_to_routerlist(). The real issue is that we have a growing set
 of reasons why we wouldn't want to keep a router desc that we just learned
 about.

 IMO the *real* real issue is that we're assuming that "router descriptors
 we would use" and "router descriptors we know about" need to stay the same
 here, so that when we discover that a descriptor is not one we should use,
 we try not to know about it at all.  That's why a function that should
 have been simple "Here is a new descriptor; learn about it!" has grown so
 much policy over the years.

 Is there really no way to say of a descriptor, "Do not use this!"  Is
 there really no way to look at our configured bridges rather than the set
 of all inserted descriptors with purpose==bridge when we go to pick a
 first hop?

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


More information about the tor-bugs mailing list