From: Philippe Antoine Date: Mon, 12 Jun 2023 19:55:25 +0000 (+0200) Subject: detect/http2: warning that http2.header is removed X-Git-Tag: suricata-6.0.14~87 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72ce98c31da894af5dd5a56e241aefca629b8048;p=thirdparty%2Fsuricata.git detect/http2: warning that http2.header is removed in Suricata 7 Ticket: #5780 --- 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;