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:
Ivan Nardi
2022-10-25 18:24:03 +02:00
committed by GitHub
parent ca5ffc4988
commit de16fd35aa
121 changed files with 126 additions and 152 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ Automa risk mask: 4/0 (search/found)
Automa common alpns: 0/0 (search/found)
Patricia risk mask: 58/0 (search/found)
Patricia risk: 2/0 (search/found)
Patricia protocols: 80/14 (search/found)
Patricia protocols: 76/14 (search/found)
Unknown 304 72496 2
DNS 8 716 4