[tor-bugs] #6777 [Tor Directory Authority]: add config option to not rate limit authority dir conns

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Thu Sep 6 08:34:19 UTC 2012


#6777: add config option to not rate limit authority dir conns
-------------------------------------+--------------------------------------
 Reporter:  arma                     |          Owner:                    
     Type:  defect                   |         Status:  new               
 Priority:  normal                   |      Milestone:  Tor: 0.2.4.x-final
Component:  Tor Directory Authority  |        Version:                    
 Keywords:                           |         Parent:                    
   Points:                           |   Actualpoints:                    
-------------------------------------+--------------------------------------
 During today's consensus fiasco, several authorities were hitting their
 configured bandwidth rates. In moria1's case, we were using the default
 5MB/10MB, and we were basically sustaining 5MB/s of directory output for
 6+ hours. Most things weren't finishing getting written -- including
 votes.

 weasel suggested a feature where we allow dir conns to/from authorities to
 go above our bandwidth limits.

 I was thinking we would implement it just by making
 connection_is_rate_limited() say "no" for them.

 but weasel suggested that we count the bytes, and reduce them from our
 totals, but not limit the conns. That sounds worthwhile but more complex.

 On the theory that we want this hack in rather than waiting forever for
 the elegant solution, I convinced weasel that he should be ok with the
 simpler approach.

 Heck, maybe rather than making it a config option, we should just make it
 standard behavior for authorities.

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


More information about the tor-bugs mailing list