]> err.no Git - linux-2.6/commit
[NETFILTER]: tcp conntrack: do liberal tracking for picked up connections
authorPatrick McHardy <kaber@trash.net>
Wed, 7 Feb 2007 23:05:33 +0000 (15:05 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 8 Feb 2007 20:39:10 +0000 (12:39 -0800)
commita09113c2c8ec59a5cc228efa5869aade2b8f13f7
treedf582dfa453cb8e1c6eb397062f60d69508c38fe
parent6fecd1985116fb08bdee3b9db6719e159fe5e43d
[NETFILTER]: tcp conntrack: do liberal tracking for picked up connections

Do liberal tracking (only RSTs need to be in-window) for connections picked
up without seeing a SYN to deal with window scaling. Also change logging
of invalid packets not to log packets accepted by liberal tracking to avoid
spamming the logs.

Based on suggestion from James Ralston <ralston@pobox.com>

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netfilter/nf_conntrack_tcp.h
net/ipv4/netfilter/ip_conntrack_proto_tcp.c
net/netfilter/nf_conntrack_proto_tcp.c