mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
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.
This commit is contained in:
parent
0efa2821c7
commit
5015279153
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
"""
|
||||
|
|
Loading…
Add table
Reference in a new issue