From ea7b101b409c45955f5d5446bb3bfdf7758b9226 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 24 Apr 2024 03:56:35 +0200 Subject: Adding upstream version 1:7.0.5. Signed-off-by: Daniel Baumann --- src/detect-http-server-body.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/detect-http-server-body.c') diff --git a/src/detect-http-server-body.c b/src/detect-http-server-body.c index 98f0ec5..28833a8 100644 --- a/src/detect-http-server-body.c +++ b/src/detect-http-server-body.c @@ -124,6 +124,9 @@ static int DetectHttpServerBodySetupSticky(DetectEngineCtx *de_ctx, Signature *s return -1; if (DetectSignatureSetAppProto(s, ALPROTO_HTTP) < 0) return -1; + // file data is on both directions, but we only take the one to client here + s->flags |= SIG_FLAG_TOCLIENT; + s->flags &= ~SIG_FLAG_TOSERVER; return 0; } -- cgit v1.2.3