TINC: avoid processing SYN packets (#1676)
Sincee6b332aa, we have proper support for detecting client/server direction. So Tinc dissector is now able to properly initialize the cache entry only when needed and not anymore at the SYN time; initializing that entry for **every** SYN packets was a complete waste of resources. Since4896dabb, the various `struct ndpi_call_function_struct` structures are not more separate objects and therefore comparing them using only their pointers is bogus: this bug was triggered by this change because `ndpi_str->callback_buffer_size_tcp_no_payload` is now 0.
This commit is contained in:
@@ -5,7 +5,7 @@ DPI Packets (UDP): 6 (1.20 pkts/flow)
|
||||
Confidence Match by port : 4 (flows)
|
||||
Confidence Match by IP : 5 (flows)
|
||||
Confidence DPI : 11 (flows)
|
||||
Num dissector calls: 877 (43.85 diss/flow)
|
||||
Num dissector calls: 853 (42.65 diss/flow)
|
||||
|
||||
HTTP 5 280 1
|
||||
QQ 15 1727 1
|
||||
|
||||
Reference in New Issue
Block a user