]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: add another test for 4702
authorVictor Julien <victor@inliniac.net>
Tue, 9 Sep 2025 19:45:25 +0000 (21:45 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 10 Sep 2025 10:21:30 +0000 (12:21 +0200)
Based on real traffic.

tests/bug-4702-02/README.md [new file with mode: 0644]
tests/bug-4702-02/test.yaml [new file with mode: 0644]
tests/bug-4702-02/tsecr.pcap [new file with mode: 0644]

diff --git a/tests/bug-4702-02/README.md b/tests/bug-4702-02/README.md
new file mode 100644 (file)
index 0000000..f62e58f
--- /dev/null
@@ -0,0 +1,4 @@
+PCAP
+====
+
+Pcap from https://redmine.openinfosecfoundation.org/issues/4702
diff --git a/tests/bug-4702-02/test.yaml b/tests/bug-4702-02/test.yaml
new file mode 100644 (file)
index 0000000..c5fa034
--- /dev/null
@@ -0,0 +1,17 @@
+requires:
+  min-version: 7
+
+args:
+  - -k none
+
+checks:
+- filter:
+    count: 1
+    match:
+      event_type: tls
+      tls.sni: vlscppe.microsoft.com
+- filter:
+    count: 1
+    match:
+      event_type: flow
+      tcp.state: closed
diff --git a/tests/bug-4702-02/tsecr.pcap b/tests/bug-4702-02/tsecr.pcap
new file mode 100644 (file)
index 0000000..0f069b7
Binary files /dev/null and b/tests/bug-4702-02/tsecr.pcap differ