Seriously how would you expect this feature to be implemented? A whois lookup for every packet is of course out of the question. Regular AS database updates? From which source?
Quote from: pmhausen on August 17, 2021, 06:31:49 pmSeriously how would you expect this feature to be implemented? A whois lookup for every packet is of course out of the question. Regular AS database updates? From which source?With pfSense, pfBlocker can do it no problem. It creates an alias based on a specific ASN.
http://thyme.apnic.net/current/data-ASnet-detailAPNIC seems fine I'd guess
https://api.bgpview.io/asn/[asn]/prefixesBut looks like an Oracle company, it would probably be more safe to query the source databases directly, which is likely what aslookup is doing (http://aslookup.bgpview.org/index-e.html).If there's a "open" source for the data, I don't mind adding an ASN type at some point in time in the core product, but trying to query commercial databases is waiting for trouble to happen.