-
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.
doh: adds test for dns over http2 with post
Ticket: 5773
- Loading branch information
1 parent
3360174
commit 73fe41c
Showing
3 changed files
with
33 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,9 @@ | ||
# Description | ||
|
||
Test DNS over HTTP2 with POST | ||
https://redmine.openinfosecfoundation.org/issues/5773 | ||
|
||
# PCAP | ||
|
||
The pcap comes from https://redmine.openinfosecfoundation.org/issues/5773 | ||
|
Binary file not shown.
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,24 @@ | ||
requires: | ||
min-version: 8.0.0 | ||
|
||
# disables checksum verification | ||
args: | ||
- -k none | ||
|
||
checks: | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: dns | ||
dns.queries[0].rrname: example.com | ||
dns.queries[0].rrtype: NS | ||
dns.answers[0].rrname: example.com | ||
dns.answers[0].rrtype: NS | ||
dns.answers[0].rdata: b.iana-servers.net | ||
dns.grouped.NS[0]: b.iana-servers.net | ||
- filter: | ||
count: 1 | ||
match: | ||
event_type: flow | ||
app_proto: doh2 | ||
app_proto_orig: http2 |