Merge pull request #974 from IvanNardi/esni4

Suspicious ESNI usage: add a comment and a pcap example
This commit is contained in:
Luca Deri
2020-08-13 10:40:51 +02:00
committed by GitHub
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);