Commit Graph

12 Commits (3611ca8c09b718b6802d95489fe587ad519e4ee5)

Author SHA1 Message Date
Jason Ish 3264677d4c ndpi: fix logging of pcap_cnt
PcapPacketCntGet does not exist in 8.0.x.
1 month ago
Antoine Abou Faysal 5ed352db7b plugins/ndpi: guard against NULL f->storage in all callbacks
(cherry picked from commit 29834e3917)
1 month ago
Victor Julien 6e6e12e42b ndpi: minor optimization
Check protocol before doing more expensive work.

(cherry picked from commit 28ba93e60c)
1 month ago
Victor Julien e0ad703a9a npdi: fix null pointer deref in detect keywords
Check for the existence of a flow before calling FlowGetStorageById() on it.

Ticket: #8308.
(cherry picked from commit 278da4bc6a)
2 months ago
Philippe Antoine a2b5225612 rust: bindgen SCSigMatchAppendSMToList
Ticket: 7667
11 months ago
Philippe Antoine 13449344e8 rust: bindgen SCDetectHelperKeywordRegister
Ticket: 7667
11 months ago
Philippe Antoine 96afdce283 detect: rename SCSigTableElmt to SCSigTableAppLiteElmt 1 year ago
Jason Ish 155706f96b jsonbuilder: prefix C API with SC 1 year ago
Jason Ish 81915548de ndpi: ignore packets that have a different proto than the flow
This can happen when the flow is UDP, but an ICMP unreachable is
returned, which gets assigned to the same flow.

Reference: https://github.com/ntop/nDPI/issues/2762
1 year ago
Jason Ish 10ed6280ff ndpi: fix memory in keyword setup
- remove duplicate calls to ndpi_init_detection_module
- cleanup ndpi_init_detection_module when no longer needed
1 year ago
Jason Ish d3835bbb11 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.
1 year ago
Alfredo Cardigliano dfd9ef5784 ndpi: initial implementation of nDPI plugin
Ticket: #7231
1 year ago