]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
detect: adds check for stream-event with prefilter
authorPhilippe Antoine <pantoine@oisf.net>
Fri, 26 Jul 2024 12:52:41 +0000 (14:52 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Fri, 2 Aug 2024 09:37:19 +0000 (11:37 +0200)
Ticket: 6728

tests/stream-depth-reached-event/test.rules
tests/stream-depth-reached-event/test.yaml

index af8bae2f39056097e1babaaf5c456a29810150bc..8bf2ddc150501d5474b9a5b107d0d244acd4d30a 100644 (file)
@@ -1 +1,2 @@
 alert tcp any any -> any any (msg:"SURICATA STREAM reassembly depth reached"; stream-event:reassembly_depth_reached; classtype:protocol-command-decode; sid:2210062; rev:1;)
+alert tcp any any -> any any (msg:"SURICATA STREAM reassembly depth reached"; stream-event:reassembly_depth_reached; prefilter; classtype:protocol-command-decode; requires: version >= 8; sid:2210062; rev:2;)
index 1e37bb6a31d40efd6b28818e337223a4505a3552..4d8ae5af5b78c946b70dff185b2d9be2805a0e5f 100644 (file)
@@ -18,3 +18,11 @@ checks:
       match:
         event_type: alert
         alert.signature_id: 2210062
+
+  - filter:
+      min-version: 8
+      count: 2
+      match:
+        event_type: alert
+        alert.signature_id: 2210062
+        alert.rev: 2