]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: updates after fixing issue 3703
authorVictor Julien <victor@inliniac.net>
Tue, 23 Mar 2021 10:49:43 +0000 (11:49 +0100)
committerVictor Julien <victor@inliniac.net>
Wed, 1 Sep 2021 05:56:45 +0000 (07:56 +0200)
tests/decode-teredo-01/test.yaml
tests/filestore-v2.7-stream-depth/test.yaml

index 2d148eede3d3339d79751e52cfe09f5c219913e1..1f506bcd6240c75d5a8d9c86aa11830237409c04 100644 (file)
@@ -112,7 +112,7 @@ checks:
       http.length: 0
       http.protocol: HTTP/1.0
       http.url: /cgi-bin/iavs4stats.cgi
-      pcap_cnt: 16
+      #pcap_cnt: 19
       proto: TCP
       src_ip: 192.168.2.16
       src_port: 1578
index 842119fe00fab6be4f7d1f3d9bdb53e6f6eccaf3..706b12b6b577126b6039478c2f11bfac5be94d77 100644 (file)
@@ -11,6 +11,17 @@ pcap: input.pcap
 checks:
 
   - filter:
+      requires:
+        version: 7
+      count: 1
+      match:
+        event_type: fileinfo
+        fileinfo.state: "CLOSED"
+        fileinfo.stored: true
+        fileinfo.size: 99400
+  - filter:
+      requires:
+        lt-version: 7
       count: 1
       match:
         event_type: fileinfo