Package dnsjit

Engine for capturing, parsing and replaying DNS

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

dnsjit is a combination of parts taken from dsc, dnscap, drool,
and put together around Lua to create a script-based engine for easy
capturing, parsing and statistics gathering of DNS message while also
providing facilities for replaying DNS traffic.

Version: 1.5.0

General Commands

dnsjit DNS engine based around LuaJIT for capturing, parsing, replaying and statistics gathering

Library Functions

dnsjit.core Core modules for dnsjit
dnsjit.core.channel Send data to another thread
dnsjit.core.compat Cross platform compatibility support
dnsjit.core.file OS file operations
dnsjit.core.loader Dynamic library loader
dnsjit.core.log Core logging facility
dnsjit.core.object Base object that is passed between receiver and receivee
dnsjit.core.object.dns Container of a DNS message
dnsjit.core.object.dns.label Container of a DNS label
dnsjit.core.object.dns.q Container of a DNS question
dnsjit.core.object.dns.rr Container of a DNS resource record
dnsjit.core.object.ether Ether part of a packet
dnsjit.core.object.gre Generic Routing Encapsulation (GRE) part of a packet
dnsjit.core.object.icmp An ICMP packet
dnsjit.core.object.icmp6 An ICMPv6 packet
dnsjit.core.object.ieee802 IEEE802 part of a packet
dnsjit.core.object.ip An IP packet
dnsjit.core.object.ip6 An IPv6 packet
dnsjit.core.object.linuxsll Linux cooked-mode capture (SLL) part of a packet
dnsjit.core.object.linuxsll2 Linux cooked-mode v2 capture (SLL2) part of a packet
dnsjit.core.object.loop OpenBSD loopback encapsulation (loop) part of a packet
dnsjit.core.object.null BSD loopback encapsulation (null) part of a packet
dnsjit.core.object.payload Application data payload
dnsjit.core.object.pcap Container of a packet found in a PCAP
dnsjit.core.object.tcp A TCP segment header
dnsjit.core.object.udp A UDP datagram header
dnsjit.core.objects Easy way to import all objects
dnsjit.core.producer Producer interfaces
dnsjit.core.receiver Receiver interfaces
dnsjit.core.thread POSIX thread with separate Lua state
dnsjit.core.timespec Non-system depended time specification structure definition
dnsjit.filter Filter/processing modules for dnsjit
dnsjit.filter.copy Creates a copy of an object chain with selected object types.
dnsjit.filter.ipsplit Pass objects to receivers based on the source IP address
dnsjit.filter.layer Parse the ether/IP stack
dnsjit.filter.split Passthrough to other receivers in various ways
dnsjit.filter.timing Filter to pass objects to the next receiver based on timing between packets
dnsjit.input Input modules for dnsjit
dnsjit.input.fpcap Read input from a PCAP file using fopen()
dnsjit.input.mmpcap Read input from a PCAP file using mmap()
dnsjit.input.pcap Read input from an interface or PCAP file using libpcap
dnsjit.input.zero Dummy layer to example.input.zero
dnsjit.input.zmmpcap Read input from a PCAP file using mmap()
dnsjit.input.zpcap Read input from a PCAP file that is compressed
dnsjit.lib Various Lua libraries or C library bindings
dnsjit.lib.base64url Utility library to convert data to base64url format
dnsjit.lib.clock Clock and time functions
dnsjit.lib.getopt Parse and handle arguments
dnsjit.lib.ip IP address utility library
dnsjit.lib.parseconf Parse simple config files
dnsjit.lib.trie Prefix-tree data structure which addresses values by strings or byte arrays
dnsjit.lib.trie.iter Iterator of the trie.
dnsjit.lib.trie.node Node of trie, which contains the value and key.
dnsjit.output Output modules for dnsjit
dnsjit.output.dnscli DNS aware UDP/TCP/TLS client
dnsjit.output.null Dummy layer to example.output.null
dnsjit.output.pcap Output to a PCAP using libpcap
dnsjit.output.respdiff Output to respdiff LMDB
dnsjit.output.tcpcli Simple, length aware, TCP client
dnsjit.output.tlscli Simple TLS client
dnsjit.output.udpcli Simple and dumb UDP DNS client