Package Details: xtables-geoip-db 1.2-1

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://dev.maxmind.com/geoip/geoip2/geolite2/
Licenses: GPL, BSD
Submitter: amish
Maintainer: amish
Last Packager: amish
Votes: 7
Popularity: 0.013752
First Submitted: 2014-05-04 12:27
Last Updated: 2020-01-04 17:48

Dependencies (2)

Required by (0)

Sources (2)

Pinned Comments

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.

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.

Latest Comments

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.