From af1df7a89d5113a6fe680a0ee73006173e41deca Mon Sep 17 00:00:00 2001 From: Anoop Saldanha Date: Thu, 12 Sep 2013 20:22:52 +0530 Subject: [PATCH] Remove the smtp parser restriction that it accepts data only in to client direction first. --- src/app-layer-smtp.c | 1 - 1 file changed, 1 deletion(-) 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);