Comments (8)
+1
from node-geoip.
+1
from node-geoip.
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.
from node-geoip.
+1
from node-geoip.
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.
from node-geoip.
@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.
from node-geoip.
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
from node-geoip.
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)
from node-geoip.
Related Issues (20)
- URLs in updatedb.js no longer work
- ERR_BUFFER_OUT_OF_BOUNDS after automatic update HOT 2
- Re: Database updates HOT 16
- Custom directory in updatedb doesn't work. HOT 6
- Sometimes geoip return null value HOT 3
- returns wrong country for 72.18.74.123 HOT 1
- Update database HOT 1
- 401 Unauthorized when trying to upgrade HOT 8
- Upgrade is extremely slow. HOT 4
- Get the postal / zip code ? HOT 1
- The included data is out of date HOT 2
- remove fs dependency
- IP from US but the returned result is from Africa HOT 3
- Incorrect geolocation for non-geolocated IPs HOT 8
- IPv6 not working HOT 4
- Error in getting the Info HOT 2
- Seeking insight into the development process and buffer lookup approach used. HOT 2
- updatedb.js: ERROR: HTTP Request Failed [302 Found]
- Cannot use geoip-lite in next js application HOT 3
- Custom data directory not working HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-geoip.