]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/http2: warning that http2.header is removed
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 12 Jun 2023 19:55:25 +0000 (21:55 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 27 Jun 2023 14:27:04 +0000 (16:27 +0200)
in Suricata 7

Ticket: #5780

src/detect-http2.c

index d7bde85189a2624b4f0a742078db50bf43def074..0282145ba28bdecfb64209ecb6ea696519031710 100644 (file)
@@ -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;