Here you can find regularly updated versions of the discontinued GeoIP legacy databases. Many distributions still use old GeoIP libraries, so you might find these useful. I use these on many systems myself, so consider the files and site stable.
Conversion is done from Maxmind GeoLite2 databases, using forked version of geolite2legacy. All names/locations are in plain US-ASCII encoding, converted from UTF-8 with Python unidecode module. Build process tries carefully not to create bad databases.
As these converted databases originate from MaxMind GeoLite2 data, it is implied that the original GeoLite2 End User License Agreement applies to them too.
Please see: https://www.maxmind.com/en/geolite2/eula
05.10.2024 - added GeoIPOrgv6 and GeoIPISPv6 databases.
18.09.2022 - added IPv4 mappings to IPv6 databases.
29.05.2022 - geoip_update.sh v0.24.
01.07.2020 - added GeoIPOrg and GeoIPISP databases.
24.05.2020 - geoip_update.sh v0.23.
It's enough to download these once a week. Unpack to /usr/share/GeoIP or equivalent directory.
You can use my geoip_update.sh script if needed, instructions found within. Always carefully audit any downloaded scripts!
File | Description | Updated |
GeoIP.dat.gz | GeoIP Country IPv4 database. | 30 November 2024 |
GeoIPv6.dat.gz | GeoIP Country IPv6 database. | 30 November 2024 |
GeoIPCity.dat.gz | GeoIP City IPv4 database. | 30 November 2024 |
GeoIPCityv6.dat.gz | GeoIP City IPv6 database. | 30 November 2024 |
GeoIPASNum.dat.gz | GeoIP ASN IPv4 database. | 02 December 2024 |
GeoIPASNumv6.dat.gz | GeoIP ASN IPv6 database. | 02 December 2024 |
GeoIPISP.dat.gz | GeoIP ISP IPv4 database. | 02 December 2024 |
GeoIPISPv6.dat.gz | GeoIP ISP IPv6 database. | 02 December 2024 |
GeoIPOrg.dat.gz | GeoIP Organization IPv4 database. | 02 December 2024 |
GeoIPOrgv6.dat.gz | GeoIP Organization IPv6 database. | 02 December 2024 |
GeoIP-legacy.csv.gz | GeoIP Country for iptables xt_geoip module (use geoip_update.sh). CSV built with GeoLite2xtables. | 30 November 2024 |
geoip_update.sh | Example download script. | 05 October 2024 |
In case of problems, contact: admin@mailfud.org