QUIC: fix extra dissection (#1376)

When we have fully reassembled the Client Hello, we need to stop extra
dissection.
This commit is contained in:
Ivan Nardi
2021-11-23 10:57:13 +01:00
committed by GitHub
parent 4c39ed293e
commit fd02e1b304
2 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -1541,7 +1541,10 @@ static int ndpi_search_quic_extra(struct ndpi_detection_module_struct *ndpi_stru
if (is_ch_reassembler_pending(flow)) {
ndpi_search_quic(ndpi_struct, flow);
return is_ch_reassembler_pending(flow);
if(is_ch_reassembler_pending(flow))
return 1;
flow->extra_packets_func = NULL;
return 0;
}
/* RTP/RTCP stuff */
@@ -1,6 +1,6 @@
Guessed flow protos: 1
Guessed flow protos: 0
DPI Packets (UDP): 4 (4.00 pkts/flow)
DPI Packets (UDP): 2 (2.00 pkts/flow)
QUIC 4 3998 1