-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added additional documentation to the -h output.
- Loading branch information
1 parent
af28b78
commit 68d796e
Showing
2 changed files
with
64 additions
and
3 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,48 @@ | ||
-- OVERVIEW -- | ||
dns_parse takes as input a pcap of DNS data and produces a comple, trivially | ||
parsable, human readable ASCII version of the same data. It's generally useful | ||
for network monitoring (send the data to Splunk or similar). The most common | ||
carrying are supported, as well as packet deduplication. | ||
|
||
-- SUPPORTED PROTOCOLS -- | ||
Ethernet | ||
MPLS | ||
IPv4 (including fragment reassembly) | ||
IPv6 (including fragment reassembly) | ||
UDP | ||
TCP (with flow state saving and loading between pcaps) | ||
DNS (on any port) | ||
|
||
-- AUTHOR INFO -- | ||
Paul Ferrell | ||
pferrell@lanl.gov | ||
|
||
-- CONTENTS -- | ||
Code to build bin/dns_parse. | ||
init/dnscapture - An init script for running tcpdump on an interface as a | ||
service to generate regular pcap files. | ||
bin/dns_parse_cron - A python cron job script for periodically running dns_parse | ||
on regularly output pcap files (generally from using the -C or -G options in | ||
tcpdump). | ||
pkgs/dns_parse.spec - An RPM spec file, for those dinosaurs that still use these | ||
things (like me). | ||
etc/* - example config files for init/dnscapture and bin/dns_parse_cron | ||
|
||
-- DEPENDENCIES -- | ||
libpcap | ||
|
||
-- OS Dependencies -- | ||
This has been tested primarily on x86_64 linux, but there shouldn't be any typing issues on 32 bit machines. | ||
|
||
-- BUILDING AND INSTALLING -- | ||
make | ||
make install | ||
|
||
-- Running -- | ||
"./bin/dns_parse -h" should tell you everything you need to know. | ||
|
||
A reasonable set of options is: | ||
./bin/dns_parse -m "" -t -r <dns_captured.pcap> | ||
This gets you newline separated resource records an empty main record separator, | ||
pretty printed dates, and the shorthand for the record types (ie. A or CNAME). | ||
Printing of additional and name server records is disabled (by default). |
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