Find the answer to your Linux question:
Results 1 to 2 of 2
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: ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    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 ).

  2. #2
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •