LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-29-2009, 01:38 AM   #1
kwerk
LQ Newbie
 
Registered: Apr 2009
Posts: 1

Rep: Reputation: 0
ipt_state module for iptables


When I try this command I get the unknown error below:

iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT

iptables: Unknown error 4294967295

I think it is because of the state module. I can't find ipt_state.ko anywhere on the system, only ipt_state.h in the kernel source files. Is there anyway to install this module? There is no mention of it in the .config file.

Here is all the modules I have:

/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_ECN.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_LOG.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_REJECT.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_TOS.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_TTL.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_ULOG.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_addrtype.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_ah.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_ecn.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_iprange.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_owner.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_recent.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_tos.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/ipt_ttl.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/iptable_filter.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/iptable_mangle.ko
/lib/modules/2.6.23/kernel/net/ipv4/netfilter/iptable_raw.ko

Last edited by kwerk; 04-29-2009 at 01:42 AM.
 
Old 04-29-2009, 10:56 AM   #2
jomen
Senior Member
 
Registered: May 2004
Location: Leipzig/Germany
Distribution: Arch
Posts: 1,687

Rep: Reputation: 55
The modules name is:
xt_state.ko
it is (for me) located at:
/lib/modules/2.6.29-gentoo-r1/kernel/net/netfilter

You may need to load it by hand or in a script that may need it.

You say
Quote:
There is no mention of it in the .config file.
in my .config file the line reads
Code:
CONFIG_NETFILTER_XT_MATCH_STATE=m
and I suppose it would still be there but instead read:
Code:
# CONFIG_NETFILTER_XT_MATCH_STATE= is not set
if it was not selected/not compiled in.

HTH
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
modprobe -r ipt_state, using 99% cpu Blapto Linux - Networking 0 06-03-2005 04:35 AM
iptables module config swmok Linux - Networking 3 04-17-2005 08:42 AM
Fedora Core 1 Vserver kernel problem (ipt_state) atray Linux - Security 1 11-16-2004 03:34 PM
trouble with iptables module wazilian Linux - Networking 0 09-24-2004 02:55 PM
iptables module error? hotrodowner Linux - Networking 1 04-02-2003 08:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration