Gentoo Forums
Gentoo Forums
Quick Search: in
Shorewall 4.0.3 and kernel 2.6.22-gentoo-r9
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
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 493
Location: New York, U.S.

PostPosted: Mon Nov 05, 2007 4:28 pm    Post subject: Shorewall 4.0.3 and kernel 2.6.22-gentoo-r9 Reply with quote

I'm running into an issue starting shorewall 4.0.3 in a kernel 2.6.22-gentoo-r9 environment. The error I'm getting is:

Code:

iptables: No chain/target/match by that name
   ERROR: Command "/sbin/iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT" Failed
Processing /etc/shorewall/stop ...
iptables: No chain/target/match by that name


If I boot the old kernel (2.6.18-xxx) it starts fine. I used the same config file to compile both kernels. What do I need to change in the config in order to get Shorewall 4.0.3 working with the new kernel?

Thank you! :D

J.
Back to top
View user's profile Send private message
tarpman
Veteran
Veteran


Joined: 04 Nov 2004
Posts: 1083
Location: Victoria, BC, Canada

PostPosted: Mon Nov 05, 2007 5:06 pm    Post subject: Reply with quote

There have been significant changes in the iptables configuration in the kernel since 2.6.18. You'd be best off going through menuconfig again, at least for that part of it.
_________________
Saving the world, one kilobyte at a time.
Back to top
View user's profile Send private message
tecknojunky
Veteran
Veteran


Joined: 19 Oct 2002
Posts: 1937
Location: Montréal

PostPosted: Tue Nov 06, 2007 12:36 pm    Post subject: Reply with quote

I have the same issue.

I know major changes occured with 2.6.20 which I had to consult a page on the Shorewall website (sorry I forgot the link) to get it resolved. Seem something got changed also in 2.6.22.

I'm still investigating.

[edit] Found it. See this: http://www.shorewall.net/kernel.htm
_________________
(7 of 9) Installing star-trek/species-8.4.7.2::talax.
Back to top
View user's profile Send private message
Ph0eniX
Guru
Guru


Joined: 24 Sep 2004
Posts: 493
Location: New York, U.S.

PostPosted: Mon Nov 26, 2007 2:22 pm    Post subject: Reply with quote

Thank you both! That did the trick!
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3140

PostPosted: Mon Feb 11, 2008 11:51 pm    Post subject: Reply with quote

Thanks! I had the same error in the 1st post when starting shorewall after a kernel update (2.6.18 - 2.6.23). The configs posted in the link seemed to do the trick. I'm not recompiling everything into the kernel, as it seemed to work as modules.
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