[metrics-bugs] #21637 [Metrics/Onionoo]: Include both declared and reachable IPv6 OR addresses
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon Oct 16 20:29:35 UTC 2017
#21637: Include both declared and reachable IPv6 OR addresses
--------------------------------+------------------------------
Reporter: teor | Owner: metrics-team
Type: enhancement | Status: new
Priority: Medium | Milestone:
Component: Metrics/Onionoo | Version:
Severity: Normal | Resolution:
Keywords: metrics-2017, ipv6 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------+------------------------------
Comment (by teor):
Replying to [comment:8 karsten]:
> Replying to [comment:3 karsten]:
> > Replying to [comment:2 teor]:
> > > It would be nice to have the IPv6 address from the descriptor, and
then we can synthesise a flag if it's missing from the consensus (or
different).
> >
> > Yes, makes sense.
>
> How about we add a new field "unreachable_or_addresses" that is an
optional array of strings and that contains an "Array of IPv4 or IPv6
addresses and TCP ports or port lists where the relay claims to accept
onion-routing connections but that the directory authorities failed to
confirm as reachable. Addresses are in arbitrary order. IPv6 hex
characters are all lower-case. Omitted if empty." If you can think of
specifying this more clearly, please feel free to suggest a better text.
And if you can think of a better way to include this data, just state it
here.
Do we need to explain:
* claims to accept onion-routing connections in its descriptor
* the directory authorities failed to confirm as reachable. (If a relay
has an unreachable IPv4 address, the relay is removed from the consensus.
If a relay has an unreachable IPv6 address, the relay is included in the
consensus without the IPv6 address.)
This is how things will work when authorities upgrade to 0.3.3, assuming
we merge the IPv6 fixes in #20916.
> Regarding the suggested flag, I believe that that shouldn't be a relay
flag like the existing ones, but it could be a custom notification like
Atlas adds for relays running an non-recommended version. In other words,
that's for Atlas land, not Onionoo land. Hope that matches your idea. If
not, please elaborate.
Sounds good to me.
This will help us prompt operators when their IPv6 is broken.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21637#comment:9>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list