[tor-bugs] #2559 [- Select a component]: connection buckets get not decremented in a private tor network

Tor Bug Tracker & Wiki torproject-admin at torproject.org
Mon Feb 14 16:17:50 UTC 2011


#2559: connection buckets get not decremented in a private tor network
-----------------------------------+----------------------------------------
  Reporter:  cagara                |              Owner:     
      Type:  defect                |             Status:  new
  Priority:  normal                |          Milestone:     
 Component:  - Select a component  |            Version:     
  Keywords:                        |             Parent:     
    Points:                        |   Actualpointsdone:     
Pointsdone:                        |       Actualpoints:     
-----------------------------------+----------------------------------------
 In Line 2112 of connection.c:

 When we are handling a read/write operation from a connection, we have to
 decrement the connetion read/write bucket to track down bandwidth usage
 and make limiting functionable.

 This line calles "connection_is_rate_limited()" to verify if we should
 decrement the bucket or not.

 In Line 1895 of connection.c:
 Here we check if we have such unlimited connection.
 Unfortunately tor thinks that private nets are unlimited too, which should
 not be the case: Only linked connection should be free of limitation.
 Otherwise we would have problems viewing used Bandwidth Rate using
 Controlsocket or ARM in private tor setups.

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


More information about the tor-bugs mailing list