Package now uses DB-IP GeoIP database. If you still want to use MaxMind GeoLite2 database then read PKGBUILD for details. (needs license key from MaxMind)
Search Criteria
Package Details: xtables-geoip-db 2.1-6
Git Clone URL: | https://aur.archlinux.org/xtables-geoip-db.git (read-only, click to copy) |
---|---|
Package Base: | xtables-geoip-db |
Description: | GeoIP Database for xtables |
Upstream URL: | https://db-ip.com/db/download/ip-to-country-lite |
Keywords: | db-ip geoip geolite2 maxmind |
Licenses: | |
Submitter: | amish |
Maintainer: | amish |
Last Packager: | amish |
Votes: | 7 |
Popularity: | 0.000009 |
First Submitted: | 2014-05-04 12:27 |
Last Updated: | 2021-01-17 11:27 |
Latest Comments
amish commented on 2020-03-14 09:43
amish commented on 2020-01-07 13:51
Quote from PKGBUILD:
#create a file named geoip.license.key which contains MaxMind License key in following format:
_maxmind_key=XXXX
Where XXXX is your GeoIP license key, which is available for free from Maxmind.
After that you can build the package normally.
gaura.panasenko commented on 2020-01-07 11:27
Hello!
There is error while building this package: ERROR: Failure while downloading https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-Country-CSV&suffix=zip&license_key=
When I go to this link I get: Invalid license key
And on link https://dev.maxmind.com/geoip/geoip2/geolite2/ I read this message: Due to upcoming data privacy regulations, we are making significant changes to how you access free GeoLite2 databases starting December 30, 2019.
As described here https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/ It is required to sign up for a MaxMind account and create license key to download this file.
amish commented on 2018-12-22 19:37
Those using nftables may try this AUR package: https://aur.archlinux.org/packages/nftables-geoip-db/
See README of the package for details. Thank you.
HanFox commented on 2015-08-13 11:30
This depends on unzip to install as line 8 of /usr/lib/iptables/xtables-addons/xt_geoip_dl calls it.
amish commented on 2015-01-10 02:28
Well if you want it to be automatic then package is not required!
Just make a script with this 2 commands(rough idea)
sh /usr/lib/iptables/xtables-addons/xt_geoip_dl
perl /usr/lib/iptables/xtables-addons/xt_geoip_build -D "/usr/share/xt_geoip" GeoIP*.csv
jskier commented on 2015-01-09 20:41
This works really well, thank you. Would you be interested in incorporating a systemd timer to run the perl script to update the database the first Tuesday of the month? That way, a manual rebuild of the package would not be necessary to update the database.
Pinned Comments
amish commented on 2020-03-14 09:43
Package now uses DB-IP GeoIP database. If you still want to use MaxMind GeoLite2 database then read PKGBUILD for details. (needs license key from MaxMind)
amish commented on 2018-12-22 19:37
Those using nftables may try this AUR package: https://aur.archlinux.org/packages/nftables-geoip-db/
See README of the package for details. Thank you.