]> git.ipfire.org Git - thirdparty/suricata.git/commit
exception/policy: use pkt action if no flow support
authorJuliana Fajardini <jufajardini@oisf.net>
Fri, 24 Mar 2023 14:15:14 +0000 (11:15 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 28 Mar 2023 11:58:27 +0000 (13:58 +0200)
commitd4333fb959bf7e12651971d542dc36e77cc2d2ad
treed86df96368f81c5e715493b6ab2ff5ee1e62e5ca
parentd313b5d60598e143e6e97eca8ac35d6a01ec6014
exception/policy: use pkt action if no flow support

Defrag memcap and flow memcap do not support flow action for the
exception policies, as there is no flow when the exception condition is
hit. In such cases, the exception policy must be considered for the
packet only, when that makes sense, or should be ignored, in case of
`bypass`.

Bug #5940
src/util-exception-policy.c