]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: tcp-checks: disable quick-ack unless next rule is an expect
authorWilly Tarreau <w@1wt.eu>
Mon, 8 Dec 2014 11:11:28 +0000 (12:11 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 8 Dec 2014 11:11:28 +0000 (12:11 +0100)
commitf3d3482c984593b21a6d3de6d66a83a338316b85
treeaccbc58b46e0cf91213a59f285171f5d36cd82df
parentd2a49592faca66381303d8e0d63665ae44046def
BUG/MEDIUM: tcp-checks: disable quick-ack unless next rule is an expect

Using "option tcp-checks" without any rule is different from not using
it at all in that checks are sent with the TCP quick ack mode enabled,
causing servers to log incoming port probes.

This commit fixes this behaviour by disabling quick-ack on tcp-checks
unless the next rule exists and is an expect. All combinations were
tested and now the behaviour is as expected : basic port probes are
now doing a SYN-SYN/ACK-RST sequence.

This fix must be backported to 1.5.
src/checks.c