[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 5015279153311a9f030ebc00ec0a29f10515fcb2
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
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
 """

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits