]>
git.ipfire.org Git - thirdparty/suricata-verify.git/log
Juliana Fajardini [Tue, 27 Jan 2026 13:48:25 +0000 (10:48 -0300)]
tests: update 5510-related tests
With the fix for bug 5180, some results needed updating.
Related to
Bug #5180
Juliana Fajardini [Tue, 27 Jan 2026 13:47:19 +0000 (10:47 -0300)]
tests/misc: fix typo in tests name
Juliana Fajardini [Tue, 27 Jan 2026 12:45:57 +0000 (09:45 -0300)]
tests/misc: fix README files
Some files that were missing redmine ticket reference, and/or had
partially wrong descriptions.
Juliana Fajardini [Thu, 30 Oct 2025 00:31:48 +0000 (17:31 -0700)]
tests: add 'drop and alert queue max' tests
Related to
Bug #5180
Philippe Antoine [Fri, 16 Jan 2026 16:52:57 +0000 (17:52 +0100)]
tls: adds test for tls_cert_notafter keyword
Ticket: 3065
Jeff Lucovsky [Wed, 21 Jan 2026 14:33:24 +0000 (09:33 -0500)]
test/byte_jump Test case using bitmask
Issue: 6693
2 test cases using bitmask:
- Validate bitmask values of 0 are not permitted
- Validate bitmask value applied correctly
Jason Ish [Mon, 2 Feb 2026 22:32:43 +0000 (16:32 -0600)]
tests/lua-gc-nil: set min-version to 8.0.4
Philippe Antoine [Tue, 2 Dec 2025 10:07:58 +0000 (11:07 +0100)]
smtp: adds test for protocol recognition on quit
Ticket: 6591
Philippe Antoine [Thu, 27 Nov 2025 14:23:26 +0000 (15:23 +0100)]
ftp: adds test for protocol recognition on quit
Ticket: 6591
Jason Ish [Thu, 8 Jan 2026 21:18:54 +0000 (15:18 -0600)]
tests/dnp3: set min-version to 7.0.14
Remove backoff keywords as they don't work in 7, and are not critical to
the tests.
Jason Ish [Wed, 7 Jan 2026 17:17:13 +0000 (11:17 -0600)]
test: add test for dnp3 max objects
Ticket: #8181
Jason Ish [Tue, 6 Jan 2026 17:43:13 +0000 (11:43 -0600)]
test: dnp3 max points test
Test that an alert is raised if the maximum number of points per object
was hit.
Ticket: #8181
Jason Ish [Tue, 6 Jan 2026 17:33:40 +0000 (11:33 -0600)]
test: dnp3 flood test
Test that a DNP3 flood event is raised after 32 in-flight requests.
Ticket: #8181
Philippe Antoine [Mon, 17 Nov 2025 18:41:44 +0000 (19:41 +0100)]
datasets: add test with long string
Ticket: 8110
Shivani Bhardwaj [Mon, 5 Jan 2026 14:25:29 +0000 (19:55 +0530)]
tests: add test for alert queue capacity overflow
Ticket: 8190
Philippe Antoine [Wed, 21 Jan 2026 20:31:45 +0000 (21:31 +0100)]
tests: enable 8224 test for 7.0.14
Victor Julien [Wed, 21 Jan 2026 12:34:12 +0000 (13:34 +0100)]
tests: add test for issue 4220
Not showing a problem, behavior is as expected.
Victor Julien [Wed, 21 Jan 2026 08:54:52 +0000 (09:54 +0100)]
tests: add test to show isdataat behavior
Ticket: #8031.
Victor Julien [Thu, 15 Jan 2026 14:17:40 +0000 (15:17 +0100)]
tests: add test for ticket 7847
Test doesn't show a problem, just the current way to do something.
Philippe Antoine [Mon, 5 Jan 2026 20:25:37 +0000 (21:25 +0100)]
tests: enable issue 6744 for 7 as well
Ticket: 6744
The breakage happened in 8, so test always passed in 7
Victor Julien [Tue, 23 Dec 2025 14:44:30 +0000 (15:44 +0100)]
tests: remove vim .swp file
Juliana Fajardini [Sat, 1 Nov 2025 02:31:20 +0000 (19:31 -0700)]
tests: add more tests for bug 8021
Related to
Bug #8021
Bug #7630
Juliana Fajardini [Wed, 29 Oct 2025 18:53:46 +0000 (11:53 -0700)]
tests: improve alert-max tests
As the tests for correct rule alerts appending and alert verdict have
more rules, it's easier to understand the whole behavior if all the
rules present are accounted for, in the yaml checks.
Bug #8021
Philippe Antoine [Mon, 27 Oct 2025 20:45:37 +0000 (21:45 +0100)]
output: add test with verdict and alert-max
Ticket: 8021
Ofer Dagan [Mon, 27 Oct 2025 16:23:13 +0000 (17:23 +0100)]
tests: detection_filter unique_on ports and no-dup cases
Add tests coverage to the new detection_filter option of unique_on,
for dst and src ports.
Issue: 7928
Jason Ish [Fri, 23 Jan 2026 22:25:15 +0000 (16:25 -0600)]
test: test lua gc of nil value with sandbox disabled
Ticket: #8248
Shivani Bhardwaj [Fri, 20 Jun 2025 12:08:34 +0000 (17:38 +0530)]
flowbits: add tests for invalid flowbit cmd combinations
Bug 7772
Bug 7773
Bug 7774
Bug 7817
Bug 7818
Bug 8166
Jeff Lucovsky [Tue, 9 Dec 2025 13:35:35 +0000 (08:35 -0500)]
github: Add partial link for issue
Modified github template to contain the partial link for the redmine
issue which only requires the issue number to be complete.
Jeff Lucovsky [Mon, 8 Dec 2025 13:52:46 +0000 (08:52 -0500)]
test/ipv4: Test case for IPv4 unknown proto
Test case to ensure IPv4 unknown proto event fires.
Issue: 7146
Victor Julien [Mon, 19 Jan 2026 19:26:53 +0000 (20:26 +0100)]
tests: enable 7842 test for 7.0.15
Victor Julien [Sat, 17 Jan 2026 08:42:56 +0000 (09:42 +0100)]
tests: enable 8224 test for 8.0.4
Victor Julien [Sat, 17 Jan 2026 08:42:37 +0000 (09:42 +0100)]
tests: enable 7842 test for 8.0.4
Victor Julien [Sat, 17 Jan 2026 08:42:09 +0000 (09:42 +0100)]
tests: enable 8206 test for 8.0.4
Philippe Antoine [Fri, 16 Jan 2026 14:22:11 +0000 (15:22 +0100)]
nfs: backport logging tests to 8
Ticket: 8222
Victor Julien [Fri, 16 Jan 2026 12:11:07 +0000 (13:11 +0100)]
tests: add test for issue 8224
Philippe Antoine [Tue, 13 Jan 2026 20:36:42 +0000 (21:36 +0100)]
ssh: adds test with hassh disabled
Ticket: 8223
Victor Julien [Thu, 15 Jan 2026 13:03:49 +0000 (14:03 +0100)]
tests: add test for decoder counters
For testing derive counters.
Victor Julien [Sat, 10 Jan 2026 19:52:41 +0000 (20:52 +0100)]
tests: add bug 7842 test
Philippe Antoine [Thu, 11 Dec 2025 20:52:32 +0000 (21:52 +0100)]
unix-socket: add test for add-hostbits
Ticket: 8102
Philippe Antoine [Thu, 11 Dec 2025 20:42:07 +0000 (21:42 +0100)]
framework: unix-socket support
Ticket: 3464
Add support for unix-socket SV tests.
A test may define may define in its yaml a unix-commands list.
If so,
- we add --unix-socket to suricata args
- after launching suricata, we wait to see Engine started in stdout
- we then run suricatasc commands
- Checks can be run on sc.json for suricatasc output
If suricatasc is not found, such tests are skipped
Shivani Bhardwaj [Tue, 6 Jan 2026 07:30:02 +0000 (13:00 +0530)]
tls: enable tests for 8
Philippe Antoine [Mon, 12 Jan 2026 19:56:36 +0000 (20:56 +0100)]
nfs: add a test for nfsv2 logging
Ticket: 8222
Philippe Antoine [Mon, 12 Jan 2026 19:41:02 +0000 (20:41 +0100)]
nfs: adds test for nfs4 write logging
Ticket: 8222
Victor Julien [Wed, 7 Jan 2026 13:13:17 +0000 (14:13 +0100)]
tests: add test for issue 8206
Philippe Antoine [Tue, 16 Dec 2025 21:40:59 +0000 (22:40 +0100)]
quic: add test for encryption-handling bypass
Ticket: 8116
Giuseppe Longo [Wed, 7 Jan 2026 09:23:18 +0000 (10:23 +0100)]
macset: backport swap test to 7.0.14
Victor Julien [Tue, 6 Jan 2026 13:36:17 +0000 (14:36 +0100)]
tests: update list-frames tests for 8.0.x
Victor Julien [Tue, 6 Jan 2026 13:28:52 +0000 (14:28 +0100)]
tests: update 5713 tests for 8.0.x
Giuseppe Longo [Wed, 24 Dec 2025 17:50:12 +0000 (18:50 +0100)]
macset: backport swap test to 8.0.3
Shivani Bhardwaj [Wed, 17 Dec 2025 08:13:59 +0000 (13:43 +0530)]
tls-log: add a test for Suricata versions < 9
Shivani Bhardwaj [Tue, 16 Dec 2025 08:00:45 +0000 (13:30 +0530)]
tls: remove deprecated tls-log configuration
Task 7233
Shivani Bhardwaj [Tue, 18 Nov 2025 10:48:58 +0000 (16:18 +0530)]
tls: add tests for detection on zero in keywords
4 keywords are handled in the rust parser this way.
1. Subject: This patch has test
2. SubjectAltName: Test already exists: tls-altname-zero
3. Issuer: This patch has test
4. Serial: Zero bytes are permissible and already a part of several
serial numbers including the tests in this patch. This field is
supposed to be a non-negative long integers as per RFC 5280
Bug 7887
Victor Julien [Tue, 23 Dec 2025 12:25:35 +0000 (13:25 +0100)]
tests: add issue 5713 about tls version logging tests
Victor Julien [Tue, 23 Dec 2025 11:58:17 +0000 (12:58 +0100)]
tests: update tfo test for tls version logging
Ticket: #5713.
Victor Julien [Mon, 22 Dec 2025 09:07:33 +0000 (10:07 +0100)]
tests: add test for --list-app-layer-frames option
Ticket: #8174.
Victor Julien [Wed, 24 Dec 2025 19:35:47 +0000 (20:35 +0100)]
tests: test issue 8173 on 8.0.3
Victor Julien [Mon, 22 Dec 2025 21:06:57 +0000 (22:06 +0100)]
tests: enable issue 6744 for 8
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