[tor-bugs] #27289 [Core Tor/Tor]: Count raw bytes on the wire correctly when using NSS

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Aug 23 15:51:08 UTC 2018


#27289: Count raw bytes on the wire correctly when using NSS
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  (none)
         Type:  defect        |     Status:  new
     Priority:  Low           |  Milestone:  Tor: 0.3.5.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:  #26631
       Points:                |   Reviewer:
      Sponsor:  Sponsor8-can  |
------------------------------+--------------------------------
 Right now we don't support counting the raw bytes send over TCP with NSS,
 but it's possible. To do this, we'd need to use PRFileDesc's layering
 feature, and add a layer whose only purpose is to count bytes.

 This change would make our bandwidth accounting slightly more accurate
 with NSS.

 I think it would be safe to defer this.

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


More information about the tor-bugs mailing list