]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: add tests for issue 5758 2643/head
authorVictor Julien <victor@inliniac.net>
Tue, 2 Sep 2025 07:51:54 +0000 (09:51 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 8 Sep 2025 16:47:16 +0000 (18:47 +0200)
tests/bug-5758/input.pcap [new file with mode: 0644]
tests/bug-5758/test.rules [new file with mode: 0644]
tests/bug-5758/test.yaml [new file with mode: 0644]

diff --git a/tests/bug-5758/input.pcap b/tests/bug-5758/input.pcap
new file mode 100644 (file)
index 0000000..dd13fb6
Binary files /dev/null and b/tests/bug-5758/input.pcap differ
diff --git a/tests/bug-5758/test.rules b/tests/bug-5758/test.rules
new file mode 100644 (file)
index 0000000..6e55ad6
--- /dev/null
@@ -0,0 +1 @@
+alert tls any any -> any any (tls.sni; content:"ftp.nluug.nl"; sid:1;)
diff --git a/tests/bug-5758/test.yaml b/tests/bug-5758/test.yaml
new file mode 100644 (file)
index 0000000..cc7a430
--- /dev/null
@@ -0,0 +1,14 @@
+requires:
+  min-version: 7
+
+checks:
+- filter:
+    count: 1
+    match:
+      event_type: tls
+      tls.sni: ftp.nluug.nl
+- filter:
+    count: 1
+    match:
+      event_type: alert
+      alert.signature_id: 1