[tor-bugs] #33264 [Core Tor/Tor]: Prop 313: 5. Collect IPv6 Connection Statistics on Relays
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Feb 11 11:14:35 UTC 2020
#33264: Prop 313: 5. Collect IPv6 Connection Statistics on Relays
--------------------------------+--------------------------------
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: 2 | Reviewer:
Sponsor: Sponsor55-must |
--------------------------------+--------------------------------
We propose that relays (but not bridges) collect IPv6 connection
statistics.
Bridges refuse to collect the existing ConnDirectionStatistics, so we do
not
believe it is safe to collect the smaller IPv6 totals on bridges.
To minimise development and testing effort, we propose re-using the
existing
"bidi" code in rephist.c. (This code may require some refactoring, because
the "bidi" totals are globals, rather than a struct.)
(We might also want to move this code into separate relay-only code and
header files, because it is relay-specific.)
In particular, tor currently counts these connection statistics:
* below threshold,
* mostly read,
* mostly written, and
* both read and written.
We propose adding IPv6 variants of all these statistics. (The IPv4
statistics can be calculated by subtracting the IPv6 statistics from the
existing total connection statistics.)
See proposal 313, section 5:
https://gitweb.torproject.org/torspec.git/tree/proposals/313-relay-
ipv6-stats.txt#n144
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33264>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list