Philippe Antoine
a7448a0c16
rust: bindgen SCDetectHelperBufferRegister
...
Ticket: 7667
4 months ago
Philippe Antoine
0d82e905bc
rust: bindgen DetectHelperMultiBufferMpmRegister
...
Ticket: 7667
4 months ago
Philippe Antoine
dfa4df9f54
rust: bindgen SCDetectHelperMultiBufferProgressMpmRegister
...
Ticket: 7667
4 months ago
Philippe Antoine
fd7bd9c200
src: new file detect-engine-inspect-buffer.h
...
For InspectionBuffer structure and related functions
Bindgen it for rust, especially transforms
Ticket: 7667
4 months ago
Philippe Antoine
cf336396c3
rust: bindgen detect-engine-helper.h
...
Ticket: 7667
Begin by focusing on transforms
4 months ago
Philippe Antoine
033e0480cf
detect/single-buf: helper with more explicit direction
4 months ago
Philippe Antoine
808f8a877a
detect/multi-buf: helper with more explicit direction
4 months ago
Philippe Antoine
990ed204eb
detect/multi-buf: use only one progress
...
for both inspect engine and app-layer mpm
4 months ago
Philippe Antoine
8ecc3efdc8
detect/multi-buf: harmonize wrapper
...
Introduce DetectGetMultiData which does the generic wrapping,
including the transforms.
And let each keyword do just the getter.
4 months ago
Philippe Antoine
96afdce283
detect: rename SCSigTableElmt to SCSigTableAppLiteElmt
4 months ago
Philippe Antoine
9814b698c8
detect/dns: move keywords to rust
...
Ticket: 7529
Ticket: 3725
Adds url for dns.opcode on the way
4 months ago
Philippe Antoine
bb9b8d2460
detect: new helper to register multi-buffer with progress
...
This allows to use these engines for hook rules needing exact
progress (checked in SigValidate)
4 months ago
Jeff Lucovsky
22ea5ddbb7
detect/transforms: Add engine detect thread ctx to signature
...
Modify the transform function signature to include the detect engine
thread ctx.
5 months ago
Jason Ish
c57e1425f5
detect: split new keyword id from registration
...
Split DetectHelperKeywordRegister into 2 functions, one for acquiring
a new keyword ID, and another to perform the registration.
This makes it easier to do the traditional C keyword initialization
with a dynamic ID.
6 months ago
Jeff Lucovsky
e45204aecf
detect/transform: Refactor setup/apply pattern
...
git grep -A 1 -w InspectionBufferSetup shows many cases of the following
call patterns:
- InspectionBufferSetup
- InspectionBufferApplyTransforms
Refactor the implementations of those functions into
InspectionBufferSetupAndApplyTransforms to reduce function call count.
Issue: 2290 (related to changed for this issue)
6 months ago
Philippe Antoine
4985ebc0e0
transforms: move strip_whitespace to rust
...
Ticket: 7229
10 months ago
Philippe Antoine
f4e7d1e217
detect: helper function for multibuffer registration
...
So that rust does not need to know about SIG_FLAG_TOCLIENT value
1 year ago
Philippe Antoine
647e878f7c
detect: helper function for multibuffer
1 year ago
Philippe Antoine
4bbe7d92dc
detect: helper to have pure rust keywords
...
detect: make number of keywords dynamic
Ticket: 4683
1 year ago