From: Anoop Saldanha Date: Thu, 12 Sep 2013 14:52:52 +0000 (+0530) Subject: Remove the smtp parser restriction that it accepts data only in to client X-Git-Tag: suricata-2.0beta2~278 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=af1df7a89d5113a6fe680a0ee73006173e41deca;p=thirdparty%2Fsuricata.git Remove the smtp parser restriction that it accepts data only in to client direction first. --- diff --git a/src/app-layer-smtp.c b/src/app-layer-smtp.c index ce9c101127..593f656940 100644 --- a/src/app-layer-smtp.c +++ b/src/app-layer-smtp.c @@ -864,7 +864,6 @@ void RegisterSMTPParsers(void) STREAM_TOSERVER); AlpProtoAdd(&alp_proto_ctx, proto_name, IPPROTO_TCP, ALPROTO_SMTP, "QUIT", 4, 0, STREAM_TOSERVER); - AppLayerRegisterParserAcceptableDataDirection(ALPROTO_SMTP, STREAM_TOCLIENT); } else { SCLogInfo("Protocol detection and parser disabled for %s protocol.", proto_name);