Hangout: avoid useless lookups in the protocol tree (#1755)
We already performed exactly these lookups in the generic code to populate `flow->guessed_protocol_id_by_ip`: use it! This code probably needs a deeper review, since it is basicaly a simple matching on ip + port.
This commit is contained in:
@@ -2,7 +2,7 @@ Guessed flow protos: 0
|
||||
|
||||
DPI Packets (UDP): 4 (1.00 pkts/flow)
|
||||
Confidence DPI : 4 (flows)
|
||||
Num dissector calls: 412 (103.00 diss/flow)
|
||||
Num dissector calls: 414 (103.50 diss/flow)
|
||||
LRU cache ookla: 0/0/0 (insert/search/found)
|
||||
LRU cache bittorrent: 0/0/0 (insert/search/found)
|
||||
LRU cache zoom: 0/0/0 (insert/search/found)
|
||||
@@ -17,7 +17,7 @@ Automa risk mask: 0/0 (search/found)
|
||||
Automa common alpns: 0/0 (search/found)
|
||||
Patricia risk mask: 0/0 (search/found)
|
||||
Patricia risk: 0/0 (search/found)
|
||||
Patricia protocols: 8/0 (search/found)
|
||||
Patricia protocols: 4/0 (search/found)
|
||||
|
||||
Syncthing 34 15680 4
|
||||
|
||||
|
||||
Reference in New Issue
Block a user