]>
git.ipfire.org Git - thirdparty/suricata-verify.git/log
Giuseppe Longo [Mon, 22 Dec 2025 13:57:48 +0000 (14:57 +0100)]
tests: add test for mac swapping
Victor Julien [Mon, 22 Dec 2025 15:04:55 +0000 (16:04 +0100)]
tests: luaxform bug 8173 tests
Shivani Bhardwaj [Thu, 4 Dec 2025 06:41:44 +0000 (12:11 +0530)]
flow: add test for elephant flow detection
Feature 7438
Philippe Antoine [Tue, 15 Jul 2025 08:14:13 +0000 (10:14 +0200)]
tcp: fast open detection on first packet when inline
Ticket: 6744
Jeff Lucovsky [Thu, 4 Dec 2025 13:32:00 +0000 (08:32 -0500)]
test/cmdline: Test verbose commandline handling
Followup PR that
- Includes the issue number in the README files
- Updated to check for symbolic instead of numeric verbose level.
- Tests displayed level with debug build
Issue: 7389
Philippe Antoine [Thu, 11 Dec 2025 08:10:28 +0000 (09:10 +0100)]
ssl: backport test for ssl_version to 7
Ticket: 3220
Juliana Fajardini [Fri, 5 Dec 2025 23:41:37 +0000 (20:41 -0300)]
tests: update stream events test to 70x
Related to
Task #8092
Philippe Antoine [Mon, 8 Dec 2025 21:44:59 +0000 (22:44 +0100)]
ssl: backport test for ssl_version to 8
Ticket: 3220
James Kaddu [Fri, 31 Oct 2025 12:56:57 +0000 (15:56 +0300)]
tests: add test for force-hash YAML validation.
Add test to ensure Suricata rejects invalid force-hash algorithm values
in file logging configuration. The test verifies that an invalid hash
type (e.g., 'shanani') causes Suricata to exit with an error during
configuration validation.
Issue: OISF#4330
James Kaddu [Wed, 5 Nov 2025 12:40:16 +0000 (15:40 +0300)]
tests: add rule check for xbits keyword
Related to
Task #6351
Philippe Antoine [Thu, 27 Nov 2025 14:55:22 +0000 (15:55 +0100)]
ssl: add test for ssl_version keyword with negation
Ticket: 3220
Juliana Fajardini [Wed, 3 Dec 2025 18:52:43 +0000 (15:52 -0300)]
tests: update stream events test to 8.0
Related to
Task #8091
Philippe Antoine [Tue, 2 Dec 2025 19:41:20 +0000 (20:41 +0100)]
nfs: backport nfsv2 procedure test to 8
Ticket: 8151
Victor Julien [Mon, 1 Dec 2025 07:18:16 +0000 (08:18 +0100)]
tests: update pop3 tests for backports to 8
Jeff Lucovsky [Tue, 28 Oct 2025 13:02:35 +0000 (09:02 -0400)]
test/cmdline: Ensure extra '-v` doesn't reset output
Ensure that extra `-v` doesn't reset verbose output.
Remove configuration lines that are platform dependent when determining
how many config lines are in suricata.log.
Issue: 7389
Victor Julien [Fri, 28 Nov 2025 11:23:59 +0000 (12:23 +0100)]
tests: update lua test for thread group name removal
Jhonny Sousa [Mon, 27 Oct 2025 18:42:45 +0000 (15:42 -0300)]
nfs: Add test for NFSv2 STATFS procedure
Ticket: #5140
Juliana Fajardini [Wed, 22 Oct 2025 02:11:32 +0000 (19:11 -0700)]
test/bug-2491-02: add more checks
As part of the investigation for Suricata's behavior for stream-async.
Related to
Task #6063
Task #8011
Juliana Fajardini [Fri, 17 Oct 2025 18:48:34 +0000 (11:48 -0700)]
tests: add tests for stream-async
Related to
Task #6063
Task #8011
Jeff Lucovsky [Sun, 30 Nov 2025 14:06:26 +0000 (09:06 -0500)]
luaxform: Remove unused transform function
Removed an unused function from the luaxform test case which creates a
CIDR given an IP address and a netmask.
Philippe Antoine [Fri, 28 Nov 2025 21:32:45 +0000 (22:32 +0100)]
tests: remove duplicate checks section
Victor Julien [Thu, 20 Nov 2025 12:46:10 +0000 (07:46 -0500)]
tests: add pop3 auth test
Based on real traffic recreated with flowsynth to protect privacy.
Philippe Antoine [Tue, 25 Nov 2025 09:11:50 +0000 (10:11 +0100)]
files: backport to 7 hashes check for small multipart file
Ticket: 8119
Philippe Antoine [Mon, 24 Nov 2025 20:10:40 +0000 (21:10 +0100)]
files: backport hashes check for small multipart file
Ticket: 8119
Philippe Antoine [Wed, 19 Nov 2025 12:35:34 +0000 (13:35 +0100)]
files: add checks about hashes
Juliana Fajardini [Tue, 11 Nov 2025 23:47:15 +0000 (15:47 -0800)]
tests: check stream events stats
Related to
Ticket #7858
Victor Julien [Tue, 11 Nov 2025 12:38:29 +0000 (13:38 +0100)]
tests: http body keywords parsing tests
Esp for testing with pcre.
Ticket: #7573.
Victor Julien [Tue, 11 Nov 2025 10:04:11 +0000 (11:04 +0100)]
tests: rename test to reflect keyword tested
Test tests http.response_body
Olusegun Fajobi [Tue, 11 Nov 2025 14:26:30 +0000 (15:26 +0100)]
tests: add rule check for flowint keyword
Related to
Issue: #6311
Philippe Antoine [Thu, 16 Oct 2025 09:27:13 +0000 (11:27 +0200)]
rules: new engine analysis format for generic integers
Ticket: 7889
Philippe Antoine [Tue, 4 Nov 2025 20:12:16 +0000 (21:12 +0100)]
snmp: backport detection-only test to 8
Ticket: 8076
Philippe Antoine [Thu, 16 Oct 2025 14:10:28 +0000 (16:10 +0200)]
detect/integers: rename all1 to all
And all to all_or_absent
Ticket: 7929
Li Heng [Fri, 31 Oct 2025 01:33:41 +0000 (09:33 +0800)]
tests/snmp: add test for detection-only bug
Snmp switch is detection-only and eve-log include flow and alert.
We have one rule typed alert that uses snmp keywords, and hope
the eve.log includes flow items but not includes alert items.
Ticket: #8000
Jeff Lucovsky [Thu, 30 Oct 2025 12:48:52 +0000 (08:48 -0400)]
test/lua: Update test for 8.0.x backport
Issue: 8016
Update luaxform test minimum version for 8.0.x backport.
Jeff Lucovsky [Wed, 22 Oct 2025 14:57:46 +0000 (10:57 -0400)]
test/luaxform: Ensure ip.src/ip.dst work with transforms
Demonstrate that the sticky buffers ip.src/ip.dst work with transforms.
The sample lua script creates a string "cidr" from an ipv4 src/dst
address.
E.g., "1.2.3.0/24"
The tests require 9.0 or greater; when issue 8016 is addressed,
additional version constraints will be added.
Issue: 8015
Olusegun Fajobi [Mon, 27 Oct 2025 14:13:10 +0000 (15:13 +0100)]
tests: add rule check for ttl keyword
Related to
Issue: #6310
Jason Ish [Mon, 20 Oct 2025 20:34:47 +0000 (14:34 -0600)]
tests/ike: update for 7.0.13
For backport of ticket #7923.
Jeff Lucovsky [Tue, 21 Oct 2025 13:06:29 +0000 (09:06 -0400)]
test/unknown: Ethertype updates for 8.0.x
Issue: 8007
Includes changes for issue 7855 needed for the backport.
Victor Julien [Mon, 20 Oct 2025 16:07:15 +0000 (18:07 +0200)]
tests: update issue 8002 pcap log test to run on 8.0.2
Jason Ish [Thu, 16 Oct 2025 22:54:48 +0000 (16:54 -0600)]
tests/ikev1-duplicate-proposals: update for 8.0
Ticket: #7923
Victor Julien [Sat, 18 Oct 2025 06:46:55 +0000 (08:46 +0200)]
github-actions: install cbindgen with locked deps
To avoid MSRV bumps in the dependencies.
Jeff Lucovsky [Tue, 2 Sep 2025 14:06:05 +0000 (10:06 -0400)]
test/entropy: Test with raw content
Test entropy w/out a sticky buffer.
Without the suricata fixes, the test will SEGV and thus fail.
With the suricata fixes, the calculated entropy value will be
matched with the value in the test specification.
Victor Julien [Fri, 5 Sep 2025 05:40:01 +0000 (07:40 +0200)]
tests: add issue 7657 tests
Victor Julien [Fri, 5 Sep 2025 05:38:47 +0000 (07:38 +0200)]
tests: add issue 3844 test
Philippe Antoine [Thu, 4 Sep 2025 06:46:50 +0000 (08:46 +0200)]
tls: add test for altname with zero inside
Ticket: 7881
Juliana Fajardini [Fri, 3 Oct 2025 15:33:09 +0000 (12:33 -0300)]
test/bug-5464: add file extension to pcap mention
The lack of the `.pcap` extension when using `pcap:` to use a file from
a different test seems prone to cause issues.
Philippe Antoine [Thu, 18 Sep 2025 08:32:06 +0000 (10:32 +0200)]
http2: do not test HTTP2_DECOMPRESSION feature
As it is always present since 7
Philippe Antoine [Thu, 16 Oct 2025 09:40:44 +0000 (11:40 +0200)]
http2: backport7 test about error code
Ticket: 7991
Victor Julien [Thu, 16 Oct 2025 11:44:57 +0000 (13:44 +0200)]
tests: add test for bpf in pcap multi logging (issue 8002)
Philippe Antoine [Wed, 24 Sep 2025 12:50:06 +0000 (14:50 +0200)]
detect/integers: add check for count argument
Ticket: 7211
Philippe Antoine [Wed, 15 Oct 2025 16:21:54 +0000 (18:21 +0200)]
http2: backport error code test to 8
or at least some checks of it
Philippe Antoine [Tue, 7 Oct 2025 18:49:39 +0000 (20:49 +0200)]
detect/files: backport nfs test over udp only to 8
Ticket: 7973
Philippe Antoine [Fri, 26 Sep 2025 10:44:46 +0000 (12:44 +0200)]
http2: adds test for http2.errorcode keyword
Ticket: 7889
Philippe Antoine [Tue, 7 Oct 2025 14:00:28 +0000 (16:00 +0200)]
smtp/mime: backport quoted printable tests to 7
Ticket: 7950
Jeff Lucovsky [Fri, 3 Oct 2025 14:21:18 +0000 (10:21 -0400)]
test/unknown: Use host order for ethtype check
Issue: 7855
Version 9+: Match the ethertype value using host order.
Version 8: Match the ethertype value using network order.
Victor Julien [Tue, 7 Oct 2025 11:30:22 +0000 (13:30 +0200)]
tests: add bug 7709 tests
Victor Julien [Sat, 4 Oct 2025 13:25:57 +0000 (15:25 +0200)]
tests: pop3: address todos in test
Philippe Antoine [Fri, 3 Oct 2025 14:03:28 +0000 (16:03 +0200)]
detect/files: add nfs test over udp only
Ticket: 7973
Philippe Antoine [Mon, 6 Oct 2025 06:54:45 +0000 (08:54 +0200)]
smtp/mime: backport quoted printable tests to 8
Ticket: 7950
Jason Ish [Thu, 25 Sep 2025 17:34:13 +0000 (11:34 -0600)]
tests/ike: update for attributes as objects in 9
Jason Ish [Thu, 25 Sep 2025 17:31:27 +0000 (11:31 -0600)]
test/ike: add test for duplicate proposals
Ticket: #7902
Jason Ish [Thu, 25 Sep 2025 16:49:22 +0000 (10:49 -0600)]
test/ike: add pcap_cnt
Easier to debug which packet record should match.
Juliana Fajardini [Tue, 30 Sep 2025 21:21:59 +0000 (18:21 -0300)]
tests: add tests for bug 7964
Related to
Bug #7964
Philippe Antoine [Mon, 29 Sep 2025 15:08:48 +0000 (17:08 +0200)]
smtp: do not test wrong values until backports
Ticket: 7950
Philippe Antoine [Mon, 29 Sep 2025 13:28:42 +0000 (15:28 +0200)]
mime: adds test about quoted-printable
Ticket: 7950
Philippe Antoine [Wed, 24 Sep 2025 19:08:23 +0000 (21:08 +0200)]
dnp3: adds tests about dnp3.ind keyword
Ticket: 6724
Philippe Antoine [Tue, 9 Sep 2025 20:47:58 +0000 (22:47 +0200)]
nfs: adds test for nfs_procedure keyword
Ticket: 6723
Philippe Antoine [Mon, 8 Sep 2025 08:51:50 +0000 (10:51 +0200)]
snmp: adds test for pdu_type keyword
Ticket: 6723
Philippe Antoine [Thu, 4 Sep 2025 13:33:32 +0000 (15:33 +0200)]
krb5: adds test for krb5_msg_type keyword
Ticket: 6723
Uses enumeration stringers and not equal mode
Fupeng Zhao [Wed, 17 Sep 2025 13:25:03 +0000 (13:25 +0000)]
tests/etag: Basic test case for ETAG decode
Ticket #3953.
Philippe Antoine [Thu, 18 Sep 2025 09:13:17 +0000 (11:13 +0200)]
http2: add test with window keyword and index
Ticket: 7480
Philippe Antoine [Thu, 18 Sep 2025 08:30:21 +0000 (10:30 +0200)]
http2: add check for http2.priority keyword
Was missing coverage
We do not have any pcaps with a stream changing its priority
to test the index capability
Philippe Antoine [Thu, 18 Sep 2025 08:00:17 +0000 (10:00 +0200)]
mqtt: add test with type keyword and index
Ticket: 7480
Philippe Antoine [Tue, 9 Sep 2025 13:01:58 +0000 (15:01 +0200)]
dns: add test with rrtype keyword and index
Ticket: 7480
Fupeng Zhao [Thu, 18 Sep 2025 11:31:26 +0000 (11:31 +0000)]
tests: add vxlan with non-zero reserved fields test
Ticket: #7753
Philippe Antoine [Wed, 18 Jun 2025 12:15:36 +0000 (14:15 +0200)]
email: test body-md5 auto setting without rules
Ticket: 7587
Verify that we do not output a body_md5
Alice Akaki [Mon, 14 Apr 2025 19:23:02 +0000 (15:23 -0400)]
detect: add test for email.body_md5 keyword
Ticket: #7587
Alice Akaki [Thu, 17 Apr 2025 19:04:06 +0000 (15:04 -0400)]
detect/mime: fix detect-email-received nits
Remove unused configuration from suricata.yaml
Reduce smtp filters to just one containing the three email.received[]
in test.yaml
Fixes: 2a2713e4 ("detect: add test for email.received keyword")
Victor Julien [Wed, 17 Sep 2025 17:58:26 +0000 (19:58 +0200)]
github-actions: adjust for suricata master to main rename
Add `main-8.0.x` branch as well.
Victor Julien [Wed, 17 Sep 2025 17:34:54 +0000 (19:34 +0200)]
tests: support 9 in requires-ok test
Philippe Antoine [Tue, 25 Feb 2025 09:16:36 +0000 (10:16 +0100)]
test: backports for issue 7521
Ticket: 7521
Juliana Fajardini [Mon, 8 Sep 2025 13:19:55 +0000 (10:19 -0300)]
tests/exception-policy: update READMEs #7884
Add more information concerning flow output for exception policies
in cases of flow-memcap and defrag-memcap.
Related to
Ticket #7884
Juliana Fajardini [Tue, 24 Jun 2025 18:32:45 +0000 (15:32 -0300)]
tests: update triggered exception flow output ones
To 7.0.12
Related to backport ticket
Task #7623
Victor Julien [Tue, 9 Sep 2025 19:51:03 +0000 (21:51 +0200)]
tests: enable 4702 test for 7.0.12
Victor Julien [Tue, 9 Sep 2025 19:45:25 +0000 (21:45 +0200)]
tests: add another test for 4702
Based on real traffic.
Philippe Antoine [Tue, 9 Sep 2025 18:58:32 +0000 (20:58 +0200)]
pppoe: backport test for pppoe decoder protocol alerts
Ticket: 7826
Victor Julien [Tue, 2 Sep 2025 07:51:54 +0000 (09:51 +0200)]
tests: add tests for issue 5758
Victor Julien [Tue, 2 Sep 2025 07:50:15 +0000 (09:50 +0200)]
tests: add tests for issue 6269
Victor Julien [Tue, 2 Sep 2025 07:50:01 +0000 (09:50 +0200)]
tests: add test for issue 4702
Thomas Winter [Mon, 21 Jul 2025 22:52:37 +0000 (10:52 +1200)]
pppoe: Add test for pppoe decoder protocol alerts
Suricata commit
b23fa51e ("detect: fix decoder only events") fixed
decoder events to go off properly. However it was found that the pppoe
decoder was going off on valid ppp packets.
With drop rules isntead of alert rules, a ppp connection could not
be established.
The following pcap is a valid ppp connection but valid pppoe packets
are being detected as wrong_type or unsup_proto.
Philippe Antoine [Thu, 28 Aug 2025 10:07:43 +0000 (12:07 +0200)]
http: backport test for identity Content encoding
Ticket: 7843
Jason Ish [Wed, 3 Sep 2025 15:18:47 +0000 (09:18 -0600)]
runner: respect CARGO env var when building eve validator
For cases where "cargo" does not exist, but "cargo-1.82" does.
Ticket: #7877
Philippe Antoine [Sun, 31 Aug 2025 18:59:22 +0000 (20:59 +0200)]
detect/prefilter: backport checks u8 prefilter with more modes
Ticket: 7865
Philippe Antoine [Tue, 26 Aug 2025 19:22:07 +0000 (21:22 +0200)]
detect/prefilter: test u8 prefilter with lte mode
Ticket: 7865
Philippe Antoine [Wed, 27 Aug 2025 20:42:57 +0000 (22:42 +0200)]
dns: add test with response with data length 0
Ticket: 7574
Philippe Antoine [Sun, 24 Aug 2025 20:02:28 +0000 (22:02 +0200)]
http: test no anomaly for identity Content encoding
Ticket: 7843
Jeff Lucovsky [Sun, 17 Aug 2025 14:21:39 +0000 (10:21 -0400)]
test/from_base64: Use transform with default values
This test uses default values for the parameters accepted by
from_base64:
- bytes
- offset
- decode type
Issue: 7853
Juliana Fajardini [Tue, 24 Jun 2025 19:01:11 +0000 (16:01 -0300)]
tests: update for exceptions stats counters
Related to backport ticket
Task #6509
Juliana Fajardini [Fri, 11 Jul 2025 21:49:06 +0000 (18:49 -0300)]
tests: add test for bug-7752 backport
Related to
Bug #7777 (backport ticket)
Bug #7752
Juliana Fajardini [Fri, 11 Jul 2025 21:49:58 +0000 (18:49 -0300)]
tests: fix check in test bug 4571 03
The event_type field was missing for one of the checks.