Philippe Antoine
c960b7d7c1
app-layer: AppLayerParserFPtr uses a mut pointer to local storage
...
So, fix the fn prototype in rust ParseFn
9 months ago
Philippe Antoine
455b7d1b3b
rust: use snake case for applayer_register_protocol_detection
11 months ago
Philippe Antoine
6dbc421825
rust: bindgen AppLayerParserConfParserEnabled
...
Ticket: 7667
1 year ago
Philippe Antoine
49b2a2be5d
rust: bindgen SCAppLayerParserRegisterLogger
...
Ticket: 7667
1 year ago
Philippe Antoine
b29d46d81f
rust: bindgen SCAppLayerParserStateIssetFlag
...
Ticket: 7667
1 year ago
Philippe Antoine
7bb0c94ae9
rust: bindgen app-layer-detect-proto.h
...
Ticket: 7667
1 year ago
Philippe Antoine
f2e7309bbb
rust: use bindgened Flow definition
...
Ticket: 7667
1 year ago
Philippe Antoine
78034b218d
rust: bindgen SCDetectSignatureSetAppProto
...
Ticket: 7667
1 year ago
Philippe Antoine
dc20129195
rust: bindgen SCDetectHelperBufferMpmRegister
...
Ticket: 7667
1 year ago
Philippe Antoine
e2603fa820
detect/single-buf: new simple wrapper
...
Introduce DetectGetSingleData which does the generic wrapping,
including the transforms, using a new callback prototype
DetectTxGetBufferPtr
The goal is to replace most InspectionBufferGetDataPtr.
For this commit, we do not change every callback to keep the
change relatively small.
Focus here is to remove DetectHelperGetData as its functionality is
provided more directly by the new DetectTxGetBufferPtr.
1 year ago
Jason Ish
14864d49ac
examples/altemplate: remove rs_ naming
2 years ago
Philippe Antoine
033e0480cf
detect/single-buf: helper with more explicit direction
2 years ago
Philippe Antoine
dadf9012fc
rust: bindgen detect-engine-buffer.h
...
Ticket: 7667
And prefix SCDetectBufferSetActiveList to be exported
Allows less use of suricata crate in plugin as we get the functions
prototypes from suricata_sys and they are more correct.
2 years ago
Philippe Antoine
a6392ac5d4
rust: use pure rust helper for registering sticky buffers
...
Mark sdp and sip keywords with flags SIGMATCH_INFO_STICKY_BUFFER
as a side effect.
2 years ago
Philippe Antoine
9c8ec0d3a9
plugin: applayer: do not use suricata JsonError
...
We do not need a specific error type
2 years ago
Philippe Antoine
96afdce283
detect: rename SCSigTableElmt to SCSigTableAppLiteElmt
2 years ago
Philippe Antoine
5e87b6bd51
plugin: add in-tree app-layer template plugin for testing
...
Ticket: 7151
Ticket: 7152
Ticket: 7154
2 years ago