Re: IPv6 state match - possible bug.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ben Skeggs <darktama@xxxxxxxxxxxx>
Date: Mon, 13 Feb 2006 23:54:38 +1100

> Hello,
> 
> I'm not sure if this is a bug, or something I'm doing incorrectly.
> 
> With the (attached) ruleset, I am able to receive ICMPv6 echo replies
> correctly but any other type of connection fails.  The SYN+ACK reply
> appears to get dropped by netfilter.
> 
> IP6-IN: IN=eth0 OUT= MAC=00:0f:ea:70:eb:f9:00:50:8d:e3:b5:89:86:dd
> SRC=2001:0200:0000:8002:0203:47ff:fea5:3085
> DST=2001:0388:c17d:0000:020f:eaff:fe70:ebf9 LEN=80 TC=0 HOPLIMIT=56
> FLOWLBL=1295 PROTO=TCP SPT=80 DPT=33215 WINDOW=57344 RES=0x00 ACK SYN
> URGP=0
> 
> The above is from trying to "wget -6 www.kame.net".
> 
> araqiel ~ # gzcat /proc/config.gz | grep -E "NF_CO|STATE"
> CONFIG_NF_CONNTRACK=y
> # CONFIG_NF_CONNTRACK_MARK is not set
> CONFIG_NF_CONNTRACK_EVENTS=y
> CONFIG_NF_CONNTRACK_FTP=y
> CONFIG_NETFILTER_XT_MATCH_STATE=y
> CONFIG_NF_CONNTRACK_IPV4=y
> # CONFIG_IP_NF_CONNTRACK is not set
> CONFIG_NF_CONNTRACK_IPV6=y
> 
> Does the above config seem okay?

looks fine to me. I tested with recent kernel, same kernrel config,
and same rules, but couldn't reproduce above log.

Which version of kernel(or git commit id) and ip6tables ?
And could you do
	echo 255 > /proc/sys/net/ipv4/netfilter/ip_conntrack_log_invalid

and test same rule ?

Regards,

-- Yasuyuki Kozakai


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux