drool(1)
π¦ drool(1) β the DNS Replay Tool, bestie edition π
okay so before we even get into it: this is drool(1) from the General Commands Manual, and it's genuinely one of those tools that looks scary and is actually iconic once you get it. it's giving "I replay DNS traffic and I'm fast about it." no cap. π
β¨ NAME β¨
drool β DNS Replay Tool πΈ
π SYNOPSIS π
drool replay [ options ] file host port
π DESCRIPTION π
so drool can replay DNS traffic from packet capture (PCAP) files and send it to a specified server. and bestie, it has options β you can manipulate the timing between packets, and you can loop packets infinitely or for a set number of iterations. its whole goal? producing a high amount of UDP packets per second and TCP sessions per second on common hardware. that's the dream. that's the assignment. π₯
the purpose, and I'm quoting the vibe here: to simulate Distributed Denial of Service (DDoS) attacks on the DNS, and to measure normal DNS querying. for example π«Ά the tool could let you take a snapshot of a DDoS and then replay it later to test if new code or hardening techniques are useful, safe & effective. another example: replaying a packet stream for a bug that's sequence- and/or timing-related, so you can validate the efficacy of the bug fixes that came after. literally so useful. not me being obsessed with a packet replayer. π
β¨ OPTIONS β¨
these options are specific for the replay command β for generic options, go see drool(1).
-Dβ show DNS queries and responses as processing goes. it's giving live commentary. π-n,--no-responsesβ do not wait for responses before sending the next request.--no-tcpβ do not use TCP.--no-udpβ do not use UDP.-T,--threadsβ use threads. β--tcp-threads Nβ set the number of TCP threads to use, default2.--udp-threads Nβ set the number of UDP threads to use, default4.--timeout N.Nβ set the timeout for waiting on responses[seconds.nanoseconds], default10.0.-t,--timing mode[=option]β set the timing mode, see TIMING MODES down below. π¦
π EXAMPLES π
drool replay --timing multiply=0.5 --no-tcp file.pcap 127.0.0.1 53
send all DNS queries twice as fast as found in the PCAP file to localhost using UDP. zoom zoom. β¨
drool replay --timing keep --no-udp file.pcap 127.0.0.1 53
send all DNS queries over TCP to localhost as they were recorded. we're being faithful to the source material. π
drool replay --no-tcp --no-responses --threads --udp-threads 3 file.pcap 127.0.0.1 53
take all DNS queries found in the PCAP file and send them as fast as possible over UDP to localhost β by ignoring both timings and replies, and starting 3 threads that will simultaneously send queries. three girls sending packets at once. main character energy, honestly. π
π TIMING MODES π
ignoreβ set the timing mode to ignore all timings and try to send traffic as fast as possible. this is the default. πkeepβ set the timing mode to try and keep up with the interval between the traffic received.add=<nanoseconds>β set the timing mode to add the given nanoseconds to the interval between the traffic received.reduce=<nanoseconds>β set the timing mode to reduce the interval between the traffic received with the given nanoseconds.multiply=<float>β set the timing mode to multiply the interval between the traffic received. think of it as percent:1.00is 100% of the interval,2.00is 200%,0.10is 10%, and so on.fixed=<nanoseconds>β set the timing between packets to the given nanoseconds.
πΈ SEE ALSO πΈ
π«Ά AUTHORS π«Ά
Jerry LundstrΓΆm, DNS-OARC π
Maintained by DNS-OARC β¨
https://www.dns-oarc.net/
π BUGS π
for issues and feature requests please use:
https://github.com/DNS-OARC/drool/issues
for questions and help please use:
admin@dns-oarc.net
lowkey if something's broken, don't suffer in silence bestie β hit the issue tracker or the email. π
and that's the whole page!! this one's the DNS Replay Tool, version 2.0.0, from the drool(1) manual. go forth and replay responsibly, mwah ππ§π
π¦ where this page comes from
- debian bookworm: drool 2.0.0-3 Β· BSD-3-Clause
- debian trixie: drool 2.0.0-9 Β· BSD-3-Clause
- ubuntu noble: drool 2.0.0-4 Β· BSD-3-Clause
- ubuntu questing: drool 2.0.0-9
- ubuntu resolute: drool 2.0.0-12 Β· BSD-3-Clause
- ubuntu stonking: drool 2.0.0-12 Β· BSD-3-Clause
- Copyright (c) 2017-2021, OARC, Inc
- Copyright (c) 2017, Comcast Corporation
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms