drool(1)
π drool(1) β the DNS Replay Tool, bestie edition π
okay so. you opened the manual for drool, section 1 of the General Commands Manual, and honestly? you're about to have a great time. this is the page for the command itself, and it's giving "i replay DNS packets and i do it flawlessly." let's go π¦
β¨ NAME β¨
drool β DNS Replay Tool. that's it, that's the whole name, and it ate. π
β¨ SYNOPSIS β¨
drool respdiff [ options ] path name file name host port
ngl the synopsis is doing a little bit of mystery with those repeated "name" placeholders. read the DESCRIPTION before you type anything, i'm begging π
β¨ DESCRIPTION β¨
okay so here's the vibe: this tool is meant to be used in conjunction with the tool-chain respdiff by CZ.NIC (see https://gitlab.labs.nic.cz/knot/respdiff). they're a package deal, fr fr.
what it does: it will replay DNS queries found in the PCAP β but only if a correlating response is also found β against the target host and port. the way that it only replays queries that have a matching response? so considerate. π
then it takes the query, the original response, and the received response, and stores all three into a LMDB database located at path. iconic.
the name before the PCAP file and the name before the target host get stored in the meta table. lowkey important: those names should correspond with the configuration used for respdiff, because that's how respdiff is able to read the results correctly. so don't freestyle those, bestie. πΈ
β¨ OPTIONS β¨
these options are specific to the respdiff command β for the generic options, go look at drool(1). yes, it references itself, she's self-aware, we love her. π
-Dβ show DNS queries and responses as processing goes. like a little livestream of your packets. π₯--no-tcpβ do not use TCP. TCP found dead in a ditch.--no-udpβ do not use UDP. same energy, different protocol.-T,--threadsβ use threads. multitasking queen. β¨--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 timeout for waiting on responses [seconds.nanoseconds], default10.0. so you'd write something like--timeout 5.500000000, iykyk. β³--size BYTESβ set the size (in bytes, multiple of OS page size) of the LMDB database, default10485760. and no, it can't just be any old number β multiple of OS page size, remember that. π
β¨ DATABASE SIZE β¨
bestie. listen. π¨
you will need to set a database size that is large enough for all queries, all original responses, all received responses and all analysis done by the respdiff tool-chain in order for a successful analysis to be done. that's four whole categories of stuff crammed in there. if your DB is too small the analysis is not happening. periodt. π
β¨ EXAMPLE β¨
this example replays a PCAP file against localhost and then uses the respdiff tool-chain to analyze the results. it's giving full-circle moment. π
$ drool respdiff /lmdb/path pcap file.pcap target 127.0.0.1 53
$ msgdiff.py /lmdb/path
$ diffsum.py /lmdb/path
three commands. replay, then msgdiff.py, then diffsum.py. slay. π
β¨ SEE ALSO β¨
drool(1)β yes, the page you are currently reading. she's her own see-also. main character energy only. π
β¨ AUTHORS β¨
Jerry LundstrΓΆm, DNS-OARC
maintained by DNS-OARC
they built this. give them their flowers. π«Ά
β¨ BUGS β¨
for issues and feature requests please use:
for question and help please use:
admin@dns-oarc.net
go tell them things! they want to hear from you, fr fr. π
and that's the whole page, bestie β this was drool, DNS Replay Tool, version 2.0.0, straight out of the General Commands Manual. no cap, you're now certified. go replay some packets and hydrate. β¨ππ¦π
π¦ 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