Added nDPId semantic validation test.

* fixed inconsistent processing of remaining flows during nDPId shutdown phase
 * fixed multiple `detected' flow events
   (instead only `detection-update' flow events can occur after a `detected' flow event)
 * fixed nDPIsrvd.py invalid message buffer handling
 * improved run_tests.sh so only valid pcap capture files are getting processed
   (and some more cosmetics + logging)

Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
This commit is contained in:
Toni Uhlig
2021-04-14 21:39:23 +02:00
parent 514c427917
commit f713ec702b
20 changed files with 382 additions and 94 deletions

View File

@@ -48,3 +48,5 @@ if __name__ == '__main__':
nsock.loop(onJsonLineRecvd, Stats())
except nDPIsrvd.SocketConnectionBroken as err:
sys.stderr.write('\n{}\n'.format(err))
except KeyboardInterrupt:
print()