aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorLuca Deri <deri@ntop.org>2024-11-19 09:23:46 +0100
committerLuca Deri <deri@ntop.org>2024-11-24 23:40:36 +0100
commitdd26ecdd62f5feaf502edaee9b8a2a8d2b09774e (patch)
tree313d6ff4c4d4368eb62d648ab45cda146a1994d9 /src/lib
parentb38ce8b68272d4cdb93ef30f961791170033b4a1 (diff)
Probing attempt check
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ndpi_main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/ndpi_main.c b/src/lib/ndpi_main.c
index 3f9aadef1..de20eb887 100644
--- a/src/lib/ndpi_main.c
+++ b/src/lib/ndpi_main.c
@@ -8012,7 +8012,6 @@ static void ndpi_check_probing_attempt(struct ndpi_flow_struct *flow) {
break;
case NDPI_PROTOCOL_TLS:
- /* case NDPI_PROTOCOL_QUIC: */
case NDPI_PROTOCOL_MAIL_SMTPS:
case NDPI_PROTOCOL_MAIL_POPS:
case NDPI_PROTOCOL_MAIL_IMAPS:
@@ -8020,6 +8019,11 @@ static void ndpi_check_probing_attempt(struct ndpi_flow_struct *flow) {
if(flow->host_server_name[0] == '\0')
ndpi_set_risk(flow, NDPI_PROBING_ATTEMPT, "TLS Probing");
break;
+
+ case NDPI_PROTOCOL_QUIC:
+ if(flow->host_server_name[0] == '\0')
+ ndpi_set_risk(flow, NDPI_PROBING_ATTEMPT, "QUIC Probing");
+ break;
}
}
}