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.
This commit is contained in:
@@ -8,13 +8,13 @@ Confidence Match by port : 1 (flows)
|
||||
Confidence DPI : 167 (flows)
|
||||
Num dissector calls: 65122 (85.69 diss/flow)
|
||||
LRU cache ookla: 0/0/0 (insert/search/found)
|
||||
LRU cache bittorrent: 0/1776/0 (insert/search/found)
|
||||
LRU cache bittorrent: 0/1779/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/2/0 (insert/search/found)
|
||||
LRU cache mining: 0/593/0 (insert/search/found)
|
||||
LRU cache msteams: 0/0/0 (insert/search/found)
|
||||
LRU cache stun_zoom: 0/511/0 (insert/search/found)
|
||||
LRU cache stun_zoom: 0/512/0 (insert/search/found)
|
||||
Automa host: 15/0 (search/found)
|
||||
Automa domain: 13/0 (search/found)
|
||||
Automa tls cert: 1/0 (search/found)
|
||||
|
||||
Reference in New Issue
Block a user