Skip to contentSkip to conversation

geoip in Debian 7 working fine (--> please update the distro matrix)

xtables-addons U.Mutlu 2 participants 5 messages Oct 15, 2012 – Oct 18, 2012 netfilter

lore
Share & tools
lore
author
#2 lore raw

Jan Engelhardt wrote, On 10/18/2012 07:18 PM:

Quoted 9 lines · U.Mutlu
Quoted 6 lines

Hello,
please update the matrix at
http://xtables-addons.sourceforge.net/distro-support.php?p=kernel%7Ciptables%7Cxtables-addons%7Cxtables-geoip&d=.*
for Debian 7 (wheezy), as geoip is working well in that distribution (the pkg "xtables-addons-common" from the debian repo must be installed).

Debian does not provide a xtables-geoip package.

As said, I've it working fine here, I used the following steps:

apt-get install xtables-addons-common libtext-csv-xs-perl mkdir -p /usr/share/xt_geoip
cd /usr/lib/xtables-addons
./xt_geoip_dl
./xt_geoip_build -D /usr/share/xt_geoip *.csv

then restart the firewall script with the iptables geoip rules.

But: this is on physical host nodes only, don't know if it works also in virtual systems like openvz containers on the host

author
#3 lore raw

U.Mutlu wrote, On 10/18/2012 07:48 PM:

Quoted 12 lines

Jan Engelhardt wrote, On 10/18/2012 07:18 PM:

Quoted 10 lines · U.Mutlu
Quoted 7 lines

Hello,
please update the matrix at
http://xtables-addons.sourceforge.net/distro-support.php?p=kernel%7Ciptables%7Cxtables-addons%7Cxtables-geoip&d=.*

for Debian 7 (wheezy), as geoip is working well in that distribution (the pkg "xtables-addons-common" from the debian repo must be installed).

Debian does not provide a xtables-geoip package.

Quoted 7 lines

As said, I've it working fine here, I used the following steps:

apt-get install xtables-addons-common libtext-csv-xs-perl mkdir -p /usr/share/xt_geoip
cd /usr/lib/xtables-addons
../xt_geoip_dl
../xt_geoip_build -D /usr/share/xt_geoip *.csv

oops, the mailer has made "..", it must of course be
./xt_geoip_dl
./xt_geoip_build -D /usr/share/xt_geoip *.csv

Quoted 4 lines

then restart the firewall script with the iptables geoip rules.

But: this is on physical host nodes only, don't know if it works also in virtual systems like openvz containers on the host

#4 lore raw
In reply to U.Mutlu
Quoted 9 lines · U.Mutlu

Jan Engelhardt wrote, On 10/18/2012 07:18 PM:

Quoted 8 lines · U.Mutlu
Quoted 6 lines

Hello,
please update the matrix at
http://xtables-addons.sourceforge.net/distro-support.php?p=kernel%7Ciptables%7Cxtables-addons%7Cxtables-geoip&d=.*
for Debian 7 (wheezy), as geoip is working well in that distribution (the pkg "xtables-addons-common" from the debian repo must be installed).

Quoted 3 lines
Quoted 1 line

Debian does not provide a xtables-geoip package.

As said, I've it working fine here, I used the following steps:

I believe you that you did get it to work. However, the table is expressly about distro-package availability (it even says so in big letters), and Debian simply does not have anything premade such that you could apt-get install xtables-geoip to retrieve a (more-or-less) recent version of the geoip db ready for use.