diff options
author | Ivan Nardi <12729895+IvanNardi@users.noreply.github.com> | 2023-01-17 08:26:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 08:26:42 +0100 |
commit | ebb9ebd2a0a1536cb8f9d9dc510f52f33ed78eab (patch) | |
tree | 6e3ee193e8e9e0e4ce1f2f9680ec252f1f46e8e2 /tests/result/tor.pcap.out | |
parent | 1f7c57deff9debbda3d26be906e067dcf73ce1f9 (diff) |
Fix classification "by-port" (#1851)
Classification "by-port" should be the last possible effort, *after*
having test all the LRU caches.
Remove some dead code from `ndpi_detection_giveup()`:
`flow->guessed_protocol_id` is never set to any od those voip protocols
and at that point in this function we never have both a master *and* a
application protocols.
Coverage reports (both from unit tests and from fuzzing) confirms that
was dead code.
Diffstat (limited to 'tests/result/tor.pcap.out')
-rw-r--r-- | tests/result/tor.pcap.out | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/result/tor.pcap.out b/tests/result/tor.pcap.out index 3d3e1f81c..a013ef688 100644 --- a/tests/result/tor.pcap.out +++ b/tests/result/tor.pcap.out @@ -6,7 +6,7 @@ Confidence Match by port : 1 (flows) Confidence DPI : 10 (flows) Num dissector calls: 48 (4.36 diss/flow) LRU cache ookla: 0/0/0 (insert/search/found) -LRU cache bittorrent: 0/0/0 (insert/search/found) +LRU cache bittorrent: 0/3/0 (insert/search/found) LRU cache zoom: 0/0/0 (insert/search/found) LRU cache stun: 0/0/0 (insert/search/found) LRU cache tls_cert: 0/8/0 (insert/search/found) |