Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[iptables] Module introuvable (Résolu)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
MasterPrenium
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2006
Posts: 87

PostPosted: Sun May 04, 2008 5:34 pm    Post subject: [iptables] Module introuvable (Résolu) Reply with quote

Coucou tout le monde,

J'avoue être un peu perdu car avant, avec des kernels plus ancients j'y arrivais mais plus mintenant.
Sur mon serveur tourne une gentoo, et j'aimerai donc pouvoir mettre en place iptables pour limiter certains accès etc...

Le problème est le suivant :
Code:
# cat /usr/src/linux/.config | grep IPTABLES
CONFIG_IP_NF_IPTABLES=m
# CONFIG_IP6_NF_IPTABLES is not set


Code:

# modprobe iptables
FATAL: Module iptables not found.

J'ai emerge iptables.

Si vous avez une idée .... car là je vois pas du tout ...


Last edited by MasterPrenium on Mon May 05, 2008 5:42 am; edited 1 time in total
Back to top
View user's profile Send private message
xhub
n00b
n00b


Joined: 01 Jun 2006
Posts: 32
Location: France / Altkirch

PostPosted: Sun May 04, 2008 6:29 pm    Post subject: Reply with quote

Quelle est ta version de noyau ?et pourquoi veut tu charger toi même les modules iptables ? Est ce que la commande iptables ne peut-elle pas faire ça?
Chez moi aucun module ne se nomme comme cela. Si tu as la compétition d'activée, tu peux voir le nom de tous les modules commençant par iptables.
Back to top
View user's profile Send private message
MasterPrenium
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2006
Posts: 87

PostPosted: Sun May 04, 2008 6:32 pm    Post subject: Reply with quote

Kernel : 2.6.24-gentoo-r4
Code:
# iptables -L
iptables v1.4.0: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


Voilà entre autres pourquoi j'aimerai le charger .... J'ai peut-être du mal ... mais avant je chargeai iptables avec modprobe ...
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Sun May 04, 2008 6:35 pm    Post subject: Reply with quote

Que renvoie zgrep NF_FILTER /proc/config.gz ?

Plus d'infos sur le sujet : http://gentoo-wiki.com/HOWTO_Iptables_for_newbies
_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
MasterPrenium
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2006
Posts: 87

PostPosted: Sun May 04, 2008 7:08 pm    Post subject: Reply with quote

Code:
zgrep NF_FILTER /proc/config.gz
CONFIG_IP_NF_FILTER=m


Justement j'avais utilisé ce tuto ... mais le problème si je ne m'abuse vient du fait que je n'ai pas le module iptables ?
Back to top
View user's profile Send private message
Desintegr
l33t
l33t


Joined: 25 Mar 2004
Posts: 863
Location: France - Orléans

PostPosted: Sun May 04, 2008 7:13 pm    Post subject: Reply with quote

Quote:
You'll need to get the userland utilities. Don't forget to modprobe ip_tables and modprobe iptable_filter if you have built them as a module.

_________________
Gentoo ~AMD64
Hoc Volo, Sic Jubeo !
Mon wiki : http://desintegr.free.fr
Back to top
View user's profile Send private message
MasterPrenium
Tux's lil' helper
Tux's lil' helper


Joined: 07 Dec 2006
Posts: 87

PostPosted: Mon May 05, 2008 5:42 am    Post subject: Reply with quote

Honte à moi .... Je suis un boulet des boulets ....
Je tentais un modprobe iptables au lieu de ip_tables.... :( :oops:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French 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