From 7293e533ac4ac1edfaacc217e6e3545885a97529 Mon Sep 17 00:00:00 2001 From: Christopher Luna Date: Tue, 26 Sep 2023 14:06:18 -0400 Subject: [PATCH] MaxMind requires HTTPS for database downloads MaxMind will be requiring HTTPS for all database download requests starting in March 2024. See [this release note](https://dev.maxmind.com/geoip/release-notes/2023#api-policies---temporary-enforcement-on-october-17-2023). --- parse-geo.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parse-geo.pl b/parse-geo.pl index 4cf9148..99ca897 100755 --- a/parse-geo.pl +++ b/parse-geo.pl @@ -2,9 +2,9 @@ use Geo::IP; #my $gi = Geo::IP->new(GEOIP_STANDARD); -# http://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz -# http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -# http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz +# https://download.maxmind.com/download/geoip/database/asnum/GeoIPASNum.dat.gz +# https://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz +# https://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz #my $gcity = Geo::IP->open('/usr/share/GeoIP/GeoLiteCity.dat' , GEOIP_STANDARD ); #my $gcountry = Geo::IP->open('/usr/share/GeoIP/GeoIP.dat' , GEOIP_STANDARD ); my $gasn = Geo::IP->open('/usr/share/GeoIP/GeoIPASNum.dat' , GEOIP_STANDARD );