Tuesday, June 25, 2019

How to handle "ASN registry lookup failed. Permutations not allowed." errors?

I have a python application where part of it uses the ipwhois module to do RDAP whois lookups on IPs. I see a number of IP addresses that cause the error:

ipwhois.exceptions.ASNRegistryError: ASN registry lookup failed. Permutations not allowed. 

Anyone have an idea of what this actually means? I see this is usually triggered by government owned IPs, but also see it seemingly occurring by random organizations.



No comments:

Post a Comment