diff -urN xtables-addons-1.47.1.old/geoip/xt_geoip_dl xtables-addons-1.47.1/geoip/xt_geoip_dl --- xtables-addons-1.47.1.old/geoip/xt_geoip_dl 2020-01-11 11:03:01.000000000 +0400 +++ xtables-addons-1.47.1/geoip/xt_geoip_dl 2020-01-11 11:07:26.045000000 +0400 @@ -1,7 +1,13 @@ #!/bin/sh +LicenseKey=$(/sbin/e-smith/config get xt_geoip_LicenseKey) +#echo $LicenseKey + rm -rf GeoLite2-Country-CSV_* -wget -q http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip +wget -O GeoLite2-Country-CSV.zip -q "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${LicenseKey}&suffix=zip" + +#wget -q http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip + unzip -q GeoLite2-Country-CSV.zip rm -f GeoLite2-Country-CSV.zip