]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
Adds check for http.host.raw keyword on http2 traffic
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 26 Apr 2021 13:29:25 +0000 (15:29 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 18 May 2021 10:14:15 +0000 (12:14 +0200)
tests/http2-keywords2/test.rules
tests/http2-keywords2/test.yaml

index 83cbe026edef8b15e3f4eb9a7bff8778e9613e53..da9cbe6c4d5f8f6ed1d16d304639371471eedad6 100644 (file)
@@ -7,3 +7,4 @@ alert http2 any any -> any any (http.stat_code; content:"404"; sid:21;)
 
 alert http2 any any -> any any (http.server; content:"nghttpx"; sid:30;)
 alert http2 any any -> any any (http.method; content:"GET"; sid:31;)
+alert http2 any any -> any any (http.host.raw; content:"nghttp2.org"; sid:32;)
index b6f51bfab5edc2a161109426c44e2eedbe954c6d..d409e18aa6dd8bd02d580d994738ae54d6fcf26f 100644 (file)
@@ -45,3 +45,8 @@ checks:
       match:
         event_type: alert
         alert.signature_id: 31
+  - filter:
+      count: 1
+      match:
+        event_type: alert
+        alert.signature_id: 32