|
NAMEdrool - DNS Replay ToolSYNOPSISdrool [ -c [ type : ] config ] [ -l facility [ : level ] ] [ -L facility [ : level ] ] [ -f filter ] [ -i interface ] [ -r file.pcap ] [ -R mode ] [ -nvhV ]DESCRIPTIONdrool 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. Most of the functionality of this tool is controlled by the configuration used, please see drool.conf(5) for more information. DESIGNinput -> context -+-> client pool -> target +-> client pool -> target +-> client pool -> targetEach file read or interface listen on is a context and runs in its own thread, parses the input for DNS queries and puts them into a queue within the context. Each context can have one or more client pools. Each client pool runs in its own thread, waits for DNS queries on the context queue and sends them to the target. CURRENT IMPLEMENTATION LIMITATIONSSee drool.conf(5) for the current implementation limitations that exists.OPTIONS
LOGGINGLogging is enabled and disabled in the order specified on the command line which allows for enabling of all logging and disabling of specific, for example:drool -l all -L network:debug The following logging facilities exists:
The following logging level exists for all facilities:
READ MODES
EXITINGdrool will exit once processing of PCAP files is complete or if interrupted (CTRL-C or SIGINT). If any interface is being processed or if loop read mode is being used, then drool must be interrupted in order to exit.drool can be forcefully exited by interrupting (CTRL-C or SIGINT) twice. EXIT VALUES0 - no error1 - generic error 2 - unknown or invalid option 3 - conf file error 4 - signal setup or handling error 5 - signal received 6 - pcap-thread error 7 - out of memory EXAMPLES
SEE ALSOdrool.conf(5)AUTHORSJerry Lundström, DNS-OARCMaintained by DNS-OARC https://www.dns-oarc.net/
BUGSFor issues and feature requests please use:https://github.com/DNS-OARC/drool/issues
For question and help please use: admin@dns-oarc.net
Visit the GSP FreeBSD Man Page Interface. |