* [PATCH v1 1/1] update MaxMind URL's
@ 2020-04-19 23:42 Philip Prindeville
0 siblings, 0 replies; only message in thread
From: Philip Prindeville @ 2020-04-19 23:42 UTC (permalink / raw)
To: netfilter; +Cc: Philip Prindeville
From: Philip Prindeville <philipp@redfish-solutions.com>
---
geoip/xt_geoip_dl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/geoip/xt_geoip_dl b/geoip/xt_geoip_dl
old mode 100755
new mode 100644
index 1de60442a8040f55d775d134d7a8ea707582d71e..e46e084160a244aadf0cb66b05e43e0a71009134
--- a/geoip/xt_geoip_dl
+++ b/geoip/xt_geoip_dl
@@ -1,7 +1,10 @@
#!/bin/sh
+YOUR_LICENSE_KEY='your-license-key-here'
+
rm -rf GeoLite2-Country-CSV_*
-wget -q http://geolite.maxmind.com/download/geoip/database/GeoLite2-Country-CSV.zip
+wget -q "https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&license_key=${YOUR_LICENSE_KEY}&suffix=zip" -O GeoLite2-Country-CSV.zip
+
unzip -q GeoLite2-Country-CSV.zip
rm -f GeoLite2-Country-CSV.zip
--
2.17.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-19 23:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-19 23:42 [PATCH v1 1/1] update MaxMind URL's Philip Prindeville
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox