-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dns-udp-double-request-response: v2 and v3 tests
- Loading branch information
Showing
6 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,16 @@ | ||
pcap: ../../dns-udp-double-request-response-v1/dns-udp-double-request-response.pcap | ||
|
||
requires: | ||
min-version: 8 | ||
|
||
checks: | ||
- filter: | ||
count: 2 | ||
match: | ||
event_type: dns | ||
dns.type: request | ||
- filter: | ||
count: 2 | ||
match: | ||
event_type: dns | ||
dns.type: response |
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,8 @@ | ||
Test 2 UDP DNS requests followed back to back with no response, then | ||
the 2 responses being received. | ||
|
||
Prior to Suricata 3.2 the first request would be marked as having a | ||
reply lost when the second request was seen. | ||
|
||
Related issue: | ||
https://redmine.openinfosecfoundation.org/issues/1923 |
10 changes: 10 additions & 0 deletions
10
tests/dns/v2/dns-udp-double-request-response/suricata.yaml
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,10 @@ | ||
%YAML 1.1 | ||
--- | ||
|
||
outputs: | ||
- eve-log: | ||
enabled: yes | ||
filename: eve.json | ||
types: | ||
- dns: | ||
version: 2 |
6 changes: 1 addition & 5 deletions
6
...dns-udp-double-request-response/test.yaml → ...dns-udp-double-request-response/test.yaml
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