Update ssl.c

Added support for SMTPS on port 587
This commit is contained in:
Daniele De Lorenzi
2018-05-21 17:23:32 +02:00
committed by GitHub
parent 71ef54f561
commit 131f68117b
+1 -1
View File
@@ -62,7 +62,7 @@ static u_int32_t ndpi_ssl_refine_master_protocol(struct ndpi_detection_module_st
u_int16_t sport = ntohs(packet->tcp->source);
u_int16_t dport = ntohs(packet->tcp->dest);
if((sport == 465) || (dport == 465))
if((sport == 465) || (dport == 465) || (sport == 587) || (dport == 587))
protocol = NDPI_PROTOCOL_MAIL_SMTPS;
else if((sport == 993) || (dport == 993)
#ifdef NDPI_PROTOCOL_MAIL_IMAP