app-layer: remove obsolete msn protocol detection

pull/4290/head
Konstantin Klinger 6 years ago committed by Victor Julien
parent 6d2bd6607e
commit 808ea0dba9

@ -21,7 +21,6 @@ Automatic Protocol Detection
- imap (detection only by default; no parsing)
- ftp
- modbus (disabled by default; minimalist probe parser; can lead to false positives)
- msn (detection only by default; no parsing)
- smb
- smb2 (disabled internally inside the engine)
- smtp

@ -73,7 +73,6 @@ you can pick from. These are:
* ssh
* smtp
* imap
* msn
* modbus (disabled by default)
* dnp3 (disabled by default)
* enip (disabled by default)

@ -837,8 +837,6 @@ static void AppLayerProtoDetectPrintProbingParsers(AppLayerProtoDetectProbingPar
printf(" alproto: ALPROTO_SSH\n");
else if (pp_pe->alproto == ALPROTO_IMAP)
printf(" alproto: ALPROTO_IMAP\n");
else if (pp_pe->alproto == ALPROTO_MSN)
printf(" alproto: ALPROTO_MSN\n");
else if (pp_pe->alproto == ALPROTO_JABBER)
printf(" alproto: ALPROTO_JABBER\n");
else if (pp_pe->alproto == ALPROTO_SMB)
@ -912,8 +910,6 @@ static void AppLayerProtoDetectPrintProbingParsers(AppLayerProtoDetectProbingPar
printf(" alproto: ALPROTO_SSH\n");
else if (pp_pe->alproto == ALPROTO_IMAP)
printf(" alproto: ALPROTO_IMAP\n");
else if (pp_pe->alproto == ALPROTO_MSN)
printf(" alproto: ALPROTO_MSN\n");
else if (pp_pe->alproto == ALPROTO_JABBER)
printf(" alproto: ALPROTO_JABBER\n");
else if (pp_pe->alproto == ALPROTO_SMB)

@ -1553,20 +1553,6 @@ void AppLayerParserRegisterProtocolParsers(void)
"imap");
}
/** MSN Messenger */
AppLayerProtoDetectRegisterProtocol(ALPROTO_MSN, "msn");
if (AppLayerProtoDetectConfProtoDetectionEnabled("tcp", "msn")) {
if (AppLayerProtoDetectPMRegisterPatternCS(IPPROTO_TCP, ALPROTO_MSN,
"msn", 10, 6, STREAM_TOSERVER) < 0)
{
SCLogInfo("msn proto registration failure");
exit(EXIT_FAILURE);
}
} else {
SCLogInfo("Protocol detection and parser disabled for %s protocol.",
"msn");
}
ValidateParsers();
return;
}

@ -51,9 +51,6 @@ const char *AppProtoToString(AppProto alproto)
case ALPROTO_IMAP:
proto_name = "imap";
break;
case ALPROTO_MSN:
proto_name = "msn";
break;
case ALPROTO_JABBER:
proto_name = "jabber";
break;
@ -138,7 +135,6 @@ AppProto StringToAppProto(const char *proto_name)
if (strcmp(proto_name,"tls")==0) return ALPROTO_TLS;
if (strcmp(proto_name,"ssh")==0) return ALPROTO_SSH;
if (strcmp(proto_name,"imap")==0) return ALPROTO_IMAP;
if (strcmp(proto_name,"msn")==0) return ALPROTO_MSN;
if (strcmp(proto_name,"jabber")==0) return ALPROTO_JABBER;
if (strcmp(proto_name,"smb")==0) return ALPROTO_SMB;
if (strcmp(proto_name,"dcerpc")==0) return ALPROTO_DCERPC;

@ -33,7 +33,6 @@ enum AppProtoEnum {
ALPROTO_TLS, /* SSLv2, SSLv3 & TLSv1 */
ALPROTO_SSH,
ALPROTO_IMAP,
ALPROTO_MSN,
ALPROTO_JABBER,
ALPROTO_SMB,
ALPROTO_DCERPC,

@ -785,8 +785,6 @@ app-layer:
content-inspect-window: 4096
imap:
enabled: detection-only
msn:
enabled: detection-only
smb:
enabled: yes
detection-ports:

Loading…
Cancel
Save