From: "Philip Prindeville" <philipp@redfish-solutions.com>
To: netfilter@vger.kernel.org
Cc: Philip Prindeville <philipp@redfish-solutions.com>
Subject: [PATCH v1 1/1] update MaxMind URL's
Date: Sun, 19 Apr 2020 17:42:22 -0600 [thread overview]
Message-ID: <20200419234222.9685-1-philipp@redfish-solutions.com> (raw)
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
reply other threads:[~2020-04-19 23:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200419234222.9685-1-philipp@redfish-solutions.com \
--to=philipp@redfish-solutions.com \
--cc=netfilter@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox