]> git.ipfire.org Git - thirdparty/suricata.git/commit
decode: make packet_alert_max configurable
authorJuliana Fajardini <jufajardini@gmail.com>
Wed, 19 Jan 2022 18:29:39 +0000 (18:29 +0000)
committerVictor Julien <vjulien@oisf.net>
Fri, 3 Jun 2022 09:55:42 +0000 (11:55 +0200)
commitd926f166943a9ed028d356707df7cc6e6f417b73
treebd75066ad6d83d7415964a78b66b06697659dd5c
parent46844f52a107846742193c025541289df115fefe
decode: make packet_alert_max configurable

The maximum of possible alerts triggered by a unique packet was
hardcoded to 15. With usage of 'noalert' rules, that limit could be
reached somewhat easily. Make that configurable via suricata.yaml.

Conf Bug#4941

Task #4207

(cherry picked from commit 3ace577d5426e2e1afd1cdf0736151022771226c)
src/decode.c
src/decode.h
src/detect-engine-alert.c
suricata.yaml.in