Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for EDNS and DNSSEC #803

Merged
merged 3 commits into from
Jan 25, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Add support for EDNS and DNSSEC
Library change from gopacket to miekg/dns:
* Modify payload objects and attributes used throughout the dns package
* FQDNs now terminate with a dot as any absolute domain name should [RFC1035](https://tools.ietf.org/html/rfc1035)
* Update glide with the miekg/dns library

Also:
* Do a minor cleaning in the function that decodes DNS over TCP
* Move DnsMessage struct from dns_tcp.go to dns.go
* Change the flag 'recursion_allowed' to 'recursion_available' [DNS Header Flags](http://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml#dns-parameters-12)
McStork committed Jan 25, 2016

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 715dda181ee8a31e293e8fd9968be855f1498c52
1 change: 1 addition & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
@@ -35,3 +35,4 @@ import:
version: f3e2bae1e0cb5aef83e319133eabfee30013a4a5
- package: github.com/go-ole/go-ole
version: v1.2.0
- package: github.com/miekg/dns
14 changes: 13 additions & 1 deletion packetbeat/etc/fields.yml
Original file line number Diff line number Diff line change
@@ -251,7 +251,7 @@ event:
A DNS flag specifying that the responding server is an authority for
the domain name used in the question.

- name: dns.flags.recursion_allowed
- name: dns.flags.recursion_available
type: bool
description: >
A DNS flag specifying whether recursive query support is available in the
@@ -263,6 +263,18 @@ event:
A DNS flag specifying that the client directs the server to pursue a
query recursively. Recursive query support is optional.

- name: dns.flags.authentic_data
type: bool
description: >
A DNS flag specifying that the recursive server considers the response
authentic.

- name: dns.flags.checking_disabled
type: bool
description: >
A DNS flag specifying that the client disables the server
signature validation of the query.

- name: dns.flags.truncated_response
type: bool
description: >
Loading