From: Peter Müller Date: Mon, 21 Jan 2019 20:40:50 +0000 (+0100) Subject: use HTTPS for downloading GeoIP database files X-Git-Tag: v2.21-core127~2 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=903052ddea715c66d15b18c9be4631bea8ab4bd5 use HTTPS for downloading GeoIP database files Signed-off-by: Peter Müller Signed-off-by: Michael Tremer --- diff --git a/src/scripts/xt_geoip_update b/src/scripts/xt_geoip_update index b45c5b3436..93884dcf5b 100644 --- a/src/scripts/xt_geoip_update +++ b/src/scripts/xt_geoip_update @@ -26,7 +26,7 @@ SCRIPT_PATH=/usr/local/bin DEST_PATH=/usr/share/xt_geoip DB_PATH=/var/lib/GeoIP -DL_URL=http://geolite.maxmind.com/download/geoip/database +DL_URL=https://geolite.maxmind.com/download/geoip/database DL_FILE=GeoLite2-Country-CSV.zip eval $(/usr/local/bin/readhash /var/ipfire/proxy/settings) @@ -40,7 +40,7 @@ function download() { # Proxy settings. # Check if a proxy should be used. if [[ $UPSTREAM_PROXY ]]; then - PROXYSETTINGS="-e http_proxy=http://" + PROXYSETTINGS="-e https_proxy=http://" # Check if authentication against the proxy is configured. if [[ $UPSTREAM_USER && $UPSTREAM_PASSWORD ]]; then