From: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
To: frederic.beck@loria.fr
Cc: netfilter@lists.netfilter.org
Subject: Re: Problem with state match for ip6tables
Date: Mon, 13 Feb 2006 13:16:24 +0900 (JST) [thread overview]
Message-ID: <200602130416.k1D4GP73019763@toshiba.co.jp> (raw)
In-Reply-To: <20060210145631.1726fd0d@localhost.localdomain>
Hi, all,
From: Frederic Beck <frederic.beck@loria.fr>
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
next prev parent reply other threads:[~2006-02-13 4:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-02 12:38 Problem with state match for ip6tables Frederic Beck
2006-02-04 10:20 ` Graham Murray
2006-02-10 13:56 ` Frederic Beck
2006-02-13 4:16 ` Yasuyuki KOZAKAI [this message]
2006-02-13 9:21 ` Graham Murray
2006-02-13 10:56 ` Graham Murray
2006-02-13 15:30 ` Yasuyuki KOZAKAI
2006-02-15 11:01 ` Frederic Beck
[not found] ` <200602131530.k1DFUhTI005947@toshiba.co.jp>
2006-02-13 18:23 ` Graham Murray
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200602130416.k1D4GP73019763@toshiba.co.jp \
--to=yasuyuki.kozakai@toshiba.co.jp \
--cc=frederic.beck@loria.fr \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox