Проблемы с настройкой iptables. Unknown symbol in module, or unknown parameter (see dmesg).
beba 1 марта, 2008 - 19:41
Всем доброго:
Пытаюсь начать работу и настроить iptables.
Руководствовался по выбору опций для ядра по ссылке: http://ru.gentoo-wiki.com/%D0%9B%D0%BE%D0%B3%D0%B8%D0%BA%D0%B0_%D0%B8_%D0%BF%D1%80%D0%B0%D0%B2%D0%B8%D0%BB%D0%B0_iptables
localhost ~ # modprobe ip_tables FATAL: Error inserting ip_tables (/lib/modules/2.6.23-gentoo-r9/kernel/net/ipv4/netfilter/ip_tables.ko): Unknown symbol in module, or unknown parameter (see dmesg)
localhost ~ # dmesg 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 nf_register_sockopt ip_tables: Unknown symbol request_module ip_tables: Unknown symbol xt_check_match ip_tables: Unknown symbol xt_unregister_match ip_tables: Unknown symbol nf_unregister_sockopt 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_find_revision 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_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 nf_register_sockopt ip_tables: Unknown symbol request_module ip_tables: Unknown symbol xt_check_match ip_tables: Unknown symbol xt_unregister_match ip_tables: Unknown symbol nf_unregister_sockopt 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_find_revision ip_tables: Unknown symbol xt_unregister_table ip_tables: Unknown symbol xt_find_target ip_tables: Unknown symbol xt_unregister_target
localhost ~ # cat /usr/src/linux/.config | grep -i net # Networking CONFIG_NET=y # Networking options # CONFIG_NET_KEY is not set CONFIG_INET=y # CONFIG_NET_IPIP is not set # CONFIG_NET_IPGRE is not set # CONFIG_INET_AH is not set # CONFIG_INET_ESP is not set # CONFIG_INET_IPCOMP is not set # CONFIG_INET_XFRM_TUNNEL is not set CONFIG_INET_TUNNEL=y CONFIG_INET_XFRM_MODE_TRANSPORT=y CONFIG_INET_XFRM_MODE_TUNNEL=y # CONFIG_INET_XFRM_MODE_BEET is not set CONFIG_INET_DIAG=y CONFIG_INET_TCP_DIAG=y # CONFIG_INET6_AH is not set # CONFIG_INET6_ESP is not set # CONFIG_INET6_IPCOMP is not set # CONFIG_INET6_XFRM_TUNNEL is not set # CONFIG_INET6_TUNNEL is not set CONFIG_INET6_XFRM_MODE_TRANSPORT=y CONFIG_INET6_XFRM_MODE_TUNNEL=y # CONFIG_INET6_XFRM_MODE_BEET is not set # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set # CONFIG_NETWORK_SECMARK is not set CONFIG_NETFILTER=y CONFIG_NETFILTER_DEBUG=y # Core Netfilter Configuration # CONFIG_NETFILTER_NETLINK is not set # CONFIG_NF_CONNTRACK_NETBIOS_NS is not set CONFIG_NETFILTER_XTABLES=y CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m # CONFIG_NETFILTER_XT_TARGET_CONNMARK is not set # CONFIG_NETFILTER_XT_TARGET_DSCP is not set CONFIG_NETFILTER_XT_TARGET_MARK=m # CONFIG_NETFILTER_XT_TARGET_NFQUEUE is not set CONFIG_NETFILTER_XT_TARGET_NFLOG=m # CONFIG_NETFILTER_XT_TARGET_TCPMSS is not set CONFIG_NETFILTER_XT_MATCH_COMMENT=m # CONFIG_NETFILTER_XT_MATCH_CONNBYTES is not set # CONFIG_NETFILTER_XT_MATCH_CONNLIMIT is not set # CONFIG_NETFILTER_XT_MATCH_CONNMARK is not set # CONFIG_NETFILTER_XT_MATCH_CONNTRACK is not set # CONFIG_NETFILTER_XT_MATCH_DCCP is not set # CONFIG_NETFILTER_XT_MATCH_DSCP is not set CONFIG_NETFILTER_XT_MATCH_ESP=m # CONFIG_NETFILTER_XT_MATCH_HELPER is not set # CONFIG_NETFILTER_XT_MATCH_LENGTH is not set CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MAC=m CONFIG_NETFILTER_XT_MATCH_MARK=m CONFIG_NETFILTER_XT_MATCH_POLICY=m CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m # CONFIG_NETFILTER_XT_MATCH_PKTTYPE is not set # CONFIG_NETFILTER_XT_MATCH_QUOTA is not set # CONFIG_NETFILTER_XT_MATCH_REALM is not set # CONFIG_NETFILTER_XT_MATCH_SCTP is not set # CONFIG_NETFILTER_XT_MATCH_STATE is not set # CONFIG_NETFILTER_XT_MATCH_STATISTIC is not set # CONFIG_NETFILTER_XT_MATCH_STRING is not set # CONFIG_NETFILTER_XT_MATCH_TCPMSS is not set # CONFIG_NETFILTER_XT_MATCH_U32 is not set # CONFIG_NETFILTER_XT_MATCH_HASHLIMIT is not set # IP: Netfilter Configuration # IPv6: Netfilter Configuration (EXPERIMENTAL) # CONFIG_DECNET is not set # CONFIG_ECONET is not set # CONFIG_NET_SCHED is not set # Network testing # CONFIG_NET_PKTGEN is not set # CONFIG_NET_TCPPROBE is not set # CONFIG_NET_9P is not set CONFIG_SCSI_NETLINK=y # CONFIG_PATA_NETCELL is not set CONFIG_NETDEVICES=y CONFIG_NETDEVICES_MULTIQUEUE=y # CONFIG_NET_SB1000 is not set # CONFIG_ARCNET is not set CONFIG_NET_ETHERNET=y CONFIG_NET_VENDOR_3COM=y CONFIG_NET_TULIP=y CONFIG_NET_PCI=y # CONFIG_PCNET32 is not set CONFIG_NETDEV_1000=y CONFIG_NETDEV_10000=y # CONFIG_NETXEN_NIC is not set # USB Network Adapters # CONFIG_USB_USBNET_MII is not set # CONFIG_USB_USBNET is not set # CONFIG_NET_FC is not set CONFIG_NETCONSOLE=y CONFIG_NETPOLL=y # CONFIG_NETPOLL_TRAP is not set CONFIG_NET_POLL_CONTROLLER=y # Network File Systems
На форуме нашел тему с подобной ошибкой, но там у чела не было включена CONFIG_NETFILTER. У меня включена..
Но не работает. :(
В чем может быть дело?
Спасибо.
»
- Для комментирования войдите или зарегистрируйтесь