diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-09-25 20:03:14 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-09-25 20:43:23 +0200 |
commit | 6c0ac8b0457dd56d99f55ccc87e3c9495ee6f412 (patch) | |
tree | 828e1d642572718b38d92083cdb82af9277556b4 /config.h | |
parent | 370ca7c00d23536f2d73f9a80994f24f35f7a877 (diff) |
Added new flow event: FLOW_EVENT_DETECTION_UPDATE
* This event will be triggered when nDPI detection has some new information for us (hopefully).
* Detection change is based on hashing with 32-bit murmur3 certain members of the ndpi flow struct.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'config.h')
-rw-r--r-- | config.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -18,8 +18,9 @@ #define nDPId_IDLE_SCAN_PERIOD 10000 /* 10 sec */ #define nDPId_IDLE_TIME 600000 /* 600 sec */ #define nDPId_POST_END_FLOW_TIME 60000 /* 60 sec */ -#define nDPId_INITIAL_THREAD_HASH 0x03dd018b +#define nDPId_THREAD_DISTRIBUTION_SEED 0x03dd018b #define nDPId_PACKETS_PER_FLOW_TO_SEND 15 +#define nDPId_FLOW_STRUCT_SEED 0x5defc104 /* nDPIsrvd default config options */ #define nDPIsrvd_PIDFILE "/tmp/ndpisrvd.pid" |