bgptools / issues

The public issue tracker for bgp.tools
32 stars 8 forks source link

Feature Request: Display AS-SET members for ASNs #46

Open ewpratten opened 1 year ago

ewpratten commented 1 year ago

It would be cool to have an expanded list of downstreams each ASN lists in its AS-SET.

I think it should be possible to grab the IRR as-set/route-set field from the peeringdb page for an AS, and expand it with a WHOIS query like the following: whois -h whois.radb.net "\!iAS-EWP,1" (this queries and expands my own AS-SET)

This could become its own tab in the ASN page, and contain a table of possible downstreams. Inside this table, I'd like to see the name of each downstream, plus some icon showing weather the route collector can actually see a path to them that also includes the upstream asn in the path.

For example, if AS1 has the following in their AS-SET:

members: AS2
members: AS3

and is currently only announcing AS2, the table should show:

Seen? Name
YES Name of AS2
NO Name of AS3
benjojo commented 1 year ago

I've finally gotten around to some AS-SET work,

I'm not sure I fully understand this request, but here is what I am thinking,

So right now we have ASPA validation, and that is basically a Red or Green status, depending if you are, or are not in their ASPA providers list.

image

Now, ASPA is going it take a while to roll out, and on top the internet is never black/while.or red/green. Instead I'm thinking we have a "yellow" tick on the upstreams too, where I look at the upstreams PeeringDB AS-SET. Resolve it. and if the ASN is in there (and the AS-SET is not like, huge) then they will get a yellow half tick image

ewpratten commented 1 year ago

That's a good idea.

Looking back at this, I think my main request was to be able to visualize what networks are in an AS-SET, vs which of those are actually peering/transited by the network announcing the AS-SET.

Kind of like a "which customers are online right now" view