dnsjit.output.respdiff(3)

πŸ“¦
version 1.5.1 Β· 5 versions
, in epel 10, epel 9, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

πŸ’– dnsjit.output.respdiff β€” the manual page, but make it cute πŸ’–

ok so bestie, welcome to the dnsjit.output.respdiff(3) page, from the dnsjit Library Functions Manual. this one's all about yeeting your DNS responses into an LMDB so respdiff can gossip about them later. let's go ✨


🌸 NAME 🌸

dnsjit.output.respdiff β€” Output to respdiff LMDB 🫢


✨ SYNOPSIS ✨

local output = require("dnsjit.output.respdiff").new("/path/to/lmdb")

πŸ’… DESCRIPTION πŸ’…

so this module outputs into an LMDB database (the format is 2018-05-21, very specific, respect it) that respdiff can then use to compare the responses it found in your input data against the responses that actually got received. iconic behavior fr fr.

the receive function expects a chain of 2 or 3 core.object.payload objects. here's the vibe:

  • for a completed query: the top of the chain is the query, then after it the original response, and then the received response (so that's 3 total, slay).
  • for a timed out query: the top of the chain is the query, and after it the original response (just 2, it's giving minimal).

πŸŽ€ Functions πŸŽ€

  • Respdiff.new(path, origname, recvname, mapsize) β€” make a brand new Respdiff output and create the LMDB database inside the directory path. the origname and recvname get used to populate the meta table, and these names should be the same as what is configured in respdiff.cfg (iykyk, don't get cute with them). the optional mapsize can be passed in to bump the database size up beyond the default size of 10MB.
  • Respdiff:log() β€” hands you back the Log object so you can control logging for this instance or module. πŸͺ΅
  • Respdiff:receive() β€” returns the C functions and context for receiving objects. 🫴
  • Respdiff:commit(start_time, end_time) β€” commits the LMDB transactions. heads up: you cannot store any more objects after this call, that's it, doors closed, periodt. the start_time and end_time you pass in are used to fill the meta table. ⏰

πŸ‘€ SEE ALSO πŸ‘€


πŸ‘‘ AUTHORS and CONTRIBUTORS πŸ‘‘

the literal main characters behind this:

  • Jerry LundstrΓΆm (DNS-OARC)
  • TomΓ‘Ε‘ KΕ™Γ­ΕΎek (CZ.NIC)
  • Petr Ε paček (ISC)

Maintained by DNS-OARC πŸ’–

      https://www.dns-oarc.net/


πŸ’€ BUGS πŸ’€

found a bug? want a feature? the way that you should tell them:

      https://codeberg.org/DNS-OARC/dnsjit/issues

got a question or need help instead? no worries bestie:

      admin@dns-oarc.net


and that's the whole page!! this was dnsjit version 1.5.1, and the manual section is dnsjit.output.respdiff(3). ty for reading, go commit your LMDBs responsibly πŸ¦‹πŸ’œ