Jump to content


Photo

kernel 2.6.1: iptables doesn't work


  • Please log in to reply
1 reply to this topic

#1 pablovschby

pablovschby

    stranger

  • Members
  • 2 posts

Posted 04 February 2004 - 01:02 PM

I've baked my own new 2.6.1-kernel for my redhat9 and the most functions run well (like usb&rpm's...). But I've got the following problem with loading and acting iptables. I've compiled "iptables" as a modul in my kernel:
Code:
# IP: Netfilter Configuration
#
# CONFIG_IP_NF_CONNTRACK is not set
# CONFIG_IP_NF_QUEUE is not set
CONFIG_IP_NF_IPTABLES=m
CONFIG_IP_NF_MATCH_LIMIT=m
CONFIG_IP_NF_MATCH_IPRANGE=m
CONFIG_IP_NF_MATCH_MAC=m
CONFIG_IP_NF_MATCH_PKTTYPE=m
CONFIG_IP_NF_MATCH_MARK=m
CONFIG_IP_NF_MATCH_MULTIPORT=m
CONFIG_IP_NF_MATCH_TOS=m
CONFIG_IP_NF_MATCH_RECENT=m
CONFIG_IP_NF_MATCH_ECN=m
CONFIG_IP_NF_MATCH_DSCP=m
CONFIG_IP_NF_MATCH_AH_ESP=m
CONFIG_IP_NF_MATCH_LENGTH=m
CONFIG_IP_NF_MATCH_TTL=m
CONFIG_IP_NF_MATCH_TCPMSS=m
CONFIG_IP_NF_MATCH_OWNER=m
CONFIG_IP_NF_MATCH_PHYSDEV=m
CONFIG_IP_NF_FILTER=m
CONFIG_IP_NF_TARGET_REJECT=m
# CONFIG_IP_NF_MANGLE is not set
CONFIG_IP_NF_TARGET_LOG=m
CONFIG_IP_NF_TARGET_ULOG=m
CONFIG_IP_NF_TARGET_TCPMSS=m
CONFIG_IP_NF_ARPTABLES=y
CONFIG_IP_NF_ARPFILTER=y
CONFIG_IP_NF_ARP_MANGLE=y
# CONFIG_IP_NF_COMPAT_IPCHAINS is not set
# CONFIG_IP_NF_COMPAT_IPFWADM is not set

#
# DECnet: Netfilter Configuration
#
# CONFIG_DECNET_NF_GRABULATOR is not set

#
# Bridge: Netfilter Configuration
#
# CONFIG_BRIDGE_NF_EBTABLES is not set
CONFIG_XFRM=y
# CONFIG_XFRM_USER is not set
do you see.... i also can load the module:(?)---...hmmm:
Code:
[root@mobile_abc1 scripts]# modprobe iptables
FATAL: Module iptables not found.
[root@mobile_abc1 scripts]# modprobe ip_tables
[root@mobile_abc1 scripts]# lsmod
Module                  Size  Used by
ip_tables              20240  0
autofs                 15488  0
ds                     14720  0
pcmcia_core            63616  1 ds
ohci1394               34816  0
ieee1394               79244  1 ohci1394
parport_pc             27016  0
parport                42560  1 parport_pc
ide_scsi               14980  0
usbmouse                5760  0
usbkbd                  7424  0
hid                    64000  0
but anyhow, i can't use and act iptables:
Code:
[root@mobile_abc1 scripts]# ./MASTERCHAINS
Filterregeln des MASTERCHAINS werden übernommen...
iptables v1.2.7a: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.2.7a: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.
iptables v1.2.7a: can't initialize ip--...[b]usw, usw[/b]
but why? has got anyone of you an idea, why it isn't running...? the module is loaded as you see above by the command "lsmod"...
regards&thanks
pablo

#2 pablovschby

pablovschby

    stranger

  • Members
  • 2 posts

Posted 04 February 2004 - 05:57 PM

how do you deal with that problem iptables & kernel 2.6.1....?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq