[tor-bugs] #1830 [Tor Relay]: perconnbwrate/burst not reset when config options change

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Sat Aug 14 23:21:48 UTC 2010


#1830: perconnbwrate/burst not reset when config options change
-----------------------+----------------------------------------------------
 Reporter:  arma       |       Owner:  arma               
     Type:  defect     |      Status:  new                
 Priority:  normal     |   Milestone:  Deliverable-Sep2010
Component:  Tor Relay  |     Version:                     
 Keywords:             |      Parent:  #1750              
-----------------------+----------------------------------------------------
 If I have perconnbwrate/burst set to something, and an OR conn arrives,
 the rate and burst for that conn are chosen forevermore at that moment. If
 I later change the config options and hup, new OR conns get the new
 options, but old ones stay as they are.

 This is going to become even more apparent once we put the options in the
 consensus. Our experiments won't produce the results we want because
 they'll be spoiled by already-established OR conns.

 So we should walk through all the OR conns whenever those options change
 (including if they change in the consensus), and reset rate and burst to
 the new rate and burst, and if the bucket is now higher than burst, set it
 back to burst too.

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


More information about the tor-bugs mailing list