netfilter: SYNPROXY target: restrict to INPUT/FORWARD
authorPatrick McHardy <kaber@trash.net>
Sun, 8 Dec 2013 16:52:31 +0000 (16:52 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 11 Dec 2013 10:30:25 +0000 (11:30 +0100)
commitf01b3926ee645974f549f4a6921268142047717c
tree1e09f1ac983c7b8f5a7d15cbf6b14a3cb6db2481
parent8afdd99a1315e759de04ad6e2344f0c5f17ecb1b
netfilter: SYNPROXY target: restrict to INPUT/FORWARD

Fix a crash in synproxy_send_tcp() when using the SYNPROXY target in the
PREROUTING chain caused by missing routing information.

Reported-by: Nicki P. <xastx@gmx.de>
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/ipt_SYNPROXY.c
net/ipv6/netfilter/ip6t_SYNPROXY.c