[PATCH 0/3] nf_conntrack: fixes for nf_ct_attach in IPv6 stack

Patrick McHardy kaber at trash.net
Wed Feb 15 10:01:44 CET 2006


Harald Welte wrote:
> On Tue, Feb 14, 2006 at 09:41:59PM +0100, Jozsef Kadlecsik wrote:
> 
>>>RSTs and ICMP errors without existing connections should be ignored
>>>by conntrack (and marked as INVALID). Are you sure the RSTs create
>>>new conntracks?
>>
>>Marking packets created by the REJECT target as INVALID would break
>>the functionality of the target itself. Even if there is no real
>>"master" connection, RELATED was more appropriate.
> 
> 
> I totally agree.  Also, we have to keep 100% semantic compatibility with
> the existing ip_conntrack setups, otherwise we'd confuse users and
> create lots of broken packet filters.

Now I get it :) I assumed conntrack should recognize the ICMP or RST
as belonging to the original connection just as for forwarded packets,
but since it is not confirmed yet, this doesn't happen. So the patches
make perfect sense and I'm going to apply them now.



More information about the netfilter-devel mailing list