justinazoff / asnlookup Goto Github PK
View Code? Open in Web Editor NEWIP Address to ASN/prefix/owner/cc lookup server
IP Address to ASN/prefix/owner/cc lookup server
Hey Justin,
Thanks for taking the time to develop this. I need to use this for a project and I cannot figure out what is going on. I have setup the asnlookup package (python setup.py install) as well as any requirements with pip. Am I supposed to be setting anything else up? Thank you in advance.
`echo -e "8.8.8.8" | asnlookup
DEBUG:asnlookup.data_manager:file_age_in_hours: filename=asn.db does not exist
DEBUG:asnlookup.data_manager:download_and_convert working_dir=/tmp/tmpxbpJQw
DEBUG:asnlookup.data_manager:Executing cmd=['pyasn_util_download.py', '--latestv4']
usage: /usr/local/bin/pyasn_util_download.py [--dates-from-file FILEWITHDATES] | [--latest]
The script downloads MRT dump files from ROUTEVIEWS for the dates specified. It requires wget.
Traceback (most recent call last):
File "/usr/local/bin/asnlookup", line 11, in
load_entry_point('asnlookup==0.0.3', 'console_scripts', 'asnlookup')()
File "build/bdist.linux-x86_64/egg/asnlookup/main.py", line 9, in main
File "build/bdist.linux-x86_64/egg/asnlookup/backend.py", line 38, in init
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 113, in update_asndb
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 54, in maybe_update
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 91, in download_and_convert
File "build/bdist.linux-x86_64/egg/asnlookup/data_manager.py", line 72, in get_single_file
asnlookup.data_manager.DataManagerError: ('More than one file found: files=%s', [])
`
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.