Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] Shorewall: iptables: No chain/target/match by that name.
Date: Sun, 10 Feb 2013 16:49:21
Message-Id: CAN0CFw22Db5bocyr62rPk52=WYycq0e8gXr3GjLQ1r4RdX7mWQ@mail.gmail.com
In Reply to: Re: [gentoo-user] Shorewall: iptables: No chain/target/match by that name. by Dan Johansson
1 >> I'm getting the following when restarting shorewall:
2 >>
3 >> # /etc/init.d/shorewall restart
4 >> * Stopping firewall ...
5 >> * Starting firewall ...
6 >> iptables: No chain/target/match by that name.
7 >>
8 >> How can I find out which chain/target/match I need to compile into the
9 >> kernel? shorewall-init.log does not indicate any problems and I have
10 >> LOG_VERBOSITY=2 in shorewall.conf which is the maximum.
11 >
12 > I hade the same problem. Using "shorewall trace restart" I could figure
13 > out which chain/target/match that was missing.
14
15 Thanks, that got them. A couple oddities:
16
17 'shorewall trace restart' produced output the same as
18 shorewall-init.log which contained no info useful for this purpose.
19 However, 'shorewall trace restart > file.txt' sent completely
20 different output to file.txt which did contain all of the needed info.
21 How can that be?
22
23 I got a lot of "No such file or directory" lines in file.txt for stuff
24 like -j LOGMARK, -m condition, -m geoip, -m ipp2p, nfacct which I
25 can't find in the kernel. Numerous other miscellaneous errors there
26 too. Ignore them if they aren't outputted by the initscript?
27
28 - Grant

Replies

Subject Author
Re: [gentoo-user] Shorewall: iptables: No chain/target/match by that name. Grant <emailgrant@×××××.com>