From b8c12090f78800e9edb15bb695ad8932d0ffe767 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 18 Jun 2024 07:59:23 +0200 Subject: [PATCH] smtp: add port 465 for probing --- src/app-layer-smtp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;