[tor-bugs] #25400 [Core Tor/Tor]: CIRC_BW event miscounts, should count all circ data

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Mar 2 04:17:44 UTC 2018


#25400: CIRC_BW event miscounts, should count all circ data
------------------------------+-----------------------
     Reporter:  mikeperry     |      Owner:  mikeperry
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+-----------------------
 The CIRC_BW event as implemented seems to be totaling only explicit
 application data on the circuit. To have an accurate representation of
 circuit usage, it should total all bytes sent on the circuit, including
 padding, dropped cells, and partially full cells.

 Furthermore, it currently counts bytes differently depending on if you
 have the STREAM event enabled (see control_event_stream_bandwidth()). This
 is definitely a bug.

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


More information about the tor-bugs mailing list