Scroll to navigation

drool(1) General Commands Manual drool(1)

NAME

drool - DNS Replay Tool

SYNOPSIS

drool replay [ options ] file host port

DESCRIPTION

drool can replay DNS traffic from packet capture (PCAP) files and send it to a specified server, with options such as to manipulate the timing between packets, as well as loop packets infinitely or for a set number of iterations. This tool's goal is to be able to produce a high amount of UDP packets per second and TCP sessions per second on common hardware.

The purpose can be to simulate Distributed Denial of Service (DDoS) attacks on the DNS and measure normal DNS querying. For example, the tool could enable you to take a snapshot of a DDoS and be able to replay it later to test if new code or hardening techniques are useful, safe & effective. Another example is to be able to replay a packet stream for a bug that is sequence- and/or timing-related in order to validate the efficacy of subsequent bug fixes.

OPTIONS

These options are specific for the replay command, see drool(1) for generic options.

Show DNS queries and responses as processing goes.
Do not wait for responses before sending next request.
Do not use TCP.
Do not use UDP.
Use threads.
Set the number of TCP threads to use, default 2.
Set the number of UDP threads to use, default 4.
Set timeout for waiting on responses [seconds.nanoseconds], default 10.0.
Set the timing mode, see TIMING MODES.

EXAMPLES

Send all DNS queries twice as fast as found in the PCAP file to localhost using UDP.

Send all DNS queries over TCP to localhost as they were recorded.

Take all DNS queries found in the PCAP file and send them as fast as possible over UDP to localhost by ignoring both timings, replies and starting 3 threads that will simultaneously send queries.

TIMING MODES

Set the timing mode to ignore all timings and try to send traffic as fast as possible (default).
Set the timing mode to try and keep up with interval between the traffic received.
Set the timing mode to add the given nanoseconds to the interval between the traffic received.
Set the timing mode to reduce the interval between the traffic received with the given nanoseconds.
Set the timing mode to multiply the interval between the traffic received, this can be thought as percent with 1.00 being 100% of the interval, 2.00 being 200%, 0.10 being 10% and so on.
Set the timing between packets to the given nanoseconds.

SEE ALSO

drool(1)

AUTHORS

Jerry Lundström, DNS-OARC

Maintained by DNS-OARC

BUGS

For issues and feature requests please use:

For question and help please use:

admin@dns-oarc.net
2.0.0 DNS Replay Tool