]> git.ipfire.org Git - thirdparty/suricata.git/commit
ssl: support multi-frag certificate assembly
authorVictor Julien <victor@inliniac.net>
Mon, 20 Apr 2020 05:06:31 +0000 (07:06 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 28 Apr 2020 12:07:54 +0000 (14:07 +0200)
commit3ed188e0bcb6f4ae5b6c5eafdd75ce1f8e3d7246
tree76c1031e91dab0e626f9ea8f7e26776e7e0d54a5
parent4f679fd843b2101d76a60f97086aebff0875b507
ssl: support multi-frag certificate assembly

Support reassembling multi-frag certificates. For this the cert queuing
code is changed to queue just the cert, not entire tls record.

Improve message tracking. Better track where a message starts and ends
before passing data around.

Add wrapper macros to check for 'impossible' conditions that are activate
in debug validation mode. This helps fuzzers find input that might trigger
these conditions, if they exist.
src/app-layer-ssl.c
src/tests/detect-tls-ja3-hash.c
src/tests/detect-tls-ja3-string.c
src/tests/detect-tls-sni.c