STUN: several improvements

Add detection over TCP and fix detection over IPv6.
Rename some variables since Stun dissector is no more "udp-centric".
Stun dissector should always classified the flow as `STUN` or
`STUN/Something`.
Don't touch `flow->guessed_host_protocol_id` field, which should be
always be related to "ip-classification" only.
This commit is contained in:
Nardi Ivan
2022-09-11 13:33:32 +02:00
committed by Toni
parent f44413e039
commit 678dd61866
115 changed files with 201 additions and 323 deletions
+1 -1
View File
@@ -1349,7 +1349,7 @@ struct ndpi_flow_struct {
} kerberos_buf;
struct {
u_int8_t num_udp_pkts, num_binding_requests;
u_int8_t num_pkts, num_binding_requests;
u_int16_t num_processed_pkts;
} stun;