]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
smtp: add port 465 for probing
authorPhilippe Antoine <pantoine@oisf.net>
Tue, 18 Jun 2024 05:59:23 +0000 (07:59 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 17 Jul 2024 04:13:39 +0000 (06:13 +0200)
src/app-layer-smtp.c

index 3fedf307e1068c61b9de33a40302822abeb51274..7000b2ec0df607109e87ab9b6c14737fe5d8c464 100644 (file)
@@ -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;