Git Product home page Git Product logo

backend-api's People

Contributors

yswery avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

backend-api's Issues

Replace the current whois query with the static db files from the RIRs

So we have all the DBs for some RIRs layed out real nice, would be more ideal to use those to regenerate whois data instead of doing the whois queries. This also means we will need to construct our raw whois

APNIC: ftp://ftp.apnic.net/public/apnic/whois/
RIPE: ftp://ftp.ripe.net/ripe/dbase/split/

Afrinic: http://ftp.afrinic.net/dbase/ <-- This has all emails, names and addresses removed though can still use it to updated NETNAMES and DESC and routes etc

Add more whois information

  • We need to crape and store the whois information for all allocated prefixes (not just BGP)
  • Need to look through ASNS in BGP table and also scrape those (not only allocation lists)
  • Look through IX members also and get the ASN whois from there

Store emptry ASN whois

Currently we simply skip any ASN that is not in any RIR record, we need to make a record for this so we dont scrape them daily

Think of a way to cache the dns query on whois.php script

There is the option of perhaps to install a local resolver with cache (dnsmasq) and then in the whois.php script pointing all queries to go to the local resolver instead of using the default PHP function that seeks the resolution directly with every query

Correct import whois data

Need to double check that the prefix data (name and descriptions are setting correclty in the database import)

Check if maxmind GeoIP returns a record

Currently speaking we are not dealing with maxmind returning a not found in DB exception, we need to be able to make sure that we replace where ever ipUtils->geoip() is called it can handle null result

Install manual?

Hello, how to install this product?
I execute composer install and php artisan key:generate.
When i try to access page there are infinite redirect to API_DOCS_URL.
Need assist.

Recreate and hotswap allocation list daily

So the allocation list for all RIRs gets updated daily and some prefixes get removed. currently we are not remove those we are simply adding new ones.

  • create the temp tables using DB tools with mass insert and swap them when job done

Deal with PI space in whois server

so IPs like 91.234.142.0 are PI space which means not in the allocation list, need to figure out a way to determine a suitable whois server for the PI server

Add a list of private use ASN to skip any whois on (Bogon ASN?)

Need to get the list of private ASN from http://www.iana.org/assignments/as-numbers/as-numbers.xhtml
and add to the ASN whois command a way to ignore and skip over any Private ASN as there will be no point doing a whois query on it.

Example dont query AS asns that are marked as PRIVATE

Also can certainly expand on the API information returned using the IANA info (such as date allocated to RIR or its LEGACY status)

All IANA info already in DB

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.