smtp: add port 465 for probing

pull/11515/head
Philippe Antoine 1 year ago committed by Victor Julien
parent eac9cd959f
commit b8c12090f7

@ -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;

Loading…
Cancel
Save