Skip to content

Commit

Permalink
Probing attempt check
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaderi committed Nov 24, 2024
1 parent b38ce8b commit dd26ecd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/ndpi_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -8012,14 +8012,18 @@ 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:
case NDPI_PROTOCOL_DTLS:
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;
}
}
}
Expand Down

0 comments on commit dd26ecd

Please sign in to comment.