Gentoo Archives: gentoo-user

From: Dan Johansson <Dan.Johansson@×××.nu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 -> 2.6.20-r6)
Date: Sat, 21 Apr 2007 18:17:17
Message-Id: 200704212011.55261.Dan.Johansson@dmj.nu
In Reply to: Re: [gentoo-user] iptables will not load rule after kernel upgrade (2.6.19-r5 -> 2.6.20-r6) by Uwe Thiem
1 On Saturday 21 April 2007 15:53, Uwe Thiem wrote:
2 > On 21 April 2007, Dan Johansson wrote:
3 > > After upgrading gentoo-sources to 2.6.20-r6 from 2.6.19-r5 today my
4 > > firewall won't start (shorewall).
5 > >
6 > > The here's the error:
7 > > iptables: Invalid argument
8 > > ERROR: Command "/sbin/iptables -A FORWARD -m state --state
9 > > ESTABLISHED,RELATED -j ACCEPT" Failed
10 > >
11 > > I'm getting the same errormessage when it try it by hand.
12 >
13 > When you generated the kernel, did you build all modules necessary. In this
14 > particlu case, ipt_state?
15 If you meen CONFIG_NETFILTER_XT_MATCH_STATE=y then yes it's compiled in (not a
16 module). You know of any other part that NEEDS to be activated other the the
17 following?
18
19 CONFIG_NETFILTER=y
20 CONFIG_NF_CONNTRACK_ENABLED=y
21 CONFIG_NF_CONNTRACK_SUPPORT=y
22 CONFIG_NF_CONNTRACK=y
23 CONFIG_NETFILTER_XTABLES=y
24 CONFIG_NETFILTER_XT_MATCH_LIMIT=y
25 CONFIG_NETFILTER_XT_MATCH_STATE=y
26 CONFIG_IP_NF_QUEUE=y
27 CONFIG_IP_NF_IPTABLES=y
28 CONFIG_IP_NF_FILTER=y
29 CONFIG_IP_NF_TARGET_REJECT=y
30 CONFIG_IP_NF_TARGET_LOG=y
31 CONFIG_IP_NF_MANGLE=y
32
33
34 --
35 Dan Johansson, <http://www.dmj.nu>
36 ***************************************************
37 This message is printed on 100% recycled electrons!
38 ***************************************************

Replies