[tor-bugs] #1300 [Tor Relay]: Authority that doesn't make a consensus never fetches one from elsewhere

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sun Aug 29 03:51:13 UTC 2010


#1300: Authority that doesn't make a consensus never fetches one from elsewhere
--------------------------------+-------------------------------------------
 Reporter:  arma                |         Type:  defect   
   Status:  needs_review        |     Priority:  major    
Milestone:  Tor: 0.2.2.x-final  |    Component:  Tor Relay
  Version:  0.2.1.24            |   Resolution:  None     
 Keywords:  easy                |       Parent:           
--------------------------------+-------------------------------------------

Comment(by Sebastian):

 Looks good and gives newly bootstrapping authorities a consensus
 immediately in my test network.

 In the patch, I'm wondering why we use valid_until here:

 +    if (live_con && now < live_con->valid_until +
 AUTHORITY_NS_DOWNLOAD_DELAY)

 wouldn't fresh_until be the right thing? That would mean the authority
 will fetch a new consensus if it didn't participate in making the current
 one, which seems to be what we want iiuic.

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


More information about the tor-bugs mailing list