LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 01-09-2004, 03:31 PM   #1
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Rep: Reputation: 30
IPTABLES 1.2.9 on Kernel 2.6.1


Ok I could be a freaking idiot but I figured I might as well check. Has anyone got this error when trying to run iptables on the new 2.6.1 Kernel?

FATAL: Module ip_tables not found.
iptables v1.2.9: can't initialize iptables table `filter': iptables who? (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.


Thanks!

Justyn
 
Old 01-09-2004, 08:17 PM   #2
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
can I see the output of lsmod?
 
Old 01-12-2004, 08:01 AM   #3
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
root@bosshog:~# lsmod
Module Size Used by
root@bosshog:~#
 
Old 01-12-2004, 02:46 PM   #4
Khabi
Member
 
Registered: Aug 2003
Location: Arizona
Distribution: Gentoo
Posts: 142

Rep: Reputation: 15
well, I've always gotten something outputted at least. like
[root@Tux root]# lsmod
Module Size Used by Not tainted
ide-cd 35808 0 (autoclean)
cdrom 33728 0 (autoclean) [ide-cd]
nls_iso8859-1 3516 1 (autoclean)
nls_cp437 5148 1 (autoclean)
vfat 13100 1 (autoclean)
fat 38776 0 (autoclean) [vfat]
emu10k1 69128 1 (autoclean)
ac97_codec 14632 0 (autoclean) [emu10k1]
sound 74196 0 (autoclean) [emu10k1]
soundcore 6500 7 (autoclean) [emu10k1 sound]
radeon 115684 13
agpgart 48160 3

But my suggestion right now would be to do insmod ip_tables.o and then try starting your firewall up. See if that works.
 
Old 01-13-2004, 08:40 AM   #5
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
Ok I tried that command and it tells me no such file ip_tables.o

When I boot into 2.6.0 iptables works fine. Do you think when I compiled 2.6.1 the modules did not get compiled for some reason?
 
Old 01-15-2004, 05:42 PM   #6
KneeLess
Member
 
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Did you make oldconfig on it? That would take the same config file from the last compile.
 
Old 01-16-2004, 08:03 AM   #7
kemplej
Member
 
Registered: Dec 2003
Posts: 235

Original Poster
Rep: Reputation: 30
Yes I tried that...I also ran make menuconfig and made sure netfilter was marked as YES in the menu.
 
  


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
iptables and kernel 2.6 rb2k Linux - Networking 3 02-13-2004 10:38 AM
Kernel 2.6.0 + iptables Waldi Slackware 3 01-02-2004 08:29 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 - Security

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