[metrics-bugs] #27155 [Metrics/Onionoo]: add ipv4_bgp_prefix ipv6_bgp_prefix fields
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Aug 16 09:26:43 UTC 2018
#27155: add ipv4_bgp_prefix ipv6_bgp_prefix fields
-----------------------------+------------------------------
Reporter: nusenu | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Normal | Resolution:
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
-----------------------------+------------------------------
Comment (by irl):
I think it is important here to consider what it is will be done with the
information. If all you wanted was a list of prefixes that the relay has
addresses in then this could be a single `bgp_prefix` field as an IPv4
address is easily distinguished from an IPv6 address.
Prefix, AS and country code information is tied to individual addresses
though, not IP version. One address is used as the primary address while
others are secondary, so one AS may see all the traffic and the others
none.
Not all the fields we add need to be simple strings or arrays of strings.
We can add more complex structures is it would be useful for end-users.
We could have something like:
{{{"or_addresses": {"1.1.1.1": {"primary": "true", "as": "1000"},
"2.2.2.2": {"as: "2000"}} }}}
Each address may also have different OR ports or dir ports (not sure if
dir-spec supports this though).
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27155#comment:1>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list