forked from OISF/suricata-verify
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add test for issue 7241/7242 for 7
Add test that works with Suricata 7.
- Loading branch information
1 parent
d13aaf8
commit a995cb6
Showing
3 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Test for issue 7272 | ||
=================== | ||
|
||
Test specifically for the features supported in Suricata 7. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
drop tcp any any -> any any (flow:established; app-layer-protocol:!tls; sid:1;) | ||
drop tcp any any -> any any (flow:established; app-layer-protocol:!tls; prefilter; sid:2;) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
requires: | ||
min-version: 7 | ||
|
||
pcap: ../tls/tls-random/input.pcap | ||
|
||
args: | ||
- -k none | ||
- --simulate-ips | ||
|
||
checks: | ||
- filter: | ||
count: 0 | ||
match: | ||
alert.signature_id: 1 | ||
event_type: alert | ||
- filter: | ||
count: 0 | ||
match: | ||
alert.signature_id: 2 | ||
event_type: alert |