From: Karsten Loesing Date: Tue, 25 Feb 2014 10:26:27 +0000 (+0100) Subject: Download MaxMind's geoip file over https. X-Git-Tag: tor-0.2.5.3-alpha~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5015279153311a9f030ebc00ec0a29f10515fcb2;p=thirdparty%2Ftor.git Download MaxMind's geoip file over https. If the cert turns out to be invalid or if wget is otherwise unable to verify it, it's going to return an error and not download the file for us. Spotted by nickm. --- diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py index 21d170adf6..269a5fe20d 100644 --- a/src/config/mmdb-convert.py +++ b/src/config/mmdb-convert.py @@ -418,7 +418,7 @@ def dump_tree(entries, node, dump_item, prefix=""): GEOIP_FILE_HEADER = """\ # Last updated based on %s Maxmind GeoLite2 Country -# wget http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz +# wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-Country.mmdb.gz # gunzip GeoLite2-Country.mmdb.gz # python mmdb-convert.py GeoLite2-Country.mmdb """