Hi, all, From: Frederic Beck <frederic.beck@xxxxxxxx> Date: Fri, 10 Feb 2006 14:56:31 +0100 > > > root@trunks:~/firewalling/iptables > > > % ip6tables -A FORWARD -m state --state ESTABLISHED -j ACCEPT > > > ip6tables: Unknown error 4294967295 > > > > I see the same problem with gentoo kernel 2.6.15-r2 and iptables > > 1.3.5, except that I also add the protocol > > > > # ip6tables -I INPUT 1 -p tcp -m state --state NEW,ESTABLISHED -j > > ACCEPT ip6tables: Unknown error 4294967295 > > > > strace shows this prior to the error > > > > socket(PF_INET6, SOCK_RAW, IPPROTO_RAW) = 3 > > getsockopt(3, SOL_IPV6, 0x40 /* IPV6_??? */, > > "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [84]) = 0 > > getsockopt(3, SOL_IPV6, 0x41 /* IPV6_??? */, > > "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [2328]) = > > 0 setsockopt(3, SOL_IPV6, 0x40 /* IPV6_??? */, > > "filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2620) = > > -1 ENOENT (No such file or directory) write(2, "ip6tables: Unknown > > error 4294967"..., 36ip6tables: Unknown error 4294967295 ) = 36 > > I tried on several distributions (debian, fedora) and kernel versions > (2.6.14, 2.6.8), but i get each time the same error. > > Is this a known bug ? I couldn't find it in netfilter's bugzilla The only kernel >= 2.6.15 supports IPv6 state match. And kernel option CONFIG_NETFILTER_XTABLES and CONFIG_NETFILTER_XT_MATCH_STATE are required. Please "make menuconfig" in kernel source, and go to the menu "Network packet filtering (replaces ipchains)", enable "Netfilter Xtables support (required for ip_tables)", enable "state match support". Regards, -- Yasuyuki Kozakai