logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

drool - DNS Replay Tool

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 question and help please use:

              admin@dns-oarc.net

DNS Replay Tool                                       2.0.0                                             drool(1)

Database Size

       Note that 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 respdiff tool-chain in order for a successful
       analysis to be done.

Description

       This   tool   is   to   be   used   in   conjunction   with   the  tool-chain  respdiff  by  CZ.NIC  (see
       https://gitlab.labs.nic.cz/knot/respdiff).

       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 query, original response and the received response is then stored into a
       LMDB database located at path.  The name before the PCAP file and the name before  the  target  host  are
       stored  in the meta table which should correspond with the configuration use for respdiff in order for it
       to be able to read the results correctly.

Example

       This example replays a PCAP file against localhost and then uses the respdiff tool-chain to  analyze  the
       results.

         $ drool respdiff /lmdb/path pcap file.pcap target 127.0.0.1 53
         $ msgdiff.py /lmdb/path
         $ diffsum.py /lmdb/path

Name

       drool - DNS Replay Tool

Options

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

       -D     Show DNS queries and responses as processing goes.

       --no-tcp
              Do not use TCP.

       --no-udp
              Do not use UDP.

       -T--threads
              Use threads.

       --tcp-threadsN
              Set the number of TCP threads to use, default 2.

       --udp-threadsN
              Set the number of UDP threads to use, default 4.

       --timeoutN.N
              Set timeout for waiting on responses [seconds.nanoseconds], default 10.0.

       --sizeBYTES
              Set the size (in bytes, multiple of OS page size) of the LMDB database, default 10485760.

See Also

drool(1)

Synopsis

droolrespdiff [ options ] pathnamefilenamehostport

See Also