Disabling the ssh parser temporarily, since we are moving away from some

of the archaic features we use in the app layer. We will reintroduce this
parser shortly. Also do note that keywords that rely on the ssh parser
would now be disabled.
pull/745/head
Anoop Saldanha 12 years ago
parent d3d745d515
commit abded4200a

@ -1453,7 +1453,13 @@ void RegisterAppLayerParsers(void)
RegisterDCERPCParsers();
RegisterDCERPCUDPParsers();
RegisterFTPParsers();
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
RegisterSSHParsers();
#endif
RegisterSMTPParsers();
RegisterDNSUDPParsers();
RegisterDNSTCPParsers();

@ -1,3 +1,9 @@
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
/* Copyright (C) 2007-2010 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
@ -1853,3 +1859,5 @@ void SSHParserRegisterTests(void) {
UtRegisterTest("SSHParserTest14 - ToClient 4 chunks", SSHParserTest14, 1);
#endif /* UNITTESTS */
}
#endif /* #if 0 */

@ -1,3 +1,8 @@
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
/* Copyright (C) 2007-2010 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
@ -681,3 +686,4 @@ void DetectSshVersionRegisterTests(void) {
#endif /* UNITTESTS */
}
#endif /* #if 0 */

@ -1,3 +1,8 @@
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
/* Copyright (C) 2007-2010 Open Information Security Foundation
*
* You can copy, redistribute or modify this Program under the terms of
@ -654,3 +659,4 @@ void DetectSshSoftwareVersionRegisterTests(void) {
#endif /* UNITTESTS */
}
#endif /* #if 0 */

@ -4735,9 +4735,15 @@ void SigTableSetup(void) {
DetectHttpUriRegister();
DetectHttpRawUriRegister();
DetectAsn1Register();
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
DetectSshVersionRegister();
DetectSslStateRegister();
DetectSshSoftwareVersionRegister();
#endif
DetectSslStateRegister();
DetectHttpStatCodeRegister();
DetectSslVersionRegister();
DetectByteExtractRegister();

@ -188,7 +188,13 @@ int RunUnittests(int list_unittests, char *regex_arg)
DecodePPPRegisterTests();
DecodeVLANRegisterTests();
HTPParserRegisterTests();
/* we are disabling the ssh parser temporarily, since we are moving away
* from some of the archaic features we use in the app layer. We will
* reintroduce this parser. Also do note that keywords that rely on
* the ssh parser would now be disabled */
#if 0
SSHParserRegisterTests();
#endif
SMBParserRegisterTests();
DCERPCParserRegisterTests();
DCERPCUDPParserRegisterTests();

Loading…
Cancel
Save