]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
nsh: run for 7, add more detail
authorVictor Julien <victor@inliniac.net>
Thu, 31 Dec 2020 11:24:06 +0000 (12:24 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 31 Dec 2020 11:24:06 +0000 (12:24 +0100)
tests/decode-nsh-type1/test.yaml
tests/decode-nsh-type2/test.yaml

index ad7ddc6171fda99a52ef39d2487775a12649a0b1..4588cd4417064bbfd64d564dcd96ae8b5f6fc84f 100644 (file)
@@ -1,5 +1,5 @@
 requires:
-    min-version: 6
+    min-version: 7
 
 args:
 - -k none
@@ -9,6 +9,11 @@ checks:
       count: 1
       match:
         event_type: flow
+        src_ip: 10.0.0.1
+        dest_ip: 10.0.0.2
+        proto: UDP
+        src_port: 52377
+        dest_port: 52464
   - filter:
       count: 1
       match:
@@ -17,4 +22,4 @@ checks:
       decoder.ethernet: 1
       decoder.nsh: 1
       decoder.ipv4: 1
-      decoder.udp: 1
\ No newline at end of file
+      decoder.udp: 1
index ad7ddc6171fda99a52ef39d2487775a12649a0b1..4588cd4417064bbfd64d564dcd96ae8b5f6fc84f 100644 (file)
@@ -1,5 +1,5 @@
 requires:
-    min-version: 6
+    min-version: 7
 
 args:
 - -k none
@@ -9,6 +9,11 @@ checks:
       count: 1
       match:
         event_type: flow
+        src_ip: 10.0.0.1
+        dest_ip: 10.0.0.2
+        proto: UDP
+        src_port: 52377
+        dest_port: 52464
   - filter:
       count: 1
       match:
@@ -17,4 +22,4 @@ checks:
       decoder.ethernet: 1
       decoder.nsh: 1
       decoder.ipv4: 1
-      decoder.udp: 1
\ No newline at end of file
+      decoder.udp: 1