]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
Adds check for http.server keyword on http2 traffic
authorPhilippe Antoine <contact@catenacyber.fr>
Mon, 26 Apr 2021 13:00:39 +0000 (15:00 +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 c0619081f7561ddae8e93ff59a1fd3a524d50065..50faf3ffb583a98f0a5c738f18f446200d007a75 100644 (file)
@@ -4,3 +4,5 @@ alert http any any -> any any (http.uri; content:"/robots.txt"; sid:12;)
 
 alert http2 any any -> any any (http.user_agent; content:"curl"; sid:20;)
 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;)
index bed395a2448bb349782328bf8e072238daa04039..65d5a47a5298756ccb36aca6344da4bc95ef570f 100644 (file)
@@ -35,3 +35,8 @@ checks:
       match:
         event_type: alert
         alert.signature_id: 21
+  - filter:
+      count: 2
+      match:
+        event_type: alert
+        alert.signature_id: 30