Adding upstream version 1.5.0.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-04-21 09:36:45 +02:00
parent 4f2087bb21
commit 01446c9ac8
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
419 changed files with 3061 additions and 1380 deletions

View file

@ -1,4 +1,4 @@
# Copyright (c) 2018-2024 OARC, Inc.
# Copyright (c) 2018-2025 OARC, Inc.
# All rights reserved.
#
# This file is part of dnsjit.
@ -48,16 +48,16 @@ dnsjit_LDADD = $(PTHREAD_LIBS) $(luajit_LIBS) $(liblz4_LIBS) $(libzstd_LIBS) \
$(libpcap_LIBS) $(gnutls_LIBS) $(liblzma_LIBS)
# C source and headers
dnsjit_SOURCES += core/channel.c core/compat.c core/file.c core/log.c core/object.c core/object/dns.c core/object/ether.c core/object/gre.c core/object/icmp6.c core/object/icmp.c core/object/ieee802.c core/object/ip6.c core/object/ip.c core/object/linuxsll.c core/object/loop.c core/object/null.c core/object/payload.c core/object/pcap.c core/object/tcp.c core/object/udp.c core/producer.c core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c filter/layer.c filter/split.c filter/timing.c input/fpcap.c input/mmpcap.c input/pcap.c input/zmmpcap.c input/zpcap.c lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c output/pcap.c output/respdiff.c output/tcpcli.c output/tlscli.c output/udpcli.c
nobase_dnsjitinclude_HEADERS += core/assert.h core/channel.h core/compat.h core/file.h core/log.h core/object/dns.h core/object/ether.h core/object/gre.h core/object.h core/object/icmp6.h core/object/icmp.h core/object/ieee802.h core/object/ip6.h core/object/ip.h core/object/linuxsll.h core/object/loop.h core/object/null.h core/object/payload.h core/object/pcap.h core/object/tcp.h core/object/udp.h core/producer.h core/receiver.h core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h filter/layer.h filter/split.h filter/timing.h input/fpcap.h input/mmpcap.h input/pcap.h input/zmmpcap.h input/zpcap.h lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h output/pcap.h output/respdiff.h output/tcpcli.h output/tlscli.h output/udpcli.h
dnsjit_SOURCES += core/channel.c core/compat.c core/file.c core/log.c core/object.c core/object/dns.c core/object/ether.c core/object/gre.c core/object/icmp6.c core/object/icmp.c core/object/ieee802.c core/object/ip6.c core/object/ip.c core/object/linuxsll2.c core/object/linuxsll.c core/object/loop.c core/object/null.c core/object/payload.c core/object/pcap.c core/object/tcp.c core/object/udp.c core/producer.c core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c filter/layer.c filter/split.c filter/timing.c input/fpcap.c input/mmpcap.c input/pcap.c input/zmmpcap.c input/zpcap.c lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c output/pcap.c output/respdiff.c output/tcpcli.c output/tlscli.c output/udpcli.c
nobase_dnsjitinclude_HEADERS += core/assert.h core/channel.h core/compat.h core/file.h core/log.h core/object/dns.h core/object/ether.h core/object/gre.h core/object.h core/object/icmp6.h core/object/icmp.h core/object/ieee802.h core/object/ip6.h core/object/ip.h core/object/linuxsll2.h core/object/linuxsll.h core/object/loop.h core/object/null.h core/object/payload.h core/object/pcap.h core/object/tcp.h core/object/udp.h core/producer.h core/receiver.h core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h filter/layer.h filter/split.h filter/timing.h input/fpcap.h input/mmpcap.h input/pcap.h input/zmmpcap.h input/zpcap.h lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h output/pcap.h output/respdiff.h output/tcpcli.h output/tlscli.h output/udpcli.h
# Lua headers
nobase_dnsjitinclude_HEADERS += core/channel.hh core/file.hh core/log.hh core/object/dns.hh core/object/ether.hh core/object/gre.hh core/object.hh core/object/icmp6.hh core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh core/object/linuxsll.hh core/object/loop.hh core/object/null.hh core/object/payload.hh core/object/pcap.hh core/object/tcp.hh core/object/udp.hh core/producer.hh core/receiver.hh core/thread.hh core/timespec.hh filter/copy.hh filter/ipsplit.hh filter/layer.hh filter/split.hh filter/timing.hh input/fpcap.hh input/mmpcap.hh input/pcap.hh input/zmmpcap.hh input/zpcap.hh lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh output/pcap.hh output/respdiff.hh output/tcpcli.hh output/tlscli.hh output/udpcli.hh
lua_hobjects += core/channel.luaho core/file.luaho core/log.luaho core/object/dns.luaho core/object/ether.luaho core/object/gre.luaho core/object/icmp6.luaho core/object/icmp.luaho core/object/ieee802.luaho core/object/ip6.luaho core/object/ip.luaho core/object/linuxsll.luaho core/object/loop.luaho core/object.luaho core/object/null.luaho core/object/payload.luaho core/object/pcap.luaho core/object/tcp.luaho core/object/udp.luaho core/producer.luaho core/receiver.luaho core/thread.luaho core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho filter/layer.luaho filter/split.luaho filter/timing.luaho input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho input/zmmpcap.luaho input/zpcap.luaho lib/base64url.luaho lib/clock.luaho lib/trie.luaho output/dnscli.luaho output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho output/tlscli.luaho output/udpcli.luaho
nobase_dnsjitinclude_HEADERS += core/channel.hh core/file.hh core/log.hh core/object/dns.hh core/object/ether.hh core/object/gre.hh core/object.hh core/object/icmp6.hh core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh core/object/linuxsll2.hh core/object/linuxsll.hh core/object/loop.hh core/object/null.hh core/object/payload.hh core/object/pcap.hh core/object/tcp.hh core/object/udp.hh core/producer.hh core/receiver.hh core/thread.hh core/timespec.hh filter/copy.hh filter/ipsplit.hh filter/layer.hh filter/split.hh filter/timing.hh input/fpcap.hh input/mmpcap.hh input/pcap.hh input/zmmpcap.hh input/zpcap.hh lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh output/pcap.hh output/respdiff.hh output/tcpcli.hh output/tlscli.hh output/udpcli.hh
lua_hobjects += core/channel.luaho core/file.luaho core/log.luaho core/object/dns.luaho core/object/ether.luaho core/object/gre.luaho core/object/icmp6.luaho core/object/icmp.luaho core/object/ieee802.luaho core/object/ip6.luaho core/object/ip.luaho core/object/linuxsll2.luaho core/object/linuxsll.luaho core/object/loop.luaho core/object.luaho core/object/null.luaho core/object/payload.luaho core/object/pcap.luaho core/object/tcp.luaho core/object/udp.luaho core/producer.luaho core/receiver.luaho core/thread.luaho core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho filter/layer.luaho filter/split.luaho filter/timing.luaho input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho input/zmmpcap.luaho input/zpcap.luaho lib/base64url.luaho lib/clock.luaho lib/trie.luaho output/dnscli.luaho output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho output/tlscli.luaho output/udpcli.luaho
# Lua sources
dist_dnsjit_SOURCES += core/channel.lua core/compat.lua core/file.lua core/loader.lua core/log.lua core/object/dns/label.lua core/object/dns.lua core/object/dns/q.lua core/object/dns/rr.lua core/object/ether.lua core/object/gre.lua core/object/icmp6.lua core/object/icmp.lua core/object/ieee802.lua core/object/ip6.lua core/object/ip.lua core/object/linuxsll.lua core/object/loop.lua core/object.lua core/object/null.lua core/object/payload.lua core/object/pcap.lua core/objects.lua core/object/tcp.lua core/object/udp.lua core/producer.lua core/receiver.lua core/thread.lua core/timespec.lua filter/copy.lua filter/ipsplit.lua filter/layer.lua filter/split.lua filter/timing.lua input/fpcap.lua input/mmpcap.lua input/pcap.lua input/zero.lua input/zmmpcap.lua input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua lib/trie/node.lua output/dnscli.lua output/null.lua output/pcap.lua output/respdiff.lua output/tcpcli.lua output/tlscli.lua output/udpcli.lua
lua_objects += core/channel.luao core/compat.luao core/file.luao core/loader.luao core/log.luao core/object/dns/label.luao core/object/dns.luao core/object/dns/q.luao core/object/dns/rr.luao core/object/ether.luao core/object/gre.luao core/object/icmp6.luao core/object/icmp.luao core/object/ieee802.luao core/object/ip6.luao core/object/ip.luao core/object/linuxsll.luao core/object/loop.luao core/object.luao core/object/null.luao core/object/payload.luao core/object/pcap.luao core/objects.luao core/object/tcp.luao core/object/udp.luao core/producer.luao core/receiver.luao core/thread.luao core/timespec.luao filter/copy.luao filter/ipsplit.luao filter/layer.luao filter/split.luao filter/timing.luao input/fpcap.luao input/mmpcap.luao input/pcap.luao input/zero.luao input/zmmpcap.luao input/zpcap.luao lib/base64url.luao lib/clock.luao lib/getopt.luao lib/ip.luao lib/parseconf.luao lib/trie/iter.luao lib/trie.luao lib/trie/node.luao output/dnscli.luao output/null.luao output/pcap.luao output/respdiff.luao output/tcpcli.luao output/tlscli.luao output/udpcli.luao
dist_dnsjit_SOURCES += core/channel.lua core/compat.lua core/file.lua core/loader.lua core/log.lua core/object/dns/label.lua core/object/dns.lua core/object/dns/q.lua core/object/dns/rr.lua core/object/ether.lua core/object/gre.lua core/object/icmp6.lua core/object/icmp.lua core/object/ieee802.lua core/object/ip6.lua core/object/ip.lua core/object/linuxsll2.lua core/object/linuxsll.lua core/object/loop.lua core/object.lua core/object/null.lua core/object/payload.lua core/object/pcap.lua core/objects.lua core/object/tcp.lua core/object/udp.lua core/producer.lua core/receiver.lua core/thread.lua core/timespec.lua filter/copy.lua filter/ipsplit.lua filter/layer.lua filter/split.lua filter/timing.lua input/fpcap.lua input/mmpcap.lua input/pcap.lua input/zero.lua input/zmmpcap.lua input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua lib/trie/node.lua output/dnscli.lua output/null.lua output/pcap.lua output/respdiff.lua output/tcpcli.lua output/tlscli.lua output/udpcli.lua
lua_objects += core/channel.luao core/compat.luao core/file.luao core/loader.luao core/log.luao core/object/dns/label.luao core/object/dns.luao core/object/dns/q.luao core/object/dns/rr.luao core/object/ether.luao core/object/gre.luao core/object/icmp6.luao core/object/icmp.luao core/object/ieee802.luao core/object/ip6.luao core/object/ip.luao core/object/linuxsll2.luao core/object/linuxsll.luao core/object/loop.luao core/object.luao core/object/null.luao core/object/payload.luao core/object/pcap.luao core/objects.luao core/object/tcp.luao core/object/udp.luao core/producer.luao core/receiver.luao core/thread.luao core/timespec.luao filter/copy.luao filter/ipsplit.luao filter/layer.luao filter/split.luao filter/timing.luao input/fpcap.luao input/mmpcap.luao input/pcap.luao input/zero.luao input/zmmpcap.luao input/zpcap.luao lib/base64url.luao lib/clock.luao lib/getopt.luao lib/ip.luao lib/parseconf.luao lib/trie/iter.luao lib/trie.luao lib/trie/node.luao output/dnscli.luao output/null.luao output/pcap.luao output/respdiff.luao output/tcpcli.luao output/tlscli.luao output/udpcli.luao
dnsjit_LDFLAGS = -Wl,-E
dnsjit_LDADD += $(lua_hobjects) $(lua_objects)
@ -67,7 +67,7 @@ man1_MANS = dnsjit.1
CLEANFILES += $(man1_MANS)
man3_MANS = dnsjit.core.3 dnsjit.lib.3 dnsjit.input.3 dnsjit.filter.3 dnsjit.output.3
man3_MANS += dnsjit.core.channel.3 dnsjit.core.compat.3 dnsjit.core.file.3 dnsjit.core.loader.3 dnsjit.core.log.3 dnsjit.core.object.3 dnsjit.core.object.dns.3 dnsjit.core.object.dns.label.3 dnsjit.core.object.dns.q.3 dnsjit.core.object.dns.rr.3 dnsjit.core.object.ether.3 dnsjit.core.object.gre.3 dnsjit.core.object.icmp.3 dnsjit.core.object.icmp6.3 dnsjit.core.object.ieee802.3 dnsjit.core.object.ip.3 dnsjit.core.object.ip6.3 dnsjit.core.object.linuxsll.3 dnsjit.core.object.loop.3 dnsjit.core.object.null.3 dnsjit.core.object.payload.3 dnsjit.core.object.pcap.3 dnsjit.core.objects.3 dnsjit.core.object.tcp.3 dnsjit.core.object.udp.3 dnsjit.core.producer.3 dnsjit.core.receiver.3 dnsjit.core.thread.3 dnsjit.core.timespec.3 dnsjit.filter.copy.3 dnsjit.filter.ipsplit.3 dnsjit.filter.layer.3 dnsjit.filter.split.3 dnsjit.filter.timing.3 dnsjit.input.fpcap.3 dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 dnsjit.input.zmmpcap.3 dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 dnsjit.output.null.3 dnsjit.output.pcap.3 dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
man3_MANS += dnsjit.core.channel.3 dnsjit.core.compat.3 dnsjit.core.file.3 dnsjit.core.loader.3 dnsjit.core.log.3 dnsjit.core.object.3 dnsjit.core.object.dns.3 dnsjit.core.object.dns.label.3 dnsjit.core.object.dns.q.3 dnsjit.core.object.dns.rr.3 dnsjit.core.object.ether.3 dnsjit.core.object.gre.3 dnsjit.core.object.icmp.3 dnsjit.core.object.icmp6.3 dnsjit.core.object.ieee802.3 dnsjit.core.object.ip.3 dnsjit.core.object.ip6.3 dnsjit.core.object.linuxsll2.3 dnsjit.core.object.linuxsll.3 dnsjit.core.object.loop.3 dnsjit.core.object.null.3 dnsjit.core.object.payload.3 dnsjit.core.object.pcap.3 dnsjit.core.objects.3 dnsjit.core.object.tcp.3 dnsjit.core.object.udp.3 dnsjit.core.producer.3 dnsjit.core.receiver.3 dnsjit.core.thread.3 dnsjit.core.timespec.3 dnsjit.filter.copy.3 dnsjit.filter.ipsplit.3 dnsjit.filter.layer.3 dnsjit.filter.split.3 dnsjit.filter.timing.3 dnsjit.input.fpcap.3 dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 dnsjit.input.zmmpcap.3 dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 dnsjit.output.null.3 dnsjit.output.pcap.3 dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
CLEANFILES += *.3in $(man3_MANS)
.lua.luao:
@ -175,6 +175,9 @@ dnsjit.core.object.ip6.3in: core/object/ip6.lua gen-manpage.lua
dnsjit.core.object.ip.3in: core/object/ip.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/ip.lua" > "$@"
dnsjit.core.object.linuxsll2.3in: core/object/linuxsll2.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/linuxsll2.lua" > "$@"
dnsjit.core.object.linuxsll.3in: core/object/linuxsll.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/linuxsll.lua" > "$@"

View file

@ -14,7 +14,7 @@
@SET_MAKE@
# Copyright (c) 2018-2024 OARC, Inc.
# Copyright (c) 2018-2025 OARC, Inc.
# All rights reserved.
#
# This file is part of dnsjit.
@ -141,20 +141,21 @@ am_dnsjit_OBJECTS = dnsjit.$(OBJEXT) globals.$(OBJEXT) \
core/object/gre.$(OBJEXT) core/object/icmp6.$(OBJEXT) \
core/object/icmp.$(OBJEXT) core/object/ieee802.$(OBJEXT) \
core/object/ip6.$(OBJEXT) core/object/ip.$(OBJEXT) \
core/object/linuxsll.$(OBJEXT) core/object/loop.$(OBJEXT) \
core/object/null.$(OBJEXT) core/object/payload.$(OBJEXT) \
core/object/pcap.$(OBJEXT) core/object/tcp.$(OBJEXT) \
core/object/udp.$(OBJEXT) core/producer.$(OBJEXT) \
core/receiver.$(OBJEXT) core/thread.$(OBJEXT) \
filter/copy.$(OBJEXT) filter/ipsplit.$(OBJEXT) \
filter/layer.$(OBJEXT) filter/split.$(OBJEXT) \
filter/timing.$(OBJEXT) input/fpcap.$(OBJEXT) \
input/mmpcap.$(OBJEXT) input/pcap.$(OBJEXT) \
input/zmmpcap.$(OBJEXT) input/zpcap.$(OBJEXT) \
lib/base64url.$(OBJEXT) lib/clock.$(OBJEXT) lib/trie.$(OBJEXT) \
output/dnscli.$(OBJEXT) output/pcap.$(OBJEXT) \
output/respdiff.$(OBJEXT) output/tcpcli.$(OBJEXT) \
output/tlscli.$(OBJEXT) output/udpcli.$(OBJEXT)
core/object/linuxsll2.$(OBJEXT) core/object/linuxsll.$(OBJEXT) \
core/object/loop.$(OBJEXT) core/object/null.$(OBJEXT) \
core/object/payload.$(OBJEXT) core/object/pcap.$(OBJEXT) \
core/object/tcp.$(OBJEXT) core/object/udp.$(OBJEXT) \
core/producer.$(OBJEXT) core/receiver.$(OBJEXT) \
core/thread.$(OBJEXT) filter/copy.$(OBJEXT) \
filter/ipsplit.$(OBJEXT) filter/layer.$(OBJEXT) \
filter/split.$(OBJEXT) filter/timing.$(OBJEXT) \
input/fpcap.$(OBJEXT) input/mmpcap.$(OBJEXT) \
input/pcap.$(OBJEXT) input/zmmpcap.$(OBJEXT) \
input/zpcap.$(OBJEXT) lib/base64url.$(OBJEXT) \
lib/clock.$(OBJEXT) lib/trie.$(OBJEXT) output/dnscli.$(OBJEXT) \
output/pcap.$(OBJEXT) output/respdiff.$(OBJEXT) \
output/tcpcli.$(OBJEXT) output/tlscli.$(OBJEXT) \
output/udpcli.$(OBJEXT)
dist_dnsjit_OBJECTS =
dnsjit_OBJECTS = $(am_dnsjit_OBJECTS) $(dist_dnsjit_OBJECTS)
am__DEPENDENCIES_1 =
@ -194,6 +195,7 @@ am__depfiles_remade = ./$(DEPDIR)/dnsjit.Po ./$(DEPDIR)/globals.Po \
core/object/$(DEPDIR)/icmp6.Po \
core/object/$(DEPDIR)/ieee802.Po core/object/$(DEPDIR)/ip.Po \
core/object/$(DEPDIR)/ip6.Po core/object/$(DEPDIR)/linuxsll.Po \
core/object/$(DEPDIR)/linuxsll2.Po \
core/object/$(DEPDIR)/loop.Po core/object/$(DEPDIR)/null.Po \
core/object/$(DEPDIR)/payload.Po core/object/$(DEPDIR)/pcap.Po \
core/object/$(DEPDIR)/tcp.Po core/object/$(DEPDIR)/udp.Po \
@ -358,6 +360,7 @@ EGREP = @EGREP@
ETAGS = @ETAGS@
EXEEXT = @EXEEXT@
FGREP = @FGREP@
FILECMD = @FILECMD@
GREP = @GREP@
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
@ -495,15 +498,16 @@ dnsjit_SOURCES = dnsjit.c globals.c core/channel.c core/compat.c \
core/file.c core/log.c core/object.c core/object/dns.c \
core/object/ether.c core/object/gre.c core/object/icmp6.c \
core/object/icmp.c core/object/ieee802.c core/object/ip6.c \
core/object/ip.c core/object/linuxsll.c core/object/loop.c \
core/object/null.c core/object/payload.c core/object/pcap.c \
core/object/tcp.c core/object/udp.c core/producer.c \
core/receiver.c core/thread.c filter/copy.c filter/ipsplit.c \
filter/layer.c filter/split.c filter/timing.c input/fpcap.c \
input/mmpcap.c input/pcap.c input/zmmpcap.c input/zpcap.c \
lib/base64url.c lib/clock.c lib/trie.c output/dnscli.c \
output/pcap.c output/respdiff.c output/tcpcli.c \
output/tlscli.c output/udpcli.c
core/object/ip.c core/object/linuxsll2.c \
core/object/linuxsll.c core/object/loop.c core/object/null.c \
core/object/payload.c core/object/pcap.c core/object/tcp.c \
core/object/udp.c core/producer.c core/receiver.c \
core/thread.c filter/copy.c filter/ipsplit.c filter/layer.c \
filter/split.c filter/timing.c input/fpcap.c input/mmpcap.c \
input/pcap.c input/zmmpcap.c input/zpcap.c lib/base64url.c \
lib/clock.c lib/trie.c output/dnscli.c output/pcap.c \
output/respdiff.c output/tcpcli.c output/tlscli.c \
output/udpcli.c
# Lua sources
dist_dnsjit_SOURCES = core.lua lib.lua input.lua filter.lua output.lua \
@ -513,19 +517,20 @@ dist_dnsjit_SOURCES = core.lua lib.lua input.lua filter.lua output.lua \
core/object/ether.lua core/object/gre.lua \
core/object/icmp6.lua core/object/icmp.lua \
core/object/ieee802.lua core/object/ip6.lua core/object/ip.lua \
core/object/linuxsll.lua core/object/loop.lua core/object.lua \
core/object/null.lua core/object/payload.lua \
core/object/pcap.lua core/objects.lua core/object/tcp.lua \
core/object/udp.lua core/producer.lua core/receiver.lua \
core/thread.lua core/timespec.lua filter/copy.lua \
filter/ipsplit.lua filter/layer.lua filter/split.lua \
filter/timing.lua input/fpcap.lua input/mmpcap.lua \
input/pcap.lua input/zero.lua input/zmmpcap.lua \
input/zpcap.lua lib/base64url.lua lib/clock.lua lib/getopt.lua \
lib/ip.lua lib/parseconf.lua lib/trie/iter.lua lib/trie.lua \
lib/trie/node.lua output/dnscli.lua output/null.lua \
output/pcap.lua output/respdiff.lua output/tcpcli.lua \
output/tlscli.lua output/udpcli.lua
core/object/linuxsll2.lua core/object/linuxsll.lua \
core/object/loop.lua core/object.lua core/object/null.lua \
core/object/payload.lua core/object/pcap.lua core/objects.lua \
core/object/tcp.lua core/object/udp.lua core/producer.lua \
core/receiver.lua core/thread.lua core/timespec.lua \
filter/copy.lua filter/ipsplit.lua filter/layer.lua \
filter/split.lua filter/timing.lua input/fpcap.lua \
input/mmpcap.lua input/pcap.lua input/zero.lua \
input/zmmpcap.lua input/zpcap.lua lib/base64url.lua \
lib/clock.lua lib/getopt.lua lib/ip.lua lib/parseconf.lua \
lib/trie/iter.lua lib/trie.lua lib/trie/node.lua \
output/dnscli.lua output/null.lua output/pcap.lua \
output/respdiff.lua output/tcpcli.lua output/tlscli.lua \
output/udpcli.lua
dnsjitincludedir = $(includedir)/dnsjit
# Lua headers
@ -534,45 +539,46 @@ nobase_dnsjitinclude_HEADERS = globals.h version.h core/assert.h \
core/object/dns.h core/object/ether.h core/object/gre.h \
core/object.h core/object/icmp6.h core/object/icmp.h \
core/object/ieee802.h core/object/ip6.h core/object/ip.h \
core/object/linuxsll.h core/object/loop.h core/object/null.h \
core/object/payload.h core/object/pcap.h core/object/tcp.h \
core/object/udp.h core/producer.h core/receiver.h \
core/thread.h core/timespec.h filter/copy.h filter/ipsplit.h \
filter/layer.h filter/split.h filter/timing.h input/fpcap.h \
input/mmpcap.h input/pcap.h input/zmmpcap.h input/zpcap.h \
lib/base64url.h lib/clock.h lib/trie.h output/dnscli.h \
output/pcap.h output/respdiff.h output/tcpcli.h \
output/tlscli.h output/udpcli.h core/channel.hh core/file.hh \
core/log.hh core/object/dns.hh core/object/ether.hh \
core/object/gre.hh core/object.hh core/object/icmp6.hh \
core/object/icmp.hh core/object/ieee802.hh core/object/ip6.hh \
core/object/ip.hh core/object/linuxsll.hh core/object/loop.hh \
core/object/null.hh core/object/payload.hh core/object/pcap.hh \
core/object/tcp.hh core/object/udp.hh core/producer.hh \
core/receiver.hh core/thread.hh core/timespec.hh \
filter/copy.hh filter/ipsplit.hh filter/layer.hh \
filter/split.hh filter/timing.hh input/fpcap.hh \
input/mmpcap.hh input/pcap.hh input/zmmpcap.hh input/zpcap.hh \
lib/base64url.hh lib/clock.hh lib/trie.hh output/dnscli.hh \
output/pcap.hh output/respdiff.hh output/tcpcli.hh \
output/tlscli.hh output/udpcli.hh
core/object/linuxsll2.h core/object/linuxsll.h \
core/object/loop.h core/object/null.h core/object/payload.h \
core/object/pcap.h core/object/tcp.h core/object/udp.h \
core/producer.h core/receiver.h core/thread.h core/timespec.h \
filter/copy.h filter/ipsplit.h filter/layer.h filter/split.h \
filter/timing.h input/fpcap.h input/mmpcap.h input/pcap.h \
input/zmmpcap.h input/zpcap.h lib/base64url.h lib/clock.h \
lib/trie.h output/dnscli.h output/pcap.h output/respdiff.h \
output/tcpcli.h output/tlscli.h output/udpcli.h \
core/channel.hh core/file.hh core/log.hh core/object/dns.hh \
core/object/ether.hh core/object/gre.hh core/object.hh \
core/object/icmp6.hh core/object/icmp.hh \
core/object/ieee802.hh core/object/ip6.hh core/object/ip.hh \
core/object/linuxsll2.hh core/object/linuxsll.hh \
core/object/loop.hh core/object/null.hh core/object/payload.hh \
core/object/pcap.hh core/object/tcp.hh core/object/udp.hh \
core/producer.hh core/receiver.hh core/thread.hh \
core/timespec.hh filter/copy.hh filter/ipsplit.hh \
filter/layer.hh filter/split.hh filter/timing.hh \
input/fpcap.hh input/mmpcap.hh input/pcap.hh input/zmmpcap.hh \
input/zpcap.hh lib/base64url.hh lib/clock.hh lib/trie.hh \
output/dnscli.hh output/pcap.hh output/respdiff.hh \
output/tcpcli.hh output/tlscli.hh output/udpcli.hh
lua_hobjects = core/compat.luaho core/channel.luaho core/file.luaho \
core/log.luaho core/object/dns.luaho core/object/ether.luaho \
core/object/gre.luaho core/object/icmp6.luaho \
core/object/icmp.luaho core/object/ieee802.luaho \
core/object/ip6.luaho core/object/ip.luaho \
core/object/linuxsll.luaho core/object/loop.luaho \
core/object.luaho core/object/null.luaho \
core/object/payload.luaho core/object/pcap.luaho \
core/object/tcp.luaho core/object/udp.luaho \
core/producer.luaho core/receiver.luaho core/thread.luaho \
core/timespec.luaho filter/copy.luaho filter/ipsplit.luaho \
filter/layer.luaho filter/split.luaho filter/timing.luaho \
input/fpcap.luaho input/mmpcap.luaho input/pcap.luaho \
input/zmmpcap.luaho input/zpcap.luaho lib/base64url.luaho \
lib/clock.luaho lib/trie.luaho output/dnscli.luaho \
output/pcap.luaho output/respdiff.luaho output/tcpcli.luaho \
output/tlscli.luaho output/udpcli.luaho
core/object/linuxsll2.luaho core/object/linuxsll.luaho \
core/object/loop.luaho core/object.luaho \
core/object/null.luaho core/object/payload.luaho \
core/object/pcap.luaho core/object/tcp.luaho \
core/object/udp.luaho core/producer.luaho core/receiver.luaho \
core/thread.luaho core/timespec.luaho filter/copy.luaho \
filter/ipsplit.luaho filter/layer.luaho filter/split.luaho \
filter/timing.luaho input/fpcap.luaho input/mmpcap.luaho \
input/pcap.luaho input/zmmpcap.luaho input/zpcap.luaho \
lib/base64url.luaho lib/clock.luaho lib/trie.luaho \
output/dnscli.luaho output/pcap.luaho output/respdiff.luaho \
output/tcpcli.luaho output/tlscli.luaho output/udpcli.luaho
lua_objects = core.luao lib.luao input.luao filter.luao output.luao \
core/channel.luao core/compat.luao core/file.luao \
core/loader.luao core/log.luao core/object/dns/label.luao \
@ -581,8 +587,8 @@ lua_objects = core.luao lib.luao input.luao filter.luao output.luao \
core/object/gre.luao core/object/icmp6.luao \
core/object/icmp.luao core/object/ieee802.luao \
core/object/ip6.luao core/object/ip.luao \
core/object/linuxsll.luao core/object/loop.luao \
core/object.luao core/object/null.luao \
core/object/linuxsll2.luao core/object/linuxsll.luao \
core/object/loop.luao core/object.luao core/object/null.luao \
core/object/payload.luao core/object/pcap.luao \
core/objects.luao core/object/tcp.luao core/object/udp.luao \
core/producer.luao core/receiver.luao core/thread.luao \
@ -609,24 +615,24 @@ man3_MANS = dnsjit.core.3 dnsjit.lib.3 dnsjit.input.3 dnsjit.filter.3 \
dnsjit.core.object.gre.3 dnsjit.core.object.icmp.3 \
dnsjit.core.object.icmp6.3 dnsjit.core.object.ieee802.3 \
dnsjit.core.object.ip.3 dnsjit.core.object.ip6.3 \
dnsjit.core.object.linuxsll.3 dnsjit.core.object.loop.3 \
dnsjit.core.object.null.3 dnsjit.core.object.payload.3 \
dnsjit.core.object.pcap.3 dnsjit.core.objects.3 \
dnsjit.core.object.tcp.3 dnsjit.core.object.udp.3 \
dnsjit.core.producer.3 dnsjit.core.receiver.3 \
dnsjit.core.thread.3 dnsjit.core.timespec.3 \
dnsjit.filter.copy.3 dnsjit.filter.ipsplit.3 \
dnsjit.filter.layer.3 dnsjit.filter.split.3 \
dnsjit.filter.timing.3 dnsjit.input.fpcap.3 \
dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 dnsjit.input.zero.3 \
dnsjit.input.zmmpcap.3 dnsjit.input.zpcap.3 \
dnsjit.lib.base64url.3 dnsjit.lib.clock.3 dnsjit.lib.getopt.3 \
dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 dnsjit.lib.trie.3 \
dnsjit.lib.trie.iter.3 dnsjit.lib.trie.node.3 \
dnsjit.output.dnscli.3 dnsjit.output.null.3 \
dnsjit.output.pcap.3 dnsjit.output.respdiff.3 \
dnsjit.output.tcpcli.3 dnsjit.output.tlscli.3 \
dnsjit.output.udpcli.3
dnsjit.core.object.linuxsll2.3 dnsjit.core.object.linuxsll.3 \
dnsjit.core.object.loop.3 dnsjit.core.object.null.3 \
dnsjit.core.object.payload.3 dnsjit.core.object.pcap.3 \
dnsjit.core.objects.3 dnsjit.core.object.tcp.3 \
dnsjit.core.object.udp.3 dnsjit.core.producer.3 \
dnsjit.core.receiver.3 dnsjit.core.thread.3 \
dnsjit.core.timespec.3 dnsjit.filter.copy.3 \
dnsjit.filter.ipsplit.3 dnsjit.filter.layer.3 \
dnsjit.filter.split.3 dnsjit.filter.timing.3 \
dnsjit.input.fpcap.3 dnsjit.input.mmpcap.3 dnsjit.input.pcap.3 \
dnsjit.input.zero.3 dnsjit.input.zmmpcap.3 \
dnsjit.input.zpcap.3 dnsjit.lib.base64url.3 dnsjit.lib.clock.3 \
dnsjit.lib.getopt.3 dnsjit.lib.ip.3 dnsjit.lib.parseconf.3 \
dnsjit.lib.trie.3 dnsjit.lib.trie.iter.3 \
dnsjit.lib.trie.node.3 dnsjit.output.dnscli.3 \
dnsjit.output.null.3 dnsjit.output.pcap.3 \
dnsjit.output.respdiff.3 dnsjit.output.tcpcli.3 \
dnsjit.output.tlscli.3 dnsjit.output.udpcli.3
all: $(BUILT_SOURCES) config.h
$(MAKE) $(AM_MAKEFLAGS) all-recursive
@ -763,6 +769,8 @@ core/object/ip6.$(OBJEXT): core/object/$(am__dirstamp) \
core/object/$(DEPDIR)/$(am__dirstamp)
core/object/ip.$(OBJEXT): core/object/$(am__dirstamp) \
core/object/$(DEPDIR)/$(am__dirstamp)
core/object/linuxsll2.$(OBJEXT): core/object/$(am__dirstamp) \
core/object/$(DEPDIR)/$(am__dirstamp)
core/object/linuxsll.$(OBJEXT): core/object/$(am__dirstamp) \
core/object/$(DEPDIR)/$(am__dirstamp)
core/object/loop.$(OBJEXT): core/object/$(am__dirstamp) \
@ -879,6 +887,7 @@ distclean-compile:
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/ip.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/ip6.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/linuxsll.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/linuxsll2.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/loop.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/null.Po@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@core/object/$(DEPDIR)/payload.Po@am__quote@ # am--include-marker
@ -1285,6 +1294,7 @@ distclean: distclean-recursive
-rm -f core/object/$(DEPDIR)/ip.Po
-rm -f core/object/$(DEPDIR)/ip6.Po
-rm -f core/object/$(DEPDIR)/linuxsll.Po
-rm -f core/object/$(DEPDIR)/linuxsll2.Po
-rm -f core/object/$(DEPDIR)/loop.Po
-rm -f core/object/$(DEPDIR)/null.Po
-rm -f core/object/$(DEPDIR)/payload.Po
@ -1378,6 +1388,7 @@ maintainer-clean: maintainer-clean-recursive
-rm -f core/object/$(DEPDIR)/ip.Po
-rm -f core/object/$(DEPDIR)/ip6.Po
-rm -f core/object/$(DEPDIR)/linuxsll.Po
-rm -f core/object/$(DEPDIR)/linuxsll2.Po
-rm -f core/object/$(DEPDIR)/loop.Po
-rm -f core/object/$(DEPDIR)/null.Po
-rm -f core/object/$(DEPDIR)/payload.Po
@ -1551,6 +1562,9 @@ dnsjit.core.object.ip6.3in: core/object/ip6.lua gen-manpage.lua
dnsjit.core.object.ip.3in: core/object/ip.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/ip.lua" > "$@"
dnsjit.core.object.linuxsll2.3in: core/object/linuxsll2.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/linuxsll2.lua" > "$@"
dnsjit.core.object.linuxsll.3in: core/object/linuxsll.lua gen-manpage.lua
$(LUAJIT) "$(srcdir)/gen-manpage.lua" "$(srcdir)/core/object/linuxsll.lua" > "$@"

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -27,6 +27,7 @@
#include "core/object/null.h"
#include "core/object/loop.h"
#include "core/object/linuxsll.h"
#include "core/object/linuxsll2.h"
#include "core/object/ieee802.h"
#include "core/object/gre.h"
#include "core/object/ip.h"
@ -57,6 +58,8 @@ core_object_t* core_object_copy(const core_object_t* self)
return (core_object_t*)core_object_ieee802_copy((core_object_ieee802_t*)self);
case CORE_OBJECT_GRE:
return (core_object_t*)core_object_gre_copy((core_object_gre_t*)self);
case CORE_OBJECT_LINUXSLL2:
return (core_object_t*)core_object_linuxsll2_copy((core_object_linuxsll2_t*)self);
case CORE_OBJECT_IP:
return (core_object_t*)core_object_ip_copy((core_object_ip_t*)self);
case CORE_OBJECT_IP6:
@ -105,6 +108,9 @@ void core_object_free(core_object_t* self)
case CORE_OBJECT_GRE:
core_object_gre_free((core_object_gre_t*)self);
break;
case CORE_OBJECT_LINUXSLL2:
core_object_linuxsll2_free((core_object_linuxsll2_t*)self);
break;
case CORE_OBJECT_IP:
core_object_ip_free((core_object_ip_t*)self);
break;

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -30,6 +30,7 @@
#define CORE_OBJECT_LINUXSLL 13
#define CORE_OBJECT_IEEE802 14
#define CORE_OBJECT_GRE 15
#define CORE_OBJECT_LINUXSLL2 16
/* protocol objects */
#define CORE_OBJECT_IP 20
#define CORE_OBJECT_IP6 21

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
@ -41,6 +41,7 @@ require("dnsjit.core.object.ether_h")
require("dnsjit.core.object.null_h")
require("dnsjit.core.object.loop_h")
require("dnsjit.core.object.linuxsll_h")
require("dnsjit.core.object.linuxsll2_h")
require("dnsjit.core.object.ieee802_h")
require("dnsjit.core.object.gre_h")
require("dnsjit.core.object.ip_h")
@ -65,6 +66,7 @@ local Object = {
LINUXSLL = 13,
IEEE802 = 14,
GRE = 15,
LINUXSLL2 = 16,
IP = 20,
IP6 = 21,
ICMP = 22,
@ -83,6 +85,7 @@ _type[Object.LOOP] = "loop"
_type[Object.LINUXSLL] = "linuxsll"
_type[Object.IEEE802] = "ieee802"
_type[Object.GRE] = "gre"
_type[Object.LINUXSLL2] = "linuxsll2"
_type[Object.IP] = "ip"
_type[Object.IP6] = "ip6"
_type[Object.ICMP] = "icmp"
@ -112,6 +115,7 @@ _cast[Object.LOOP] = "core_object_loop_t*"
_cast[Object.LINUXSLL] = "core_object_linuxsll_t*"
_cast[Object.IEEE802] = "core_object_ieee802_t*"
_cast[Object.GRE] = "core_object_gre_t*"
_cast[Object.LINUXSLL2] = "core_object_linuxsll2_t*"
_cast[Object.IP] = "core_object_ip_t*"
_cast[Object.IP6] = "core_object_ip6_t*"
_cast[Object.ICMP] = "core_object_icmp_t*"
@ -164,6 +168,7 @@ core_object_t = ffi.metatype(t_name, { __index = Object })
-- dnsjit.core.object.null (3),
-- dnsjit.core.object.loop (3),
-- dnsjit.core.object.linuxsll (3),
-- dnsjit.core.object.linuxsll2 (3),
-- dnsjit.core.object.ieee802 (3),
-- dnsjit.core.object.gre (3),
-- dnsjit.core.object.ip (3),

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -51,6 +51,7 @@
#define bswap_64(x) bswap64(x)
#endif
#endif
#include <ctype.h>
#define _ERR_MALFORMED -2
#define _ERR_NEEDLABELS -3
@ -475,3 +476,32 @@ int core_object_dns_parse_rr(core_object_dns_t* self, core_object_dns_rr_t* rr,
// TODO: error here on malformed/truncated? could be quite spammy
return _ERR_MALFORMED;
}
const char* core_object_dns_torfc1035(const char* str, size_t len)
{
mlassert(str, "str is nil");
static char res[512];
size_t i, j = 0;
for (i = 0; i < len; i++) {
if (j + 4 >= sizeof(res) - 1) {
return 0;
}
if (isalnum(str[i]) || str[i] == '-' || str[i] == '_') {
res[j++] = str[i];
} else if (isprint(str[i])) {
res[j++] = '\\';
res[j++] = str[i];
} else {
res[j++] = '\\';
res[j++] = '0' + (((unsigned char)str[i] >> 6) & 0x07);
res[j++] = '0' + (((unsigned char)str[i] >> 3) & 0x07);
res[j++] = '0' + ((unsigned char)str[i] & 0x07);
}
}
res[j] = 0;
return res;
}

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -117,3 +117,5 @@ void core_object_dns_reset(core_object_dns_t* self);
int core_object_dns_parse_header(core_object_dns_t* self);
int core_object_dns_parse_q(core_object_dns_t* self, core_object_dns_q_t* q, core_object_dns_label_t* label, size_t labels);
int core_object_dns_parse_rr(core_object_dns_t* self, core_object_dns_rr_t* rr, core_object_dns_label_t* label, size_t labels);
const char* core_object_dns_torfc1035(const char* str, size_t len);

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
@ -67,8 +67,16 @@ function Label.new(size)
end
-- Returns labels as a string and an offset to the next label.
-- The string may be nil if the first label was an offset.
-- The offset may be nil if the last label was an extension bits or end marker.
-- Takes argument
-- .IR labels ,
-- an array of labels returned by any of the parse functions, and
-- .IR num_labels ,
-- number of labels in the array.
-- Optional
-- .I offset_labels
-- can be used to skip labels at the start.
-- The return string may be nil if the first label was an offset.
-- The return offset may be nil if the last label was an extension bits or end marker.
function Label.tostring(dns, labels, num_labels, offset_labels)
if offset_labels == nil then
offset_labels = 0
@ -91,9 +99,50 @@ function Label.tostring(dns, labels, num_labels, offset_labels)
return dn, nil
end
-- Returns a RFC1035 domain name of the labels and an offset to the next label.
-- Takes argument
-- .IR labels ,
-- an array of labels returned by any of the parse functions, and
-- .IR num_labels ,
-- number of labels in the array.
-- Optional
-- .I offset_labels
-- can be used to skip labels at the start.
-- The return string may be nil if the first label was an offset.
-- The return offset may be nil if the last label was an extension bits or end marker.
function Label.torfc1035(dns, labels, num_labels, offset_labels)
if offset_labels == nil then
offset_labels = 0
end
local dn
for n = 1, tonumber(num_labels) do
local label = labels[n - 1 + offset_labels]
if label.have_dn == 1 then
if dn == nil then
dn = ""
end
dn = dn .. ffi.string(ffi.C.core_object_dns_torfc1035(dns.payload + label.offset + 1, label.length)) .. "."
elseif label.have_offset == 1 then
return dn, label.offset
else
return dn, nil
end
end
return dn, nil
end
-- Returns labels as a string which also includes a textual notation of the
-- offset in the form of
-- .IR "<offset>label" .
-- Takes argument
-- .IR labels ,
-- an array of labels returned by any of the parse functions, and
-- .IR num_labels ,
-- number of labels in the array.
-- Optional
-- .I offset_labels
-- can be used to skip labels at the start.
function Label.tooffstr(dns, labels, num_labels, offset_labels)
if offset_labels == nil then
offset_labels = 0

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -37,6 +37,7 @@
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, \
0, 0, 0, 0, \
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, \
0, \
}
#endif

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
@ -36,6 +36,8 @@ typedef struct core_object_ip6 {
uint16_t frag_offlg;
uint16_t frag_ident;
uint8_t rtdst[16];
uint16_t hlen;
} core_object_ip6_t;
core_object_ip6_t* core_object_ip6_copy(const core_object_ip6_t* self);

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
@ -58,6 +58,9 @@
-- rtdst
-- Destination address found in the routing extension header.
-- .TP
-- hlen
-- The length of extension headers, in bytes.
-- .TP
-- payload
-- A pointer to the payload.
-- .TP

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -0,0 +1,45 @@
/*
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
*
* dnsjit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* dnsjit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
#include "config.h"
#include "core/object/linuxsll2.h"
#include "core/assert.h"
#include <stdlib.h>
#include <string.h>
core_object_linuxsll2_t* core_object_linuxsll2_copy(const core_object_linuxsll2_t* self)
{
core_object_linuxsll2_t* copy;
glassert_self();
glfatal_oom(copy = malloc(sizeof(core_object_linuxsll2_t)));
memcpy(copy, self, sizeof(core_object_linuxsll2_t));
copy->obj_prev = 0;
return copy;
}
void core_object_linuxsll2_free(core_object_linuxsll2_t* self)
{
glassert_self();
free(self);
}

View file

@ -0,0 +1,38 @@
/*
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
*
* dnsjit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* dnsjit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
#include <dnsjit/core/object.h>
#include <dnsjit/core/timespec.h>
#ifndef __dnsjit_core_object_linuxsll2_h
#define __dnsjit_core_object_linuxsll2_h
#include <stddef.h>
#include <dnsjit/core/object/linuxsll2.hh>
#define CORE_OBJECT_LINUXSLL2_INIT(prev) \
{ \
CORE_OBJECT_INIT(CORE_OBJECT_LINUXSLL2, prev) \
, \
0, 0, 0, 0, 0, 0, { 0, 0, 0, 0, 0, 0, 0, 0 } \
}
#endif

View file

@ -0,0 +1,37 @@
/*
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.
*
* dnsjit is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* dnsjit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
*/
// lua:require("dnsjit.core.object_h")
typedef struct core_object_linuxsll2 {
const core_object_t* obj_prev;
int32_t obj_type;
uint16_t protocol_type;
uint16_t reserved;
uint32_t interface_index;
uint16_t arphrd_type;
uint8_t packet_type;
uint8_t link_layer_address_length;
uint8_t link_layer_address[8];
} core_object_linuxsll2_t;
core_object_linuxsll2_t* core_object_linuxsll2_copy(const core_object_linuxsll2_t* self);
void core_object_linuxsll2_free(core_object_linuxsll2_t* self);

View file

@ -0,0 +1,90 @@
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
--
-- dnsjit is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.
--
-- dnsjit is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with dnsjit. If not, see <http://www.gnu.org/licenses/>.
-- dnsjit.core.object.linuxsll2
-- Linux cooked-mode v2 capture (SLL2) part of a packet
--
-- The SLL2 part of a packet that usually can be found in the object chain
-- after parsing with, for example, Layer filter.
-- .SS Attributes
-- .TP
-- protocol_type
-- The protocol type.
-- .TP
-- reserved
-- Reserved (MBZ).
-- .TP
-- interface_index
-- The interface index, on the machine on which the capture is done, of the interface on which the packet was sent or received.
-- .TP
-- arphrd_type
-- The link-layer device type.
-- .TP
-- packet_type
-- The packet type.
-- .TP
-- link_layer_address_length
-- The length of the link-layer address.
-- .TP
-- link_layer_address
-- The link-layer address.
module(...,package.seeall)
require("dnsjit.core.object.linuxsll2_h")
local ffi = require("ffi")
local C = ffi.C
local t_name = "core_object_linuxsll2_t"
local core_object_linuxsll2_t
local Linuxsll2 = {}
-- Return the textual type of the object.
function Linuxsll2:type()
return "linuxsll2"
end
-- Return the previous object.
function Linuxsll2:prev()
return self.obj_prev
end
-- Cast the object to the underlining object module and return it.
function Linuxsll2:cast()
return self
end
-- Cast the object to the generic object module and return it.
function Linuxsll2:uncast()
return ffi.cast("core_object_t*", self)
end
-- Make a copy of the object and return it.
function Linuxsll2:copy()
return C.core_object_linuxsll2_copy(self)
end
-- Free the object, should only be used on copies or otherwise allocated.
function Linuxsll2:free()
C.core_object_linuxsll2_free(self)
end
core_object_linuxsll2_t = ffi.metatype(t_name, { __index = Linuxsll2 })
-- dnsjit.core.object (3).
-- dnsjit.filter.layer (3)
return Linuxsll2

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.
@ -31,6 +31,7 @@ require("dnsjit.core.object.ether")
require("dnsjit.core.object.null")
require("dnsjit.core.object.loop")
require("dnsjit.core.object.linuxsll")
require("dnsjit.core.object.linuxsll2")
require("dnsjit.core.object.ieee802")
require("dnsjit.core.object.gre")
require("dnsjit.core.object.ip")
@ -48,6 +49,7 @@ require("dnsjit.core.object.dns")
-- dnsjit.core.object.null (3),
-- dnsjit.core.object.loop (3),
-- dnsjit.core.object.linuxsll (3),
-- dnsjit.core.object.linuxsll2 (3),
-- dnsjit.core.object.ieee802 (3),
-- dnsjit.core.object.gre (3),
-- dnsjit.core.object.ip (3),

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018-2024 OARC, Inc.
* Copyright (c) 2018-2025 OARC, Inc.
* All rights reserved.
*
* This file is part of dnsjit.

View file

@ -1,4 +1,4 @@
-- Copyright (c) 2018-2024 OARC, Inc.
-- Copyright (c) 2018-2025 OARC, Inc.
-- All rights reserved.
--
-- This file is part of dnsjit.

Some files were not shown because too many files have changed in this diff Show more