Add a new internal function internal_giveup()

This function is always called once for every flow, as last code
processing the flow itself.

As a first usage example, check here if the flow is unidirectional
(instead of checking it at every packets)
This commit is contained in:
Ivan Nardi 2025-03-04 20:19:29 +01:00
parent f568313363
commit 34dcf18128
344 changed files with 544 additions and 481 deletions

View file

@ -16,9 +16,9 @@ LRU cache fpc_dns: 6/37/13 (insert/search/found)
Automa host: 161/71 (search/found)
Automa domain: 156/0 (search/found)
Automa tls cert: 0/0 (search/found)
Automa risk mask: 16/0 (search/found)
Automa risk mask: 10/0 (search/found)
Automa common alpns: 0/0 (search/found)
Patricia risk mask: 174/0 (search/found)
Patricia risk mask: 14/0 (search/found)
Patricia risk mask IPv6: 6/0 (search/found)
Patricia risk: 3/0 (search/found)
Patricia risk IPv6: 25/0 (search/found)