Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Using xtables geoip...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sat Mar 26, 2016 7:23 pm    Post subject: Using xtables geoip... Reply with quote

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
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Sun Mar 27, 2016 10:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
salam
Apprentice
Apprentice


Joined: 29 Sep 2005
Posts: 226

PostPosted: Mon Mar 28, 2016 3:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1602
Location: Fayetteville, NC, USA

PostPosted: Mon Mar 28, 2016 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Syl20
l33t
l33t


Joined: 04 Aug 2005
Posts: 619
Location: France

PostPosted: Tue Mar 29, 2016 12:58 pm    Post subject: Reply with quote

You can find what an ebuild installed by running (from app-portage/gentoolkit)
Code:
$ equery files some-category/some-package
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum