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>
This commit is contained in:
Toni Uhlig
2020-09-25 20:03:14 +02:00
parent 370ca7c00d
commit 6c0ac8b045
3 changed files with 128 additions and 40 deletions

View File

@@ -22,8 +22,8 @@ def parse_json_str(json_str):
event_str = 'Idle flow'
elif event == 'detected':
event_str = 'Detected'
elif event == 'detected-extra':
event_str = 'Detected Extra'
elif event == 'detection-update':
event_str = 'Update'
elif event == 'guessed':
event_str = 'Guessed'
elif event == 'not-detected':