]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: finally catch the heartbeats missing the padding
authorWilly Tarreau <w@1wt.eu>
Fri, 25 Apr 2014 21:59:58 +0000 (23:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 25 Apr 2014 22:03:48 +0000 (00:03 +0200)
commitaeed672a6d2667024b0be5e142301ce212fdf086
tree36088f9f700c5c5b16e78b9a20fcc61026d5db25
parent3b2fdb6f5597e5939fb8187a81db2258d2567d0c
MINOR: ssl: finally catch the heartbeats missing the padding

Previous patch only focused on parsing the packet right and blocking
it, so it relaxed one test on the packet length. The difference is
not usable for attacking but the logs will not report an attack for
such cases, which is probably bad. Better report all known invalid
packets cases.
src/ssl_sock.c