From e3b98d5bbf6f8677c0adf345cfe063c7f5ea6c98 Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Thu, 25 Aug 2016 15:13:25 +0200 Subject: [PATCH] detect-ack: extra match support --- src/detect-ack.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/detect-ack.c b/src/detect-ack.c index 75d3427eea..0ea0dc285a 100644 --- a/src/detect-ack.c +++ b/src/detect-ack.c @@ -156,6 +156,9 @@ PrefilterPacketAckMatch(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_ACK(p) == ctx->v1.u32[0])) {