-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: check flowint isnotset support
Related to Task #7426
- Loading branch information
1 parent
a8f3e14
commit 6b17551
Showing
3 changed files
with
36 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,15 @@ | ||
Test | ||
---- | ||
|
||
Simple test to check that the keyword ``flowint`` accepts both ``notset`` | ||
and ``isnotset``. | ||
|
||
Pcap | ||
---- | ||
|
||
From test tls-subjectaltname | ||
|
||
Redmine Ticket | ||
-------------- | ||
|
||
https://redmine.openinfosecfoundation.org/issues/7426 |
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 @@ | ||
alert tls any any -> any any (msg:"test flowint isnotset"; flowint:flowtls1,isnotset; flowint:flowtls1,+,1; noalert; sid:1;) | ||
alert tls any any -> any any (msg:"test flowint notset"; flowint:flowtls2,notset; flowint:flowtls2,+,1; 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,19 @@ | ||
requires: | ||
min-version: 8 | ||
|
||
pcap: ../tls/tls-subjectaltname/input.pcap | ||
|
||
args: | ||
- -k none | ||
|
||
checks: | ||
- filter: | ||
count: 0 | ||
match: | ||
alert.signature_id: 1 | ||
event_type: alert | ||
- filter: | ||
count: 40 | ||
match: | ||
alert.signature_id: 2 | ||
event_type: alert |