From cccf794265dee24f25e16f21753972b20f7593c5 Mon Sep 17 00:00:00 2001 From: Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> Date: Tue, 13 Jul 2021 12:28:39 +0200 Subject: ndpiReader: add statistics about nDPI performance (#1240) The goal is to have a (roughly) idea about how many packets nDPI needs to properly classify a flow. Log this information (and guessed flows number too) during unit tests, to keep track of improvements/regressions across commits. --- tests/result/6in4tunnel.pcap.out | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/result/6in4tunnel.pcap.out') diff --git a/tests/result/6in4tunnel.pcap.out b/tests/result/6in4tunnel.pcap.out index 0be59c933..12b40846f 100644 --- a/tests/result/6in4tunnel.pcap.out +++ b/tests/result/6in4tunnel.pcap.out @@ -1,3 +1,9 @@ +Guessed flow protos: 2 + +DPI Packets (TCP): 29 (5.80 pkts/flow) +DPI Packets (UDP): 4 (2.00 pkts/flow) +DPI Packets (other): 3 (1.00 pkts/flow) + HTTP 10 1792 1 IMAPS 4 516 2 TLS 28 15397 1 -- cgit v1.2.3