From 72ce98c31da894af5dd5a56e241aefca629b8048 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Mon, 12 Jun 2023 21:55:25 +0200 Subject: [PATCH] detect/http2: warning that http2.header is removed in Suricata 7 Ticket: #5780 --- src/detect-http2.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/detect-http2.c b/src/detect-http2.c index d7bde85189..0282145ba2 100644 --- a/src/detect-http2.c +++ b/src/detect-http2.c @@ -806,6 +806,10 @@ static int DetectEngineInspectHttp2HeaderName( static int DetectHTTP2headerSetup(DetectEngineCtx *de_ctx, Signature *s, const char *arg) { + SCLogWarning(SC_WARN_DEPRECATED, + "Experimental keyword http2.header is removed in Suricata 7, and replaced " + "by http.request_header and http.response_header, see " + "https://redmine.openinfosecfoundation.org/issues/5780"); if (DetectBufferSetActiveList(s, g_http2_header_buffer_id) < 0) return -1;