diff options
author | Daniele De Lorenzi <daniele.delorenzi@fastnetserv.net> | 2018-05-21 17:23:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-21 17:23:32 +0200 |
commit | 131f68117b3a45d8ff813227f1ec1f62dff59f6e (patch) | |
tree | d35793bd0f5c52b6a8d803fff499eccb4f2292dc /src/lib/protocols/ssl.c | |
parent | 71ef54f5619a735529477c8ff8d463773b546488 (diff) |
Update ssl.c
Added support for SMTPS on port 587
Diffstat (limited to 'src/lib/protocols/ssl.c')
-rw-r--r-- | src/lib/protocols/ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/protocols/ssl.c b/src/lib/protocols/ssl.c index aa649f579..7719eded9 100644 --- a/src/lib/protocols/ssl.c +++ b/src/lib/protocols/ssl.c @@ -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 |