]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/prefilter: add post-match 'prefilter' engine
authorVictor Julien <vjulien@oisf.net>
Wed, 2 Apr 2025 07:06:57 +0000 (09:06 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 3 Apr 2025 08:05:43 +0000 (10:05 +0200)
commit52c071b14a0ef5db56feab96136cb52c8d75be7e
treea031df20fbbdf1cb6dcfbb044c740f9ae376fca6
parent22526d3f69be9132abb27258ecb3e191752f989c
detect/prefilter: add post-match 'prefilter' engine

Add support for special post-match engines. This allows a rule to enable
other rules when it matches.

Implementation is similar to prefilter engines, however prefilter
engines run before individual rules while this post-match engine runs
after and individual rule match. It will then add the new rules to the
existing rule list.
src/app-layer-events.c
src/detect-engine-prefilter.c
src/detect-engine-prefilter.h
src/detect-engine-siggroup.c
src/detect-engine.c
src/detect-prefilter.c
src/detect.c
src/detect.h