diff options
author | Karsten Loesing <karsten.loesing@gmx.net> | 2014-02-25 11:26:27 +0100 |
---|---|---|
committer | Karsten Loesing <karsten.loesing@gmx.net> | 2014-02-25 11:26:27 +0100 |
commit | 5015279153311a9f030ebc00ec0a29f10515fcb2 (patch) | |
tree | 7ee6a90fdd3ffc21f41326c72534560add8c2081 /src/config | |
parent | 0efa2821c7e1865d8f515df735fd8ad0db5ff467 (diff) | |
download | tor-5015279153311a9f030ebc00ec0a29f10515fcb2.tar tor-5015279153311a9f030ebc00ec0a29f10515fcb2.tar.gz |
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.
Diffstat (limited to 'src/config')
-rw-r--r-- | src/config/mmdb-convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/mmdb-convert.py b/src/config/mmdb-convert.py index 21d170adf..269a5fe20 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 """ |