You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At present we determine an AS number for an IP address by using a service that's bundled into the the pythonwhois library.
@roald-teunissen found the pyasn module recently, and this part here was interesting:
pyasn is different from other ASN lookup tools in that it provides offline and historical lookups. It provides utility scripts for users to build their own lookup databases based on any MRT/RIB archive. This makes pyasn much faster than online dig/whois/json lookups.
Topic
At present we determine an AS number for an IP address by using a service that's bundled into the the python
whois
library.@roald-teunissen found the pyasn module recently, and this part here was interesting:
Source: hadiasghari/pyasn: Python IP address to Autonomous System Number lookup module. (Supports fast local lookups, and historical lookups using archived BGP dumps.)
Is the AS lookup part sufficiently slow, and used often enough to justify relying on this implementation instead?
I'm parking this issue before I forget.
The text was updated successfully, but these errors were encountered: