erichutchins / geoipsed

Fast, inline geolocation decoration of IPv4 and IPv6 addresses written in Rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Support for IPinfo's IP to Country ASN database

abdullahdevrel opened this issue · comments

Requesting the integration of IPinfo's IP to Country ASN database. Features of the database:

  • Free as in CC-BY-SA 4.0
  • Full accuracy and daily updates
  • Includes IPv4 and IPv6 addresses in a single db
  • Country + ASN in a single db
  • Comes in MMDB format

Currently, the project supports ASN and location data by utilizing two separate databases. However, the IPinfo IP to Country ASN supports both location and ASN information in a single dataset.

Please let me know what you what you think. If you need any assistance, please let me know. Thanks.

Schema: https://ipinfo.io/developers/ip-to-country-asn-database

FIELD NAME EXAMPLE DATA TYPE DESCRIPTION
start_ip 1.0.16.0 TEXT Starting IP address of an IP address range
end_ip 1.0.31.255 TEXT Ending IP address of an IP address range
country JP TEXT ISO 3166 country code of the location
country_name Japan TEXT Name of the country
continent AS TEXT Continent code of the country
continent_name Asia TEXT Name of the continent
asn AS2519 TEXT Autonomous System Number
as_name ARTERIA Networks Corporation TEXT Name of the AS (Autonomous System) organization
as_domain arteria-net.com TEXT Official domain or website of the AS organization