From: Philippe Antoine Date: Thu, 18 Sep 2025 08:30:21 +0000 (+0200) Subject: http2: add check for http2.priority keyword X-Git-Tag: suricata-8.0.2~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85f124425edb86fcfeaf421cf094462e435f7d5c;p=thirdparty%2Fsuricata-verify.git http2: add check for http2.priority keyword Was missing coverage We do not have any pcaps with a stream changing its priority to test the index capability --- diff --git a/tests/http2-bugfixes/test.rules b/tests/http2-bugfixes/test.rules index 27a0f66a6..00434f6b0 100644 --- a/tests/http2-bugfixes/test.rules +++ b/tests/http2-bugfixes/test.rules @@ -1 +1,3 @@ alert http2 any any -> any any (http.cookie; content:"VISITOR"; sid:10;) + +alert http2 any any -> any any (http2.priority: >250; sid:11;) diff --git a/tests/http2-bugfixes/test.yaml b/tests/http2-bugfixes/test.yaml index 9ddae92a8..b85d254a4 100644 --- a/tests/http2-bugfixes/test.yaml +++ b/tests/http2-bugfixes/test.yaml @@ -30,3 +30,9 @@ checks: match: event_type: alert alert.signature_id: 10 + - filter: + count: 1 + match: + event_type: alert + alert.signature_id: 11 + http.http2.request.priority: 255