[tor-commits] [tor/master] Download MaxMind's geoip file over https.

nickm at torproject.org nickm at torproject.org
Tue Feb 25 14:41:22 UTC 2014


commit 5015279153311a9f030ebc00ec0a29f10515fcb2
Author: Karsten Loesing <karsten.loesing at gmx.net>
Date:   Tue Feb 25 11:26:27 2014 +0100

    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.
---
 src/config/mmdb-convert.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py
index 21d170a..269a5fe 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
 """



More information about the tor-commits mailing list