Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Servers
Reload this Page IP Tables mange error
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Servers Anything server related, Apache, MySQL, Samba, server security, sendmail, exim, etc

Reply
 
Thread Tools Display Modes
Old 07-22-2003   #1 (permalink)
wise1
Just Joined!
 
Join Date: Jul 2003
Posts: 6
IP Tables mange error

I am trying to install a firewall called apf, it runs fine on my other server but not this one as the kernell is different.

The error is:

iptables v1.2.5: can't initialize iptables table `mangle': Table does not exist (do you need to insmod?)

when I run lsmod, I get :

Module Size Used by Not tainted
ipt_REJECT 3872 0
iptable_filter 2432 0
ip_tables 13600 2 [ipt_REJECT iptable_filter]
8139too 16000 1
mii 3800 0 [8139too]


When I run on my other server I get:

Module Size Used by Not tainted
ipt_ttl 1408 1 (autoclean)
cls_u32 5860 0 (unused)
sch_tbf 3360 0 (unused)
sch_cbq 14240 1
ipt_mark 1216 1 (autoclean)
ipt_MARK 1632 13 (autoclean)
ipt_TOS 1856 6 (autoclean)
iptable_mangle 3040 1
ipt_multiport 1440 3
ip_conntrack_ftp 5120 0 (unused)
ip_conntrack_irc 4320 0 (unused)
ipt_REJECT 4032 1
ipt_LOG 4416 10
ipt_limit 1728 11
ipt_state 1344 17
ip_conntrack 26164 3 [ip_conntrack_ftp ip_conntrack_irc ipt_state]
ipt_unclean 7840 2
iptable_filter 2560 1
ip_tables 13952 12 [ipt_ttl ipt_mark ipt_MARK ipt_TOS iptable_mangle ipt_multiport ipt_REJECT ipt_LOG ipt_limit ipt_state ipt_unclean iptable_filter]
autofs 11844 0 (autoclean) (unused)
8139too 17024 1
mii 3976 0 [8139too]
ext3 66624 3 (autoclean)
jbd 47628 3 (autoclean) [ext3]
usb-uhci 24676 0 (unused)
usbcore 73792 1 [usb-uhci]


So you can see ip mange and ip conntrack, etc....

What would i type using insmod to load mange, or should I use modprobe?

Bit confused with this. even if the insmod command works, do I have to do anything with the kernel (answers must be no ).
wise1 is offline   Reply With Quote
Old 08-11-2003   #2 (permalink)
ventricle
Just Joined!
 
Join Date: Apr 2003
Location: Australia & England
Posts: 75
insmod will insert the module, so will modprobe.
The difference between the two is that modprobe will attempt to load all dependent modules as well (I believe).
You need to make sure you have all the IPTables options in the kernel selected, I think I just choose everything related to IPtables when I compile my kernel.
__________________
LRU 309633
Slackware 9.1
ventricle is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 07:37 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0