]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/fast_pattern: allow for rule time registration
authorVictor Julien <victor@inliniac.net>
Fri, 24 Sep 2021 05:45:39 +0000 (07:45 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 7 Dec 2021 06:56:36 +0000 (07:56 +0100)
commitecce116117cf3ea2d74c3916602dee40ee1c64fd
treef2bec3bfba242bbc70b40f58b7b8d1ce482be8a2
parentdb272443791896a2e29f9bf267e132f05d5f5ea1
detect/fast_pattern: allow for rule time registration

In preparation of more dynamic logic in rule loading also doing
some registration, allow for buffers to be registered as fast_patterns
during rule parsing.

Leaves the register time registrations mostly as-is, but copies the
resulting list into the DetectEngineCtx and works with that onwards.
This list can then be extended.
src/detect-engine-mpm.c
src/detect-engine.c
src/detect-fast-pattern.c
src/detect-fast-pattern.h
src/detect.h