[tor-bugs] #1776 [Tor Client]: Allow regular relays to be used as bridges

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Wed Oct 13 04:24:17 UTC 2010


#1776: Allow regular relays to be used as bridges
-------------------------+--------------------------------------------------
  Reporter:  Sebastian   |       Owner:  arma              
      Type:  defect      |      Status:  reopened          
  Priority:  normal      |   Milestone:  Tor: 0.2.2.x-final
 Component:  Tor Client  |     Version:                    
Resolution:              |    Keywords:                    
    Parent:              |  
-------------------------+--------------------------------------------------

Comment(by nickm):

 So first off, this isn't authorities only: caches also have a nonempty
 routerlist->old_routers.

 Second, assuming the behavior we want is:
   "Drop duplicate descriptors, unless adding this one would turn a
 nonbridge into a bridge" then the inputs we need are:
  * 'Is this a duplicate?'  (Yes if we got anything from the
 sdmap_get(desc_digest_map) call.
  * 'Is it a bridge?' (Yes if router->purpose says it is.)
  * 'Was the old one a bridge?' (Yes if old_router != NULL and
 old_router->purpose says it is.  But what if old_router == NULL? We'd want
 to look at the result of the sdmap_get() call.  Can a bridge descriptor
 even make it into old_routers?  Should it? If "yes" and "yes", is there
 anything about the signed_descriptor_t that tells us whether it's a
 bridge?)

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


More information about the tor-bugs mailing list