]> git.ipfire.org Git - thirdparty/suricata.git/commit
app-layer: improve limits on number of probing parsers
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 11 Nov 2024 07:52:28 +0000 (08:52 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 29 Mar 2025 05:37:56 +0000 (06:37 +0100)
commit4a82bb7866d36d0603c44fe253289a2a6e866348
treea0624b4d55b36c2d8d0ef93261c64a7904f4f880
parentcd69955d7fca991d0ffc615f6ee7dce9dd20a3c5
app-layer: improve limits on number of probing parsers

There was an implicit limit of 32 app-layer protocols
used by probing parsers through a mask, meaning that
Suricata should not support more than 32 app-layer protocols
in total.

This limit is relaxed to each flow not being able to
run more than 32 probing parsers, meaning that for each source
and destination port combination, the sum of registered
probing parsers should not exceed 32, even if there are more
than 32 in total.

Also sets probing parsers done sooner in the case the other
side of the connection was detected first.

Ticket: 7437
src/app-layer-detect-proto.c