Coder Social home page Coder Social logo

Comments (8)

msimerson avatar msimerson commented on July 19, 2024

+1

from node-geoip.

ravibhoraskar avatar ravibhoraskar commented on July 19, 2024

+1

from node-geoip.

bluesmoon avatar bluesmoon commented on July 19, 2024

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.

mariokonschake avatar mariokonschake commented on July 19, 2024

+1

from node-geoip.

echiu64 avatar echiu64 commented on July 19, 2024

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.

msimerson avatar msimerson commented on July 19, 2024

@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.

echiu64 avatar echiu64 commented on July 19, 2024

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.

echiu64 avatar echiu64 commented on July 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.