[tor-bugs] #33263 [Core Tor/Tor]: Prop 313: 4. Collecting IPv6 Consumed Bandwidth Statistics
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Feb 11 11:09:55 UTC 2020
#33263: Prop 313: 4. Collecting IPv6 Consumed Bandwidth Statistics
--------------------------------+--------------------------------
Reporter: teor | Owner: teor
Type: enhancement | Status: assigned
Priority: Medium | Milestone: Tor: 0.4.4.x-final
Component: Core Tor/Tor | Version:
Severity: Normal | Keywords: prop313, ipv6
Actual Points: | Parent ID: #33052
Points: 1 | Reviewer:
Sponsor: Sponsor55-must |
--------------------------------+--------------------------------
We propose that relays (and bridges) collect IPv6 consumed bandwidth
statistics.
To minimise development and testing effort, we propose re-using the
existing
"bw_array" code in rephist.c.
(We might want to move this code into separate relay-only code and header
files, because it is relay-specific.)
In particular, tor currently counts these bandwidth statistics:
* read,
* write,
* dir_read, and
* dir_write.
We propose adding the following bandwidth statistics:
* ipv6_read, and
* ipv6_write.
(The IPv4 statistics can be calculated by subtracting the IPv6 statistics
from the existing total consumed bandwidth statistics.)
We believe that collecting IPv6 consumed bandwidth statistics is about as
safe as the existing IPv4+IPv6 total consumed bandwidth statistics.
See proposal 313, section 4:
https://gitweb.torproject.org/torspec.git/tree/proposals/313-relay-
ipv6-stats.txt#n118
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33263>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list