Skip to content

Commit

Permalink
Merge pull request #803 from McStork/dns-miekg
Browse files Browse the repository at this point in the history
Change decode library to miekg/dns
  • Loading branch information
andrewkroh committed Jan 25, 2016
2 parents ba80aa2 + 8eabce0 commit fe9655c
Show file tree
Hide file tree
Showing 77 changed files with 21,748 additions and 390 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ https://github.com/elastic/beats/compare/1.0.0...master[Check the HEAD diff]
- Move event preprocessor applying GeoIP to packetbeat {pull}772[772]

*Packetbeat*
- Rename output fields in the dns package. Former flag `recursion_allowed` becomes `recursion_available`. {pull}803[803]
Former SOA field `ttl` becomes `minimum`. {pull}803[803]
- The fully qualified domain names which are part of output fields values of the dns package now terminate with a dot. {pull}803[803]

*Topbeat*
- Rename proc.cpu.user_p with proc.cpu.total_p as includes CPU time spent in kernel space {pull}631[631]
Expand Down Expand Up @@ -64,6 +67,7 @@ https://github.com/elastic/beats/compare/1.0.0...master[Check the HEAD diff]

*Packetbeat*
- Add support for capturing DNS over TCP network traffic. {pull}486[486] {pull}554[554]
- Change the DNS library used throughout the dns package to github.com/miekg/dns. {pull}803[803]

*Topbeat*
- Group all cpu usage per core statistics and export them optionally if cpu_per_core is configured {pull}496[496]
Expand Down
2 changes: 2 additions & 0 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ import:
version: f3e2bae1e0cb5aef83e319133eabfee30013a4a5
- package: github.com/go-ole/go-ole
version: v1.2.0
- package: github.com/miekg/dns
version: 85b661b2a6fc95a5a83e66d7730c4bc0b6e9c99e
16 changes: 15 additions & 1 deletion packetbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ type: bool
A DNS flag specifying that the responding server is an authority for the domain name used in the question.


==== dns.flags.recursion_allowed
==== dns.flags.recursion_available

type: bool

Expand All @@ -195,6 +195,20 @@ type: bool
A DNS flag specifying that the client directs the server to pursue a query recursively. Recursive query support is optional.


==== dns.flags.authentic_data

type: bool

A DNS flag specifying that the recursive server considers the response authentic.


==== dns.flags.checking_disabled

type: bool

A DNS flag specifying that the client disables the server signature validation of the query.


==== dns.flags.truncated_response

type: bool
Expand Down
14 changes: 13 additions & 1 deletion packetbeat/etc/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: >
Expand Down
Loading

0 comments on commit fe9655c

Please sign in to comment.