View previous topic :: View next topic |
Author |
Message |
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Sat Mar 26, 2016 7:23 pm Post subject: Using xtables geoip... |
|
|
I am familiar with using xtables and use it on my older servers to only allow traffic from the US, but while I chose to support it in my kernel and emerged xtables-addons, I seem to be missing both "xt_geoip_dl" and "xt_geoip_build". These scripts download and build the data required to use geoip. Without them, I cannot use the main feature in xtables. I see those scripts referenced in man pages, but they do not exist before or after emerging xtables-addons. Is there something I am missing or is this done differently in Gentoo? _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Sun Mar 27, 2016 10:05 pm Post subject: |
|
|
Anybody? I would really like to start implementing this on our laptops, but the helper scripts appear to be missing in Gentoo. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
salam Apprentice
Joined: 29 Sep 2005 Posts: 221
|
Posted: Mon Mar 28, 2016 3:56 pm Post subject: |
|
|
Code: | distfiles # xzcat xtables-addons-2.10.tar.xz | tar tf - | grep xt_geoip_
xtables-addons-2.10/geoip/xt_geoip_build
xtables-addons-2.10/geoip/xt_geoip_build.1
xtables-addons-2.10/geoip/xt_geoip_dl
xtables-addons-2.10/geoip/xt_geoip_dl.1
|
They are emerged to /lib64/xtables-addons |
|
Back to top |
|
|
The_Great_Sephiroth Veteran
Joined: 03 Oct 2014 Posts: 1602 Location: Fayetteville, NC, USA
|
Posted: Mon Mar 28, 2016 4:53 pm Post subject: |
|
|
But where are they? I am getting no results searching.
Code: |
~ $ sudo whereis xt_geop_dl
xt_geop_dl:
~ $ sudo whereis xt_geop_build
xt_geop_build:
|
It is like the scripts are not installed.
*UPDATE*
OK, NOW I see the last line in your reply. I somehow missed it before. They are right where you said. Thank you very much for your help. _________________ Ever picture systemd as what runs "The Borg"? |
|
Back to top |
|
|
Syl20 l33t
Joined: 04 Aug 2005 Posts: 619 Location: France
|
Posted: Tue Mar 29, 2016 12:58 pm Post subject: |
|
|
You can find what an ebuild installed by running (from app-portage/gentoolkit) Code: | $ equery files some-category/some-package |
|
|
Back to top |
|
|
|