[tor-bugs] #6131 [Torflow]: bwauths learn to recognize Capped=1 in consensus line and treat it differently

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Jun 11 18:23:04 UTC 2012


#6131: bwauths learn to recognize Capped=1 in consensus line and treat it
differently
---------------------+------------------------------------------------------
 Reporter:  arma     |          Owner:  aagbsn
     Type:  task     |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  Torflow  |        Version:        
 Keywords:           |         Parent:  #2286 
   Points:           |   Actualpoints:        
---------------------+------------------------------------------------------

Comment(by mikeperry):

 aagbsn: The change that needs to happen here is in the ConsensusTracker
 code. It calculates a consensus to descriptor ratio in _read_routers() for
 each router. Add some parsing code to pull out the "Capped" flag for
 routers, and those routers should get a hard-coded ratio of 1.0.

 The RatioPercentileRestriction should then handle things as normal,
 without modifications.

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


More information about the tor-bugs mailing list