@ip-location-db/asn-mmdb 2.3.2024081918 → 2.3.2024082018
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +79 -85
- package/asn-ipv4.mmdb +0 -0
- package/asn-ipv6.mmdb +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,101 +1,84 @@
|
|
|
1
1
|
# ip-location-db/asn-mmdb
|
|
2
2
|
|
|
3
|
+
This project provides IP to location databases in CSV and MMDB formats.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
|---|---|---|---|---|---|---|---|---|---|
|
|
6
|
-
| ASN <br>[](https://www.npmjs.com/package/@ip-location-db/asn-country) | Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [asn-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv4.csv) | [asn-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv6.csv) |[asn-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv4-num.csv) | [asn-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv6-num.csv) | [asn-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country-mmdb/asn-country-ipv4.mmdb) | [asn-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country-mmdb/asn-country-ipv4.mmdb) |
|
|
7
|
-
| GeoFeed + ASN<br>[](https://www.npmjs.com/package/@ip-location-db/geo-asn-country) | Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [geo-asn-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv4.csv) | [geo-asn-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv6.csv) | [geo-asn-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv4-num.csv) | [geo-asn-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv6-num.csv) | [geo-asn-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country-mmdb/geo-asn-country-ipv4.mmdb) | [geo-asn-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country-mmdb/geo-asn-country-ipv6.mmdb) |
|
|
8
|
-
| GeoFeed + Whois + ASN<br>[](https://www.npmjs.com/package/@ip-location-db/geo-whois-asn-country)| Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [geo-whois-asn-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv4.csv) | [geo-whois-asn-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv6.csv) | [geo-whois-asn-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv4-num.csv) | [geo-whois-asn-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv6-num.csv) | [geo-whois-asn-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country-mmdb/geo-whois-asn-country-ipv4.mmdb) | [geo-whois-asn-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country-mmdb/geo-whois-asn-country-ipv6.mmdb) |
|
|
9
|
-
| [RouteViews](https://www.routeviews.org/routeviews/) + ASN + [DB-IP](https://db-ip.com/)<br>[](https://www.npmjs.com/package/@ip-location-db/asn)| ASN | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) by [RouteViews](https://www.routeviews.org/routeviews/)<sup>♦</sup> and [DB-IP](https://db-ip.com/)<sup>★</sup> | Daily | [asn-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv4.csv) | [asn-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv6.csv) | [asn-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv4-num.csv) | [asn-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv6-num.csv) | [asn-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-mmdb/asn-ipv4.mmdb) | [asn-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-mmdb/asn-ipv6.mmdb) |
|
|
10
|
-
| [IPtoASN](https://iptoasn.com/)<br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-asn)| ASN | [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) by [IPtoASN](https://iptoasn.com/)<sup>♣</sup> | Daily | [iptoasn-asn-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv4.csv) | [iptoasn-asn-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv6.csv) | [iptoasn-asn-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv4-num.csv) | [iptoasn-asn-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv6-num.csv) | [iptoasn-asn-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn-mmdb/iptoasn-asn-ipv4.mmdb) |[iptoasn-asn-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn-mmdb/iptoasn-asn-ipv6.mmdb) |
|
|
11
|
-
| [IPtoASN](https://iptoasn.com/)<br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-country)| Country | [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) by [IPtoASN](https://iptoasn.com/)<sup>♣</sup> | Daily | [iptoasn-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv4.csv) | [iptoasn-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv6.csv) | [iptoasn-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv4-num.csv) | [iptoasn-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv6-num.csv) | [iptoasn-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country-mmdb/iptoasn-country-ipv4.mmdb) | [iptoasn-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country-mmdb/iptoasn-country-ipv6.mmdb) |<!-- | [Webnet77](http://software77.net/geo-ip/)<br>[](https://www.npmjs.com/package/@ip-location-db/webnet77-country)| Country | [Donationware](http://en.wikipedia.org/wiki/Donationware) by [Webnet77](http://software77.net/geo-ip/)<sup>♠</sup> | Daily | [webnet77-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/webnet77-country/webnet77-country-ipv4.csv) | [webnet77-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/webnet77-country/webnet77-country-ipv6.csv) | [webnet77-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/webnet77-country/webnet77-country-ipv4-num.csv) | [webnet77-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/webnet77-country/webnet77-country-ipv6-num.csv) | -->
|
|
12
|
-
| [DB-IP](https://db-ip.com/) Lite<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-asn)| ASN | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) <br> by [DB-IP](https://db-ip.com/)<sup>★</sup> | Monthly | [dbip-asn-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv4.csv) | [dbip-asn-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv6.csv) | [dbip-asn-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv4-num.csv) | [dbip-asn-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv6-num.csv) | [dbip-asn-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn-mmdb/dbip-asn-ipv4.mmdb) | [dbip-asn-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn-mmdb/dbip-asn-ipv6.mmdb) |
|
|
13
|
-
| [DB-IP](https://db-ip.com/) Lite<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-country)| Country | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) <br> by [DB-IP](https://db-ip.com/)<sup>★</sup> | Monthly | [dbip-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv4.csv) | [dbip-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv6.csv) | [dbip-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv4-num.csv) | [dbip-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv6-num.csv) | [dbip-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country-mmdb/dbip-country-ipv4.mmdb) | [dbip-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country-mmdb/dbip-country-ipv6.mmdb) |
|
|
14
|
-
| [DB-IP](https://db-ip.com/) Lite<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-city)<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-city-7z) | City | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) <br> by [DB-IP](https://db-ip.com/)<sup>★</sup> | Monthly | [dbip-city-ipv4.csv.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv4.csv.gz)<br>[dbip-city-ipv4.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv4.csv.7z) | [dbip-city-ipv6.csv.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv6.csv.gz)<br>[dbip-city-ipv6.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv6.csv.7z) | [dbip-city-ipv4-num.csv.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv4-num.csv.gz)<br>[dbip-city-ipv4-num.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv4-num.csv.7z) | [dbip-city-ipv6-num.csv.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv6-num.csv.gz)<br>[dbip-city-ipv6-num.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv6-num.csv.7z) | [dbip-city-ipv4.mmdb](https://unpkg.com/@ip-location-db/dbip-city-mmdb/dbip-city-ipv4.mmdb) | [dbip-city-ipv6.mmdb](https://unpkg.com/@ip-location-db/dbip-city-mmdb/dbip-city-ipv6.mmdb) |
|
|
15
|
-
| [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-asn)| ASN | GeoLite2 License by [MaxMind](https://www.maxmind.com/)<sup>♥</sup> | Twice weekly | [geolite2-asn-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv4.csv) | [geolite2-asn-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv6.csv) | [geolite2-asn-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv4-num.csv) | [geolite2-asn-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv6-num.csv) | [geolite2-asn-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn-mmdb/geolite2-asn-ipv4.mmdb) |
|
|
16
|
-
| [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-country)| Country | GeoLite2 License by [MaxMind](https://www.maxmind.com/)<sup>♥</sup> | Twice weekly | [geolite2-country-ipv4.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv4.csv) | [geolite2-country-ipv6.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv6.csv) | [geolite2-country-ipv4-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv4-num.csv) | [geolite2-country-ipv6-num.csv](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv6-num.csv) | [geolite2-country-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country-mmdb/geolite2-country-ipv4.mmdb) | [geolite2-country-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country-mmdb/geolite2-country-ipv6.mmdb) |
|
|
17
|
-
| [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-city)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-city-7z) | City | GeoLite2 License by [MaxMind](https://www.maxmind.com/)<sup>♥</sup> | Twice weekly | [geolite2-city-ipv4.csv.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv4.csv.gz)<br>[geolite2-city-ipv4.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv4.csv.7z) | [geolite2-city-ipv6.csv.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv6.csv.gz)<br>[geolite2-city-ipv6.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv6.csv.7z) | [geolite2-city-ipv4-num.csv.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv4-num.csv.gz)<br>[geolite2-city-ipv4-num.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv4-num.csv.7z) | [geolite2-city-ipv6-num.csv.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv6-num.csv.gz)<br>[geolite2-city-ipv6-num.csv.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv6-num.csv.7z) | [geolite2-city-ipv4.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-mmdb/geolite2-city-ipv4.mmdb) | [geolite2-city-ipv6.mmdb](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-mmdb/geolite2-city-ipv6.mmdb) |
|
|
5
|
+
There are 3 types of IP database in this repository: `country`, `city` and `asn` files. All have their own standard format.
|
|
18
6
|
|
|
7
|
+
### Country
|
|
19
8
|
|
|
20
|
-
|
|
9
|
+
```CSV
|
|
10
|
+
ip_range_start, ip_range_end, country_code
|
|
11
|
+
```
|
|
21
12
|
|
|
22
|
-
|
|
13
|
+
| Database | Type | License | Updated | IPv4 | IPv6 | IPv4-num | IPv6-num |
|
|
14
|
+
|---|---|---|---|---|---|---|---|
|
|
15
|
+
| [ASN](https://github.com/sapics/ip-location-db/tree/main/asn-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/asn-country)<br>[](https://www.npmjs.com/package/@ip-location-db/asn-country-mmdb) | Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country-mmdb/asn-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country-mmdb/asn-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-country/asn-country-ipv6-num.csv) |
|
|
16
|
+
| [GeoFeed + ASN](https://github.com/sapics/ip-location-db/tree/main/geo-asn-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/geo-asn-country)<br>[](https://www.npmjs.com/package/@ip-location-db/geo-asn-country-mmdb) | Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country-mmdb/geo-asn-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country-mmdb/geo-asn-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-asn-country/geo-asn-country-ipv6-num.csv) |
|
|
17
|
+
| [GeoFeed + Whois + ASN](https://github.com/sapics/ip-location-db/tree/main/geo-whois-asn-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/geo-whois-asn-country)<br>[](https://www.npmjs.com/package/@ip-location-db/geo-whois-asn-country-mmdb) | Country | [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country-mmdb/geo-whois-asn-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country-mmdb/geo-whois-asn-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geo-whois-asn-country/geo-whois-asn-country-ipv6-num.csv) |
|
|
18
|
+
| [IPtoASN](https://github.com/sapics/ip-location-db/tree/main/iptoasn-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-country)<br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-country-mmdb) | Country | [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) by [IPtoASN](https://iptoasn.com/) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country-mmdb/iptoasn-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country-mmdb/iptoasn-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-country/iptoasn-country-ipv6-num.csv) |
|
|
19
|
+
| [DB-IP Lite](https://github.com/sapics/ip-location-db/tree/main/dbip-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/dbip-country)| Country | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) <br> by [DB-IP](https://db-ip.com/) | Monthly | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country-mmdb/dbip-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country-mmdb/dbip-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-country/dbip-country-ipv6-num.csv) |
|
|
20
|
+
| [GeoLite2](https://github.com/sapics/ip-location-db/tree/main/geolite2-country/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-country)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-country-mmdb) | Country | GeoLite2 License by [MaxMind](https://www.maxmind.com/) | Twice weekly | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country-mmdb/geolite2-country-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country-mmdb/geolite2-country-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-country/geolite2-country-ipv6-num.csv) |
|
|
23
21
|
|
|
24
|
-
|
|
25
|
-
`ip_range_start, ip_range_end, autonomous_system_number, autonomous_system_organization`
|
|
22
|
+
### City
|
|
26
23
|
|
|
27
|
-
|
|
28
|
-
|
|
24
|
+
```CSV
|
|
25
|
+
ip_range_start, ip_range_end, country_code, city, state1, state2, latitude, longitude, postcode, timezone
|
|
26
|
+
```
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
| Database | Type | License | Updated | IPv4 | IPv6 | IPv4-num | IPv6-num |
|
|
29
|
+
|---|---|---|---|---|---|---|---|
|
|
30
|
+
| [DB-IP Lite](https://github.com/sapics/ip-location-db/tree/main/dbip-city/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/dbip-city)<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-city-7z)<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-city-mmdb) | City | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) <br> by [DB-IP](https://db-ip.com/) | Monthly | [CSV.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv4.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv4.csv.7z)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-mmdb/dbip-city-ipv4.mmdb) | [CSV.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv6.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv6.csv.7z)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-mmdb/dbip-city-ipv6.mmdb) | [CSV.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv4-num.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv4-num.csv.7z) | [CSV.gz](https://unpkg.com/@ip-location-db/dbip-city/dbip-city-ipv6-num.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-city-7z/dbip-city-ipv6-num.csv.7z) |
|
|
31
|
+
| [GeoLite2](https://github.com/sapics/ip-location-db/tree/main/geolite2-city/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-city)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-city-7z)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-city-mmdb) | City | GeoLite2 License by [MaxMind](https://www.maxmind.com/) | Twice weekly | [CSV.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv4.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv4.csv.7z)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-mmdb/geolite2-city-ipv4.mmdb) | [CSV.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv6.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv6.csv.7z)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-mmdb/geolite2-city-ipv6.mmdb) | [CSV.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv4-num.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv4-num.csv.7z) | [CSV.gz](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city/geolite2-city-ipv6-num.csv.gz)<br>[CSV.7z](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-city-7z/geolite2-city-ipv6-num.csv.7z) |
|
|
32
32
|
|
|
33
|
-
##### autonomous_system_number
|
|
34
|
-
`autonomous_system_number` is a unique number assigned to an Autonomous System (AS) by the [IANA](https://www.iana.org/). [wiki](https://wikipedia.org/wiki/Autonomous_system_(Internet)).
|
|
35
33
|
|
|
36
|
-
|
|
37
|
-
`country_code` is the two-letter code defined in [ISO 3166-1 alpha-2](https://wikipedia.org/wiki/ISO_3166-1_alpha-2).
|
|
38
|
-
You can get the `country name, capital, continent, currency, languages, etc.` from the `country_code` by [Countries Database](https://github.com/annexare/Countries) in JSON, CSV, SQL format.
|
|
34
|
+
### ASN
|
|
39
35
|
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
- `ipv4-num`: The csv line `16777216,16777471,AU` means that ip addresses between `1.0.0.0` and `1.0.0.255` inclusive are `AU` country_code. (`16777216` is the number format of the ip address `1.0.0.0`)
|
|
44
|
-
- `ipv6`: The csv line `2001:200::,2001:200:ffff:ffff:ffff:ffff:ffff:ffff,JP` means that ip addresses between `2001:200::` and `2001:200:ffff:ffff:ffff:ffff:ffff:ffff` inclusive are `JP` country_code.
|
|
45
|
-
- `ipv6-num`: The csv line `42540528726795050063891204319802818560,42540528806023212578155541913346768895,JP` means that ip addresses between `2001:200::` and `2001:200:ffff:ffff:ffff:ffff:ffff:ffff` inclusive are `JP` country_code. (`42540528726795050063891204319802818560` is the number format of the ip address `2001:200::`)
|
|
36
|
+
```CSV
|
|
37
|
+
ip_range_start, ip_range_end, autonomous_system_number, autonomous_system_organization
|
|
38
|
+
```
|
|
46
39
|
|
|
47
|
-
|
|
40
|
+
| Database | Type | License | Updated | IPv4 | IPv6 | IPv4-num | IPv6-num |
|
|
41
|
+
|---|---|---|---|---|---|---|---|
|
|
42
|
+
| [RouteViews + ASN + DB-IP](https://github.com/sapics/ip-location-db/tree/main/asn/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/asn)<br>[](https://www.npmjs.com/package/@ip-location-db/asn-mmdb) | ASN | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) by [RouteViews](https://www.routeviews.org/routeviews/) and [DB-IP](https://db-ip.com/) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-mmdb/asn-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/asn-mmdb/asn-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/asn/asn-ipv6-num.csv) |
|
|
43
|
+
| [IPtoASN](https://github.com/sapics/ip-location-db/tree/main/iptoasn-asn/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-asn)<br>[](https://www.npmjs.com/package/@ip-location-db/iptoasn-asn-mmdb) | ASN | [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) by [IPtoASN](https://iptoasn.com/) | Daily | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn-mmdb/iptoasn-asn-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn-mmdb/iptoasn-asn-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/iptoasn-asn/iptoasn-asn-ipv6-num.csv) |
|
|
44
|
+
| [DB-IP Lite](https://github.com/sapics/ip-location-db/tree/main/dbip-asn/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/dbip-asn)<br>[](https://www.npmjs.com/package/@ip-location-db/dbip-asn-mmdb) | ASN | [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)<br> by [DB-IP](https://db-ip.com/) | Monthly | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn-mmdb/dbip-asn-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn-mmdb/dbip-asn-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/dbip-asn/dbip-asn-ipv6-num.csv) |
|
|
45
|
+
| [GeoLite2](https://github.com/sapics/ip-location-db/tree/main/geolite2-asn/)<br><br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-asn)<br>[](https://www.npmjs.com/package/@ip-location-db/geolite2-asn-mmdb) | ASN | GeoLite2 License by [MaxMind](https://www.maxmind.com/) | Twice weekly | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv4.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn-mmdb/geolite2-asn-ipv4.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv6.csv)<br>[MMDB](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn-mmdb/geolite2-asn-ipv6.mmdb) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv4-num.csv) | [CSV](https://cdn.jsdelivr.net/npm/@ip-location-db/geolite2-asn/geolite2-asn-ipv6-num.csv) |
|
|
48
46
|
|
|
49
47
|
|
|
50
|
-
##
|
|
48
|
+
## File formats
|
|
49
|
+
|
|
50
|
+
An explanation of each file format is provided in its own directory.
|
|
51
|
+
|
|
52
|
+
All files of a given type share the same file format; for example, you could swap one `asn` file for any other `asn` file.
|
|
51
53
|
|
|
52
|
-
When merging multiple database, set the front database above back one.
|
|
53
|
-
(ex. geo-whois-asn-...csv is created by merging 3 database with GeoFeed > Whois > ASN.)
|
|
54
54
|
|
|
55
|
+
## Databases referenced in this project
|
|
55
56
|
|
|
56
57
|
### ASN database [Update: Daily]
|
|
57
58
|
|
|
58
59
|
Created by merging 5 RIP ([afrinic](https://afrinic.net), [apnic](https://www.apnic.net), [arin](https://www.arin.net), [lacnic](https://www.lacnic.net), [ripe ncc](https://www.ripe.net)) IP-ASN-Country database.
|
|
59
60
|
[ASN (Autonomous System Number)](https://wikipedia.org/wiki/Autonomous_system_(Internet)) is a unique number assigned to an Autonomous System (AS) by the [IANA](https://www.iana.org/).
|
|
60
61
|
|
|
62
|
+
### Whois dastabase [Update: Daily]
|
|
61
63
|
|
|
64
|
+
Created by merging 5 RIP ([afrinic](https://afrinic.net), [apnic](https://www.apnic.net), [arin](https://www.arin.net), [lacnic](https://www.lacnic.net), [ripe ncc](https://www.ripe.net)) provided [WHOIS](https://en.wikipedia.org/wiki/WHOIS) database.
|
|
62
65
|
|
|
63
66
|
### GeoFeed database [Update: Daily]
|
|
64
67
|
|
|
65
68
|
Created by merging GeoFeed database from [OpenGeoFeed](https://opengeofeed.org/).
|
|
66
69
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
### Whois database [Update: Daily]
|
|
70
|
-
|
|
71
|
-
Created by merging 5 RIP provided WHOIS database.
|
|
72
|
-
There are some inconsistencies between 5 RIP.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
70
|
### [RouteViews](https://www.routeviews.org/routeviews/) database [Update: every 2 hours]
|
|
77
71
|
|
|
78
72
|
We are using this database to get AS number from ipv4 address for [asn](https://www.npmjs.com/package/@ip-location-db/asn).
|
|
79
73
|
This is licensed under a [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/), so, **you must create attribution to [RouteViews](https://www.routeviews.org/routeviews/) for using asn database**.
|
|
80
74
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
### [IPtoASN](https://iptoasn.com/)<sup>♣</sup> database [Update: Hourly]
|
|
75
|
+
### [IPtoASN](https://iptoasn.com/) database [Update: Hourly]
|
|
84
76
|
|
|
85
77
|
You can download hourly updated database in tsv format from [original site](https://iptoasn.com/).
|
|
86
|
-
This is licensed under a [Public Domain Dedication and
|
|
78
|
+
This is licensed under a [Public Domain Dedication and License v1.0](https://opendatacommons.org/licenses/pddl/1.0/).
|
|
87
79
|
There are some differences from above `ASN` database.
|
|
88
80
|
|
|
89
|
-
|
|
90
|
-
<!--
|
|
91
|
-
### [Webnet77](https://software77.net/geo-ip/)<sup>♠</sup> database [Update: Daily]
|
|
92
|
-
|
|
93
|
-
This database is donationware, please read [the license](https://software77.net/geo-ip/?license) carefully.<br>
|
|
94
|
-
We **recommend donating to [webnet77](https://software77.net/geo-ip/), if you use this database especially for commercial use**.
|
|
95
|
-
-->
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
### [DB-IP](https://db-ip.com/)<sup>★</sup> database [Update: Monthly]
|
|
81
|
+
### [DB-IP](https://db-ip.com/) database [Update: Monthly]
|
|
99
82
|
|
|
100
83
|
You could download and read the license from [ip-to-asn-lite](https://db-ip.com/db/download/ip-to-asn-lite) or [ip-to-country-lite](https://db-ip.com/db/download/ip-to-country-lite) or [ip-to-city-lite](https://db-ip.com/db/download/ip-to-city-lite).
|
|
101
84
|
Most of the AS Organization name used in [asn](https://www.npmjs.com/package/@ip-location-db/asn) uses [ip-to-asn-lite](https://db-ip.com/db/download/ip-to-asn-lite) database.
|
|
@@ -105,9 +88,7 @@ These database are licensed under a [CC BY 4.0](https://creativecommons.org/lice
|
|
|
105
88
|
In the case of a web application, you must include a link back to DB-IP.com on pages that display or use results from the database. You may do it by pasting the HTML code snippet into your code: `<a href='https://db-ip.com/'>IP Geolocation by DB-IP</a>`.<br>
|
|
106
89
|
If you need better accuracy or no attribution or daily updates, please use the [Commercial Version of db-ip](https://db-ip.com/db/ip-to-country).
|
|
107
90
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
### [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/)<sup>♥</sup> database [Update: Twice weekly]
|
|
91
|
+
### [GeoLite2](https://dev.maxmind.com/geoip/geoip2/geolite2/) database [Update: Twice weekly]
|
|
111
92
|
|
|
112
93
|
GeoLite2 is created by [MaxMind](https://www.maxmind.com).
|
|
113
94
|
The license of GeoLite2 is written in GEOLITE2_LICENSE and End User License Agreement (EULA) is written in GEOLITE2_EULA.
|
|
@@ -123,40 +104,53 @@ GeoLite2 databse is provided under [CC BY-SA 4.0](https://creativecommons.org/li
|
|
|
123
104
|
If you need better accuracy, please use the commercial version [GeoIp2](https://www.maxmind.com/en/geoip2-databases).
|
|
124
105
|
|
|
125
106
|
|
|
107
|
+
## Which database should I use?
|
|
108
|
+
|
|
109
|
+
It depends upon your use-case! We do have some simple recommendations though:
|
|
110
|
+
|
|
111
|
+
- If you need postcodes or timezones: `geolite2-city`
|
|
112
|
+
- If you need city data with a CC-BY Licence: `dbip-city`
|
|
113
|
+
- If you need a country database with a Public Domain Licence: `geo-whois-asn-country`
|
|
114
|
+
- If you need an ASN database: `asn`
|
|
115
|
+
|
|
116
|
+
## MMDB Libraries
|
|
117
|
+
|
|
118
|
+
If you would like to integrate MMDB files into an existing project there are several libraries that can help.
|
|
119
|
+
|
|
120
|
+
### Read MMDB files
|
|
121
|
+
|
|
122
|
+
Libraries exist in many languages when using the MMDB files. There are official, [Maxmind developed libraries](https://github.com/maxmind) for many popular languages: [.NET](https://github.com/maxmind/MaxMind-DB-Reader-dotnet), [C](https://github.com/maxmind/libmaxminddb), [Java](https://github.com/maxmind/GeoIP2-java), [Node.js](https://github.com/maxmind/GeoIP2-node), [Perl](https://github.com/maxmind/MaxMind-DB-Reader-perl), [PHP](https://github.com/maxmind/MaxMind-DB-Reader-php), [Python](https://github.com/maxmind/MaxMind-DB-Reader-python) and [Ruby](https://github.com/maxmind/MaxMind-DB-Reader-ruby), and third-party readers for others: [Erlang](https://github.com/g-andrade/locus), [Go](https://github.com/oschwald/maxminddb-golang), [Rust](https://github.com/oschwald/maxminddb-rust).
|
|
126
123
|
|
|
127
|
-
|
|
124
|
+
### Write MMDB files
|
|
128
125
|
|
|
129
|
-
|
|
130
|
-
But the above list is too long, thus, we write down the recommendation.
|
|
126
|
+
If you wish to create your own MMDB files from the CSV files *(to customise their format)* there are a couple of official libraries: [Go](https://github.com/maxmind/mmdbwriter) and [Perl](https://github.com/maxmind/MaxMind-DB-Writer-perl) *(now archived)*. There are also some third-party options: [Python](https://github.com/VimT/MaxMind-DB-Writer-python) and [Rust](https://github.com/pierd/maxminddb-writer).
|
|
131
127
|
|
|
132
|
-
- If you need postcode or timezone, `geolite2-city` is the one.
|
|
133
|
-
- If you need city data with CC-BY License, `dbip-city` is the one.
|
|
134
|
-
- If you need country database with Public Domain, we recommend `geo-whois-asn-country` database.
|
|
135
|
-
- If you need asn database, we recommend `asn` database.
|
|
136
128
|
|
|
129
|
+
## Useful applications
|
|
137
130
|
|
|
138
|
-
|
|
131
|
+
| Application | Language | Description | Types | IPv4 | IPv6 | Auto<br>Updates |
|
|
132
|
+
|---|---|---|---|---|---|---|
|
|
133
|
+
|[`ip_location_server`](https://github.com/EP-u-NW/ip_location_server) | Java | An in-memory GRPC and HTTP server mapping IP addresses to locations *(requires at least 1.5GB RAM)* | `country`<br>`asn`<br>`city` | ✓ | ✓ | ✓ |
|
|
134
|
+
|[`ip-location-api`](https://github.com/paul-norman/ip-location-api) | Go | API server creating / supporting MMDB, PostgreSQL, MySQL / MariaDB and SQLite | `country`<br>`asn`<br>`city` | ✓ | ✓ | ✓ |
|
|
135
|
+
|[`Ip-geo-API`](https://github.com/realchandan/Ip-geo-API) | Go | In-memory API server | `country` | ✓ | ✓ | ✘ |
|
|
136
|
+
|[`IPInfoOffline`](https://www.nirsoft.net/utils/ip_country_info_offline.html) | Windows | Desktop tool showing information about IP addresses *(local data)* | `country`<br>`asn`<br>`city` | ✓ | ✓ | ✘ |
|
|
139
137
|
|
|
140
|
-
We can use libraries in many languages by using `mmdb` format. For example, we can use [maxmind developed libraries](https://github.com/maxmind) which are written in python, PHP, perl, ruby, .net, C, java, .net, and so on.
|
|
141
138
|
|
|
139
|
+
## Useful tools
|
|
142
140
|
|
|
143
|
-
|
|
141
|
+
| Tool | Description |
|
|
142
|
+
|---|---|
|
|
143
|
+
|[`ip-location-to-mmdb`](https://github.com/paul-norman/ip-location-to-mmdb) | Basic conversion from CSV files from this database into MMDB files |
|
|
144
|
+
|[`mmdbmeld`](https://github.com/safing/mmdbmeld) | Create and customise MMDB files from CSV files in this database |
|
|
144
145
|
|
|
145
|
-
Here is a list of tools and applications that can work with these databases:
|
|
146
|
-
- [`safing/mmdbmeld`](https://github.com/safing/mmdbmeld): Create and customize MMDB file from this database.
|
|
147
|
-
- [`paul-norman/ip-location-to-mmdb`](https://github.com/paul-norman/ip-location-to-mmdb): Direct covertion to MMDB file from this dastabase.
|
|
148
|
-
- [`realchandan/Ip-geo-API`](https://github.com/realchandan/Ip-geo-API): Go written HTTP server for IPv4 and IPv6 lookups.
|
|
149
|
-
- [`EP-u-NW/ip_location_server`](https://github.com/EP-u-NW/ip_location_server): A GRPC and HTTP server mapping IP addresses to locations. Supports IPv4 and IPv6 and automatic dataset updates.
|
|
150
|
-
- [`paul-norman/ip-location-api`](https://github.com/paul-norman/ip-location-api): Go written API server for IPv4 and IPv6 with MMDB, PostgreSQL, MySQL, MariaDB and SQLite.
|
|
151
|
-
- [`IPInfoOffline`](https://www.nirsoft.net/utils/ip_country_info_offline.html): Allows you to view information about IP addresses, without connecting any external server.
|
|
152
146
|
|
|
153
|
-
|
|
147
|
+
## Licences
|
|
154
148
|
|
|
149
|
+
The required licence depends upon the database which you use. **Please carefully read each database licence before use.**
|
|
155
150
|
|
|
151
|
+
You can use [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) (ODC Public Domain Dedication and Licence) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) (Creative Commons Zero) licensed databases without attribution for any purpose.
|
|
156
152
|
|
|
157
|
-
## License
|
|
158
153
|
|
|
159
|
-
|
|
160
|
-
You can use [PDDL](https://opendatacommons.org/licenses/pddl/1.0/) (ODC Public Domain Dedication and Licence) or [CC0](https://creativecommons.org/publicdomain/zero/1.0/deed) (Creative Commons Zero) licensed database without attribution for any purpose.
|
|
154
|
+
## Support
|
|
161
155
|
|
|
162
|
-
We
|
|
156
|
+
We'd be grateful if you could link back to [sapics/ip-location-db](https://github.com/sapics/ip-location-db), and star this project to help others find it.
|
package/asn-ipv4.mmdb
CHANGED
|
Binary file
|
package/asn-ipv6.mmdb
CHANGED
|
Binary file
|