]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: fix tcp tests being too strict on tcp objects
authorVictor Julien <victor@inliniac.net>
Sun, 8 Jan 2023 06:38:33 +0000 (07:38 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 19 Jan 2023 16:45:02 +0000 (17:45 +0100)
tests/bug-130/test.yaml
tests/bug-78-http-uri/test.yaml
tests/bug-78-uricontent/test.yaml

index 8c7c6c6a8a8086931d5865735acc8d7398ec647d..36fe83840e19ac5a0a75f6d0329fa61088fdd7a6 100644 (file)
@@ -157,12 +157,11 @@ checks:
       proto: TCP
       src_ip: 10.100.0.8
       src_port: 44270
-      tcp:
-        ack: true
-        fin: true
-        psh: true
-        state: closed
-        syn: true
-        tcp_flags: 1b
-        tcp_flags_tc: 1b
-        tcp_flags_ts: 1b
+      tcp.ack: true
+      tcp.fin: true
+      tcp.psh: true
+      tcp.state: closed
+      tcp.syn: true
+      tcp.tcp_flags: 1b
+      tcp.tcp_flags_tc: 1b
+      tcp.tcp_flags_ts: 1b
index 14189aff29f7e842efe99155534e3407552e12d2..e964a30c2220a9806780c61f343f9c10b5688df8 100644 (file)
@@ -55,12 +55,11 @@ checks:
       proto: TCP
       src_ip: 192.168.2.3
       src_port: 37010
-      tcp:
-        ack: true
-        psh: true
-        rst: true
-        state: closed
-        syn: true
-        tcp_flags: 1e
-        tcp_flags_tc: 1a
-        tcp_flags_ts: 1e
+      tcp.ack: true
+      tcp.psh: true
+      tcp.rst: true
+      tcp.state: closed
+      tcp.syn: true
+      tcp.tcp_flags: 1e
+      tcp.tcp_flags_tc: 1a
+      tcp.tcp_flags_ts: 1e
index 14189aff29f7e842efe99155534e3407552e12d2..e964a30c2220a9806780c61f343f9c10b5688df8 100644 (file)
@@ -55,12 +55,11 @@ checks:
       proto: TCP
       src_ip: 192.168.2.3
       src_port: 37010
-      tcp:
-        ack: true
-        psh: true
-        rst: true
-        state: closed
-        syn: true
-        tcp_flags: 1e
-        tcp_flags_tc: 1a
-        tcp_flags_ts: 1e
+      tcp.ack: true
+      tcp.psh: true
+      tcp.rst: true
+      tcp.state: closed
+      tcp.syn: true
+      tcp.tcp_flags: 1e
+      tcp.tcp_flags_tc: 1a
+      tcp.tcp_flags_ts: 1e