Suspicious ESNI usage: add a comment and a pcap example

See: 79b89d2866
This commit is contained in:
Nardi Ivan
2020-08-06 10:29:35 +02:00
parent 95dfbdc64a
commit 2722861d6e
3 changed files with 11 additions and 0 deletions
+2
View File
@@ -1434,6 +1434,8 @@ int processClientServerHello(struct ndpi_detection_module_struct *ndpi_struct,
NDPI_SET_BIT(flow->risk, NDPI_TLS_NOT_CARRYING_HTTPS);
}
/* Suspicious Domain Fronting:
https://github.com/SixGenInc/Noctilucent/blob/master/docs/ */
if(flow->protos.stun_ssl.ssl.encrypted_sni.esni &&
flow->protos.stun_ssl.ssl.client_requested_server_name[0] != '\0') {
NDPI_SET_BIT(flow->risk, NDPI_TLS_SUSPICIOUS_ESNI_USAGE);