From a41bf2ae142428a6badfcbf3f6ded32706e2c82c Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 25 Aug 2016 15:13:16 +0200 Subject: [PATCH] detect-seq: extra match support --- src/detect-seq.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detect-seq.c b/src/detect-seq.c index 7df03ba941..60bd2ad2ce 100644 --- a/src/detect-seq.c +++ b/src/detect-seq.c @@ -151,6 +151,9 @@ PrefilterPacketSeqMatch(DetectEngineThreadCtx *det_ctx, Packet *p, const void *p { const PrefilterPacketHeaderCtx *ctx = pectx; + if (PrefilterPacketHeaderExtraMatch(ctx, p) == FALSE) + return; + if ((p->proto) == IPPROTO_TCP && !(PKT_IS_PSEUDOPKT(p)) && (p->tcph != NULL) && (TCP_GET_SEQ(p) == ctx->v1.u32[0])) {