Just tried to get started with iptables. Did a modprobe ip_tables and got the error message:
FATAL: Error inserting ip_tables (/lib/modules/2.6.17-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Did a dmesg:
Code:
ip_tables: Unknown symbol xt_compat_unlock
ip_tables: Unknown symbol xt_free_table_info
ip_tables: Unknown symbol xt_register_match
ip_tables: Unknown symbol xt_find_match
ip_tables: Unknown symbol xt_alloc_table_info
ip_tables: Unknown symbol xt_check_match
ip_tables: Unknown symbol xt_unregister_match
ip_tables: Unknown symbol xt_compat_match
ip_tables: Unknown symbol xt_register_target
ip_tables: Unknown symbol xt_register_table
ip_tables: Unknown symbol xt_proto_init
ip_tables: Unknown symbol xt_replace_table
ip_tables: Unknown symbol xt_find_table_lock
ip_tables: Unknown symbol xt_table_unlock
ip_tables: Unknown symbol xt_proto_fini
ip_tables: Unknown symbol xt_check_target
ip_tables: Unknown symbol xt_compat_target
ip_tables: Unknown symbol xt_find_revision
ip_tables: Unknown symbol xt_compat_lock
ip_tables: Unknown symbol xt_unregister_table
ip_tables: Unknown symbol xt_find_target
ip_tables: Unknown symbol xt_unregister_target
ip_tables: Unknown symbol xt_compat_unlock
ip_tables: Unknown symbol xt_free_table_info
ip_tables: Unknown symbol xt_register_match
ip_tables: Unknown symbol xt_find_match
ip_tables: Unknown symbol xt_alloc_table_info
ip_tables: Unknown symbol xt_check_match
ip_tables: Unknown symbol xt_unregister_match
ip_tables: Unknown symbol xt_compat_match
ip_tables: Unknown symbol xt_register_target
ip_tables: Unknown symbol xt_register_table
ip_tables: Unknown symbol xt_proto_init
ip_tables: Unknown symbol xt_replace_table
ip_tables: Unknown symbol xt_find_table_lock
ip_tables: Unknown symbol xt_table_unlock
ip_tables: Unknown symbol xt_proto_fini
ip_tables: Unknown symbol xt_check_target
ip_tables: Unknown symbol xt_compat_target
ip_tables: Unknown symbol xt_find_revision
ip_tables: Unknown symbol xt_compat_lock
ip_tables: Unknown symbol xt_unregister_table
ip_tables: Unknown symbol xt_find_target
ip_tables: Unknown symbol xt_unregister_target
ip_tables: Unknown symbol xt_compat_unlock
ip_tables: Unknown symbol xt_free_table_info
ip_tables: Unknown symbol xt_register_match
ip_tables: Unknown symbol xt_find_match
ip_tables: Unknown symbol xt_alloc_table_info
ip_tables: Unknown symbol xt_check_match
ip_tables: Unknown symbol xt_unregister_match
ip_tables: Unknown symbol xt_compat_match
ip_tables: Unknown symbol xt_register_target
ip_tables: Unknown symbol xt_register_table
ip_tables: Unknown symbol xt_proto_init
ip_tables: Unknown symbol xt_replace_table
ip_tables: Unknown symbol xt_find_table_lock
ip_tables: Unknown symbol xt_table_unlock
ip_tables: Unknown symbol xt_proto_fini
ip_tables: Unknown symbol xt_check_target
ip_tables: Unknown symbol xt_compat_target
ip_tables: Unknown symbol xt_find_revision
ip_tables: Unknown symbol xt_compat_lock
ip_tables: Unknown symbol xt_unregister_table
ip_tables: Unknown symbol xt_find_target
ip_tables: Unknown symbol xt_unregister_target
ip_tables: Unknown symbol xt_compat_unlock
ip_tables: Unknown symbol xt_free_table_info
ip_tables: Unknown symbol xt_register_match
ip_tables: Unknown symbol xt_find_match
ip_tables: Unknown symbol xt_alloc_table_info
ip_tables: Unknown symbol xt_check_match
ip_tables: Unknown symbol xt_unregister_match
ip_tables: Unknown symbol xt_compat_match
ip_tables: Unknown symbol xt_register_target
ip_tables: Unknown symbol xt_register_table
ip_tables: Unknown symbol xt_proto_init
ip_tables: Unknown symbol xt_replace_table
ip_tables: Unknown symbol xt_find_table_lock
ip_tables: Unknown symbol xt_table_unlock
ip_tables: Unknown symbol xt_proto_fini
ip_tables: Unknown symbol xt_check_target
ip_tables: Unknown symbol xt_compat_target
ip_tables: Unknown symbol xt_find_revision
ip_tables: Unknown symbol xt_compat_lock
ip_tables: Unknown symbol xt_unregister_table
ip_tables: Unknown symbol xt_find_target
ip_tables: Unknown symbol xt_unregister_target
And a modinfo ip_tables:
filename: /lib/modules/2.6.17-gentoo-r5/kernel/net/ipv4/netfilter/ip_tables.ko
license: GPL
author: Netfilter Core Team <coreteam@netfilter.org>
description: IPv4 packet filter
vermagic: 2.6.17-gentoo-r5 mod_unload gcc-4.1
depends:
and my current modules are:
usb_storage 71232 2
uhci_hcd 24144 0
parport_pc 42792 0
parport 41484 1 parport_pc
floppy 66568 0
nvidia 5428148 12
forcedeth 30156 0
usbhid 42976 0
snd_intel8x0 36456 2
snd_ac97_codec 107416 1 snd_intel8x0
snd_ac97_bus 3008 1 snd_ac97_codec
snd_pcm 94476 3 snd_intel8x0,snd_ac97_codec
snd_timer 24904 2 snd_pcm
snd 56048 6 snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 10896 2 snd_intel8x0,snd_pcm
ehci_hcd 32904 0
ohci_hcd 20932 0
i2c_nforce2 8256 0
vfat 14848 0
fat 54832 1 vfa
so it didn't even load.
Can't find much on this anywhere, other than maybe a 32-bit to 64-bit compatibility issue (running on 64-bit Gentoo system)
Thoughts?