]> git.ipfire.org Git - thirdparty/suricata.git/commit
stream: fix 'bad window update' false positive 1174/head
authorVictor Julien <victor@inliniac.net>
Thu, 16 Oct 2014 16:38:19 +0000 (18:38 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 22 Oct 2014 15:25:28 +0000 (17:25 +0200)
commita54f52278b351ae445fed03502a8f68a1518ef92
tree69fc88f2b1b1ed0e68a89cb5800ed870fac7127d
parentce472d88be9e9d8342150de8ff1b084c8f7fbadc
stream: fix 'bad window update' false positive

ACK packets completing a valid FIN shutdown could be flagged as
'bad window update' if they would shrink the window.

This patch detects this case before doing the bad window update
check.
src/stream-tcp.c