From 521d0ca7a0196889f5452a2e725f8e01ddf79efb Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Mon, 14 Oct 2024 18:05:35 +0200 Subject: Add monitoring capability (#2588) Allow nDPI to process the entire flows and not only the first N packets. Usefull when the application is interested in some metadata spanning the entire life of the session. As initial step, only STUN flows can be put in monitoring. See `doc/monitoring.md` for further details. This feature is disabled by default. Close #2583 --- fuzz/fuzz_readerutils_parseprotolist.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'fuzz/fuzz_readerutils_parseprotolist.cpp') diff --git a/fuzz/fuzz_readerutils_parseprotolist.cpp b/fuzz/fuzz_readerutils_parseprotolist.cpp index 9b3549cf6..64b3ec3f1 100644 --- a/fuzz/fuzz_readerutils_parseprotolist.cpp +++ b/fuzz/fuzz_readerutils_parseprotolist.cpp @@ -14,6 +14,7 @@ int malloc_size_stats = 0; FILE *fingerprint_fp = NULL; bool do_load_lists = false; char *addr_dump_path = NULL; +int monitoring_enabled = 0; extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { FuzzedDataProvider fuzzed_data(data, size); -- cgit v1.2.3