[tor-bugs] #33201 [Core Tor/Tor]: Tor relays ignore some local bytes in their statistics

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 13 16:33:35 UTC 2020


#33201: Tor relays ignore some local bytes in their statistics
--------------------------+------------------------------------
 Reporter:  teor          |          Owner:  teor
     Type:  defect        |         Status:  assigned
 Priority:  Medium        |      Milestone:  Tor: 0.4.4.x-final
Component:  Core Tor/Tor  |        Version:
 Severity:  Normal        |     Resolution:
 Keywords:  tor-stats     |  Actual Points:
Parent ID:  #33052        |         Points:  0.1
 Reviewer:                |        Sponsor:  Sponsor55-must
--------------------------+------------------------------------

Comment (by nickm):

 I think you're asking why there is only one check in
 `record_num_bytes_transferred_impl()` before the check on
 `connection_is_rate_limited()`.

 I think that the rationale for doing it this way is that all of our
 tunneled directory connections would otherwise seem to be local, since
 they are tunneled.  But we do want to count them _as_ directory usage, to
 answer the question of "how much directory bandwidth are we using for
 what"?

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


More information about the tor-bugs mailing list