]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Remove the smtp parser restriction that it accepts data only in to client
authorAnoop Saldanha <anoopsaldanha@gmail.com>
Thu, 12 Sep 2013 14:52:52 +0000 (20:22 +0530)
committerAnoop Saldanha <anoopsaldanha@gmail.com>
Sun, 29 Sep 2013 17:43:11 +0000 (23:13 +0530)
direction first.

src/app-layer-smtp.c

index ce9c1011271860fca312b63a9826867e5234cb9c..593f656940489d6b81f62ef36901ac7f78a3d615 100644 (file)
@@ -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);