]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: per tx detect flags to a u8 progress value 12862/head
authorVictor Julien <vjulien@oisf.net>
Mon, 24 Mar 2025 10:20:39 +0000 (11:20 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 29 Mar 2025 05:38:03 +0000 (06:38 +0100)
commit834378ff887b3d6ac1903efb7a3e7164f593abd0
treee39d022898d87d28ad644a2d60c27c7f3e22a549
parent1542bcdc67d13932d19cc91ba5c1c80d0a7084e9
detect: per tx detect flags to a u8 progress value

Reduce per tx space for tracking detection/prefilter progress. Instead
of a per direction u64 of flags, where each bit reflected a progress
value, use a simple u8 to track the linear progression through the
progress values. Use an offset to allow 0 to mean no value.

Add flags field as well to track "skip detect" and "inspect complete".
rust/src/applayer.rs
rust/src/core.rs
src/app-layer-dnp3.c
src/app-layer-parser.c
src/app-layer-parser.h
src/detect-config.c
src/detect-engine-prefilter.c
src/detect-engine-prefilter.h
src/detect.c