[metrics-bugs] #27154 [Metrics/Relay Search]: lets use something else than AS0 for "unknown" AS number
Tor Bug Tracker & Wiki
blackhole at torproject.org
Thu Aug 16 09:46:22 UTC 2018
#27154: lets use something else than AS0 for "unknown" AS number
----------------------------------+------------------------------
Reporter: nusenu | Owner: metrics-team
Type: enhancement | Status: closed
Priority: Medium | Milestone:
Component: Metrics/Relay Search | Version:
Severity: Normal | Resolution: wontfix
Keywords: | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
----------------------------------+------------------------------
Comment (by irl):
Replying to [comment:3 nusenu]:
> Replying to [comment:2 irl]:
> > English words are not numbers.
>
> I guess no one claimed that.
Except that AS numbers are numbers and the code is currently written in a
way that expects numbers.
> > The reason for choosing AS0 was that it will never appear in that
field otherwise. The specification you have linked talks about AS0 being
used for *non-routed* networks. If an IP address is non-routed then it
would not appear in the routing tables that are used to generate this
information.
>
> correct and that is the reason why it is confusing to use AS0 for
actually routed IP addresses
But according to our lookup table, they are not. In the same way it is
also possible for the AS announcing a prefix to change between updates of
the lookup table and we would report the wrong AS number then too. The
lookup is performing its job and reporting that the prefix was not
announced when it returns AS0.
> > RFC7606 was part of the reasoning for choosing AS0.
>
> RFC7606 - "Revised Error Handling for BGP UPDATE Messages"
> not sure how this is related, I did not find "AS0" or "AS 0" in that
document
I meant 7607.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27154#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the metrics-bugs
mailing list