-
Notifications
You must be signed in to change notification settings - Fork 8
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
Robert Edmonds
committed
Nov 4, 2014
1 parent
832283e
commit f47ae40
Showing
1 changed file
with
25 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,25 @@ | ||
## Overview | ||
|
||
This is `dnstap-ldns`, a reference utility that can decode [dnstap] encoded files. It uses the [ldns], [fstrm], and [protobuf-c] libraries to perform most of the heavy lifting. | ||
|
||
## Building | ||
|
||
First, install the dependencies: [ldns], [fstrm], and [protobuf-c]. | ||
|
||
Then, build and install `dnstap-ldns`: | ||
|
||
./configure && make && make install | ||
|
||
If building from a git checkout, the `autotools` must be installed. Run the `./autogen.sh` script first to bootstrap the build system. | ||
|
||
## Synopsis | ||
|
||
`dnstap` encoded files can be decoded and printed to `stdout` by running `dnstap-ldns -r` on the `dnstap` file. | ||
|
||
The output format can be selected by passing additional command-line flags. The `-q` flag specifies the "quiet text" output format, which is compact (one line per `dnstap` frame), and excludes full DNS message details. The `-y` flag specifies a more verbose multi-document YAML-encoded output format that includes full DNS message details, as parsed by the [ldns] library. | ||
|
||
[dnstap]: http://dnstap.info/ | ||
[ldns]: http://www.nlnetlabs.nl/projects/ldns/ | ||
[fstrm]: https://github.com/farsightsec/fstrm | ||
[protobuf-c]: https://github.com/protobuf-c/protobuf-c | ||
[yaml]: http://www.yaml.org/ |