LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-31-2003, 02:52 AM   #1
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Rep: Reputation: 15
Kernel 2.6.0 + iptables


I have my "rc.firewall" script generated by Guarddog (I think the most friendly firewall iptables generator) and with kernel 2.4.22 it works OK. But when I boot with 2.6.0. I have following message :

"iptables : no chain/ target/ match by that name"

repeated four times.
What may be wrong with 2.6.0 cooperating with this script?
All needed modules (like ip_conntrack_ftp, ip_tables etc.) loads OK also with 2.6.0.
Maybe I missed some options in new kernel?
 
Old 12-31-2003, 03:37 AM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
Now you need to hack the script to echo something to the screen for each line so you can see the failure...
and run the script manually, ./rc.firewall

My suspicion is that the SNAT/DNATs aren't loading.
If that is the case, try re-installing iptables so that the modules match.
 
Old 01-02-2004, 03:16 AM   #3
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks for your advice, but "rc.firewall" generated by GUARDDOG is rather complex, so it is impossible to "echo" each line.
I'm not an expert for iptables, so could you explain a little closer, what are SNAT/DNAT?
And why I haven't got these errors with 2.4.22 Kernel? With lsmod I discovered, that there is one difference with loading modules : when using 2.6.0 Kernel module "ipt_REJECT" doesn't load, and even doesn't exist in /lib/modules/2.6.0/...
I think I marked all options in 2.6.0 concerning on iptables, so why I haven't got this module (maybe it is not necessary in 2.6.0) and could it be the reason for these errors?

Last edited by Waldi; 01-02-2004 at 03:17 AM.
 
Old 01-02-2004, 08:29 AM   #4
Waldi
Member
 
Registered: Apr 2003
Location: Warsaw, Poland
Distribution: Slackware current
Posts: 133

Original Poster
Rep: Reputation: 15
OK, solved. It was module "ipt_reject" missing, by mistake I haven't marked it during config. Sorry to bother you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables and kernel 2.6 rb2k Linux - Networking 3 02-13-2004 10:38 AM
IPTABLES 1.2.9 on Kernel 2.6.1 kemplej Linux - Security 6 01-16-2004 08:03 AM
iptables and kernel 2.6.0 dingding66 Mandriva 4 12-23-2003 09:56 PM
kernel 2.4.20 and iptables? jownas Linux - Networking 2 07-01-2003 07:44 PM
why me (kernel/iptables) Robert0380 Linux - Software 14 06-17-2003 09:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:35 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