]> git.ipfire.org Git - thirdparty/suricata.git/commit
output/anomaly: Restrict anomaly logger count
authorJeff Lucovsky <jeff@lucovsky.org>
Sat, 1 Aug 2020 13:45:04 +0000 (09:45 -0400)
committerVictor Julien <victor@inliniac.net>
Sun, 2 Aug 2020 18:36:22 +0000 (20:36 +0200)
commitc42574169e0b3e4bca396493b21f0208ee1bc759
tree25ef576c5dd9ba6181530f3d429900c214fac3ed
parent61c327dd80f02484481cbea6d48168063ae90a69
output/anomaly: Restrict anomaly logger count

This commit restricts the anomaly logger count. The restriction is
necessary due to state maintenance in the logger that doesn't scale
beyond a single logger.

Until that issue's solved, when multiple anomaly loggers are configured,
an error message will be emitted to highlight the restriction.
src/output-json-anomaly.c