kacperzuk / iptoasn Goto Github PK
View Code? Open in Web Editor NEWIP to ASN using BGP table listings from http://thyme.apnic.net/current/
IP to ASN using BGP table listings from http://thyme.apnic.net/current/
Hi there, first of all, thanks for the great node module. Unfortunately it wasn't updated for a long time and does not even build anymore. I have create a new one with nearly the same API as such, only using async/await but otherwise I tried to be close to this module. The code is at https://github.com/cloudron-io/asnlookup
Ideally I wanted to use the iptoasn
or ip2asn
module name, as I think that is much better than asnlookup
however since it is would not be a drop-in replacement, I just wanted to let people know if they look for something similar.
Im using a VPN Service and get the IP:
169.57.123.219
http://www.ip-tracker.org/locator/ip-lookup.php?ip=169.57.123.219
How it's possible that's not listed at http://thyme.apnic.net/
Hi!
My versions:
$ npm -v
3.10.10
$ node -v
v6.11.0
When I try to install the package I get:
> [email protected] install /Users/robert/bitfinex/bfx-util-net-js/node_modules/iptoasn
> node-gyp rebuild
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
gyp WARN download NVM_NODEJS_ORG_MIRROR is deprecated and will be removed in node-gyp v4, please use NODEJS_ORG_MIRROR
CXX(target) Release/obj.target/addon/src/addon.o
CXX(target) Release/obj.target/addon/src/bgpsearch.o
../src/bgpsearch.cc:115:5: error: use of undeclared identifier 'errno'
errno = 0;
^
../src/bgpsearch.cc:117:28: error: use of undeclared identifier 'errno'
if(end == octet_str || errno != 0 || octet > 255) return false;
^
../src/bgpsearch.cc:131:3: error: use of undeclared identifier 'errno'
errno = 0;
^
../src/bgpsearch.cc:134:22: error: use of undeclared identifier 'errno'
if(end == token || errno != 0 || netmask_bits_ul > 32) return false;
^
../src/bgpsearch.cc:143:3: error: use of undeclared identifier 'errno'
errno = 0;
^
../src/bgpsearch.cc:146:22: error: use of undeclared identifier 'errno'
if(end == token || errno != 0 || asn_ul > std::numeric_limits<uint32_t>::max()) return false;
^
6 errors generated.
make: *** [Release/obj.target/addon/src/bgpsearch.o] Error 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.