]> git.ipfire.org Git - thirdparty/suricata.git/commit
exceptions: error out when invalid policy is used
authorJuliana Fajardini <jufajardini@oisf.net>
Wed, 24 Aug 2022 20:36:47 +0000 (17:36 -0300)
committerVictor Julien <vjulien@oisf.net>
Thu, 1 Sep 2022 08:39:36 +0000 (10:39 +0200)
commit0a124f2d270687ed850aafba4965816123ddb643
tree5804901869b50b7686746421c6dcf4daf2f52723
parent449944ebec739da01867b8331133539e4af9511a
exceptions: error out when invalid policy is used

Before, if an invalid value was passed as exception policy, Suricata
would log a warning and set the exception policy to "ignore". This is a
very different result, than, say, dropping or bypassing a midstream flow.

Task #5504

(cherry picked from commit 58ef3cde7a01166a1ae56b814156e2cad02e1251)
src/util-exception-policy.c