-
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.
- Loading branch information
1 parent
bcde646
commit 0379519
Showing
4 changed files
with
55 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,11 @@ | ||
# Test Description | ||
|
||
This test shows that a rule with packet properties should not lead to a flow drop. | ||
|
||
## PCAP | ||
|
||
Comes from pre-existing test `bug-4663`. | ||
|
||
## Related issues | ||
|
||
https://redmine.openinfosecfoundation.org/issues/5578 |
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,13 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filetype: regular | ||
types: | ||
- alert | ||
- drop: | ||
flows: all | ||
alerts: yes | ||
- flow |
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 @@ | ||
drop http any any -> any any (dsize:0; sid:1;) |
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,30 @@ | ||
pcap: ../bug-4663/input.pcap | ||
|
||
args: | ||
- --simulate-ips | ||
|
||
checks: | ||
- filter: | ||
count: 421 | ||
match: | ||
event_type: alert | ||
alert.signature_id: 1 | ||
- filter: | ||
count: 421 | ||
match: | ||
event_type: drop | ||
drop.reason: rules | ||
- filter: | ||
count: 421 | ||
match: | ||
event_type: drop | ||
- filter: | ||
count: 0 | ||
match: | ||
event_type: flow | ||
flow.action: drop | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: flow | ||
flow.state: closed |