From: Philippe Antoine Date: Tue, 18 Jun 2024 05:59:23 +0000 (+0200) Subject: smtp: add port 465 for probing X-Git-Tag: suricata-8.0.0-beta1~1001 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b8c12090f78800e9edb15bb695ad8932d0ffe767;p=thirdparty%2Fsuricata.git smtp: add port 465 for probing --- diff --git a/src/app-layer-smtp.c b/src/app-layer-smtp.c index 3fedf307e1..7000b2ec0d 100644 --- a/src/app-layer-smtp.c +++ b/src/app-layer-smtp.c @@ -1744,8 +1744,8 @@ static int SMTPRegisterPatternsForProtocolDetection(void) if (!AppLayerProtoDetectPPParseConfPorts( "tcp", IPPROTO_TCP, "smtp", ALPROTO_SMTP, 0, 5, NULL, SMTPServerProbingParser)) { // STREAM_TOSERVER means here use 25 as flow destination port - AppLayerProtoDetectPPRegister(IPPROTO_TCP, "25", ALPROTO_SMTP, 0, 5, STREAM_TOSERVER, NULL, - SMTPServerProbingParser); + AppLayerProtoDetectPPRegister(IPPROTO_TCP, "25,465", ALPROTO_SMTP, 0, 5, STREAM_TOSERVER, + NULL, SMTPServerProbingParser); } return 0;