-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: IP to ASNum #12
Comments
+1 |
1 similar comment
+1 |
Patches welcome. I don't have a personal need for this feature, and don't have the time to implement it correctly. I can code review and merge a patch if someone submits one. |
+1 |
I don't think this is in the realm of geoip... If you want to get AS numbers, just do a dns lookup (http://www.team-cymru.org/Services/ip-to-asn.html#dns). Should be trivial to do in any programming language. |
@echiu64, I agree, writing a ASN lookup module is SMOP and it's one I've already done. But doing DNS lookups for every incoming mail connection is not viable for any but the smallest of email systems. The DNS lookup services (I know of 4 available for ASN) often have query limits, impose connection latency, and not unlike DNSBLs, higher traffic sites are expected to use rsync or other protocols to maintain the databases locally. I have switched to using the maxmind GeoIP module for this very reason. |
Got it, it's just a matter of implementing it then. I still question if this is something that should be part of "node-geoip" or is this more of a addon to something larger than just geolocation. Looking up the ASN seems more of an "IP intelligence" app to me |
While not part of node-geoip, this python service would probably satisfy your requirement and vendor-free to boot (https://github.com/CIRCL/IP-ASN-history) |
Would be nice to be able to use this library to get AS numbers as well.
http://www.maxmind.com/app/asnum
http://geolite.maxmind.com/download/geoip/database/asnum/
The text was updated successfully, but these errors were encountered: