diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2020-09-24 23:38:53 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2020-09-24 23:41:12 +0200 |
commit | 370ca7c00d23536f2d73f9a80994f24f35f7a877 (patch) | |
tree | 786b2df4c5e1857ee5040f080eac7f9ed56f3c3e /examples/py-flow-info | |
parent | ec1ffb6723651045f69d65ebe8bb5d46b15aef9e (diff) |
Process extra packets with nDPI, still not perfect but results in a more accurate detection.
* set default user used for setuid()
* added 2 TODOs
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'examples/py-flow-info')
-rwxr-xr-x | examples/py-flow-info/flow-info.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/py-flow-info/flow-info.py b/examples/py-flow-info/flow-info.py index 9704c7c7d..27ae2e626 100755 --- a/examples/py-flow-info/flow-info.py +++ b/examples/py-flow-info/flow-info.py @@ -22,6 +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 == 'guessed': event_str = 'Guessed' elif event == 'not-detected': |