diff --git a/dns/Makefile b/dns/Makefile index 83a25830788b..4de49cd05ccc 100644 --- a/dns/Makefile +++ b/dns/Makefile @@ -1,248 +1,249 @@ COMMENT = Domain Name Service tools SUBDIR += adns SUBDIR += adsuck SUBDIR += amass SUBDIR += ares SUBDIR += axfr2acl SUBDIR += bind-tools SUBDIR += bind9-devel SUBDIR += bind911 SUBDIR += bind916 SUBDIR += bindgraph SUBDIR += blocky SUBDIR += bundy SUBDIR += c-ares SUBDIR += cli53 SUBDIR += coredns SUBDIR += crossip SUBDIR += curvedns SUBDIR += ddclient SUBDIR += ddns SUBDIR += denominator SUBDIR += dhisd SUBDIR += djbdns SUBDIR += djbdns-tools SUBDIR += dlint SUBDIR += dnrd SUBDIR += dns-ui SUBDIR += dns2blackhole SUBDIR += dns2tcp SUBDIR += dns_balance SUBDIR += dnsblast SUBDIR += dnscap SUBDIR += dnscheckengine SUBDIR += dnscontrol SUBDIR += dnscrypt-proxy2 SUBDIR += dnscrypt-wrapper SUBDIR += dnsdbck SUBDIR += dnsdbflex SUBDIR += dnsdbq SUBDIR += dnsdist SUBDIR += dnsenum SUBDIR += dnsflood SUBDIR += dnsforwarder SUBDIR += dnshistory SUBDIR += dnsjava + SUBDIR += dnsjit SUBDIR += dnsmasq SUBDIR += dnsmasq-devel SUBDIR += dnsmax-perl SUBDIR += dnsperf SUBDIR += dnsproxy SUBDIR += dnsrecon SUBDIR += dnsreflector SUBDIR += dnstable SUBDIR += dnstable-convert SUBDIR += dnstop SUBDIR += dnstracer SUBDIR += dnsutl SUBDIR += dnsviz SUBDIR += dnswalk SUBDIR += dnswall SUBDIR += doc SUBDIR += dog SUBDIR += doggo SUBDIR += doh-proxy SUBDIR += dq SUBDIR += drool SUBDIR += dsc SUBDIR += dsp SUBDIR += dynip SUBDIR += encrypted-dns-server SUBDIR += erlang-idna SUBDIR += fastresolve SUBDIR += firedns SUBDIR += flamethrower SUBDIR += fpdns SUBDIR += gdnsd2 SUBDIR += gdnsd3 SUBDIR += gen6dns SUBDIR += getdns SUBDIR += hesiod SUBDIR += hetzner_ddns SUBDIR += hostdb SUBDIR += idnkit SUBDIR += idnkit2 SUBDIR += inadyn SUBDIR += ipcheck SUBDIR += ironsides SUBDIR += kadnode SUBDIR += kf5-kdnssd SUBDIR += knock SUBDIR += knot-resolver SUBDIR += knot3 SUBDIR += knot3-lib SUBDIR += ldapdns SUBDIR += ldns SUBDIR += libasr SUBDIR += libasr-devel SUBDIR += libbind SUBDIR += libdjbdns SUBDIR += libidn SUBDIR += libidn2 SUBDIR += libmicrodns SUBDIR += libnspsl SUBDIR += libpsl SUBDIR += linux-c7-libasyncns SUBDIR += mDNSResponder_nss SUBDIR += maradns SUBDIR += mdnsd SUBDIR += mydns SUBDIR += mydns-ng SUBDIR += namesilo_ddns SUBDIR += nextdns SUBDIR += noip SUBDIR += nsd SUBDIR += nslint SUBDIR += nsnotifyd SUBDIR += nsping SUBDIR += nss_mdns SUBDIR += nss_resinit SUBDIR += opendnssec2 SUBDIR += openresolv SUBDIR += p5-AnyEvent-CacheDNS SUBDIR += p5-AnyEvent-DNS-EtcHosts SUBDIR += p5-App-DSC-DataTool SUBDIR += p5-BIND-Conf_Parser SUBDIR += p5-BIND-Config-Parser SUBDIR += p5-DNS-Config SUBDIR += p5-DNS-EasyDNS SUBDIR += p5-DNS-Ldns SUBDIR += p5-DNS-Zone SUBDIR += p5-DNS-ZoneParse SUBDIR += p5-DNS-nsdiff SUBDIR += p5-DSC SUBDIR += p5-Data-Validate-Domain SUBDIR += p5-IO-Async-Resolver-DNS SUBDIR += p5-Mozilla-PublicSuffix SUBDIR += p5-Net-Amazon-Route53 SUBDIR += p5-Net-Bonjour SUBDIR += p5-Net-DNS SUBDIR += p5-Net-DNS-Async SUBDIR += p5-Net-DNS-Check SUBDIR += p5-Net-DNS-Codes SUBDIR += p5-Net-DNS-Lite SUBDIR += p5-Net-DNS-Match SUBDIR += p5-Net-DNS-RR-SRV-Helper SUBDIR += p5-Net-DNS-Resolver-Mock SUBDIR += p5-Net-DNS-Resolver-Programmable SUBDIR += p5-Net-DNS-SEC SUBDIR += p5-Net-DNS-TestNS SUBDIR += p5-Net-DNS-ToolKit SUBDIR += p5-Net-DNS-Zone-Parser SUBDIR += p5-Net-DNS-ZoneFile-Fast SUBDIR += p5-Net-DNSBL-MultiDaemon SUBDIR += p5-Net-DNSBL-Statistics SUBDIR += p5-Net-DRI SUBDIR += p5-Net-Domain-ExpireDate SUBDIR += p5-Net-Domain-TLD SUBDIR += p5-Net-LibIDN SUBDIR += p5-Net-LibIDN2 SUBDIR += p5-Net-Nslookup SUBDIR += p5-Net-RBLClient SUBDIR += p5-Net-RNDC SUBDIR += p5-POE-Component-Client-DNS SUBDIR += p5-POE-Component-Client-DNS-Recursive SUBDIR += p5-POE-Component-Client-DNSBL SUBDIR += p5-POE-Component-Resolver SUBDIR += p5-POE-Component-Server-DNS SUBDIR += p5-POE-Filter-DNS-TCP SUBDIR += p5-Tie-DNS SUBDIR += p5-URBL-Prepare SUBDIR += packetq SUBDIR += pdnsd SUBDIR += pear-File_DNS SUBDIR += pear-Horde_Idna SUBDIR += pear-Net_DNS2 SUBDIR += powerdns SUBDIR += powerdns-recursor SUBDIR += public_suffix_list SUBDIR += py-adns SUBDIR += py-aiodns SUBDIR += py-cloudflare SUBDIR += py-dns-crawler SUBDIR += py-dns-lexicon SUBDIR += py-dnspython SUBDIR += py-dnspython2 SUBDIR += py-easyzone SUBDIR += py-idna SUBDIR += py-idna_ssl SUBDIR += py-ldns SUBDIR += py-localzone SUBDIR += py-namebench SUBDIR += py-ns1-python SUBDIR += py-publicsuffix SUBDIR += py-publicsuffix2 SUBDIR += py-publicsuffixlist SUBDIR += py-py3dns SUBDIR += py-pybonjour SUBDIR += py-pycares SUBDIR += py-pydnstable SUBDIR += py-pywdns SUBDIR += py-tld SUBDIR += py-tldextract SUBDIR += qmdnsengine SUBDIR += radns SUBDIR += rbldnsd SUBDIR += rbllookup SUBDIR += rbllookup-ng SUBDIR += rdap SUBDIR += renewck SUBDIR += rpsl2acl SUBDIR += rubygem-dnsruby SUBDIR += rubygem-gitlab-net-dns SUBDIR += rubygem-google-apis-dns_v1 SUBDIR += rubygem-google-cloud-dns SUBDIR += rubygem-idn-ruby SUBDIR += rubygem-net-dns SUBDIR += rubygem-public_suffix SUBDIR += rubygem-public_suffix_service SUBDIR += rubygem-resolv SUBDIR += rubygem-resolv-replace SUBDIR += rubygem-simpleidn SUBDIR += rubygem-validates_hostname SUBDIR += rubygem-zonefile SUBDIR += samba-nsupdate SUBDIR += scavenge SUBDIR += sheerdns SUBDIR += sleuth SUBDIR += subfinder SUBDIR += tinystats SUBDIR += totd SUBDIR += udns SUBDIR += unbound SUBDIR += updatedd SUBDIR += utdns SUBDIR += validns SUBDIR += vhostcname SUBDIR += vizone SUBDIR += void-zones-tools SUBDIR += walker SUBDIR += wdns SUBDIR += whoseip SUBDIR += wrapsrv SUBDIR += yadifa SUBDIR += zkt SUBDIR += zonenotify .include diff --git a/dns/dnsjit/Makefile b/dns/dnsjit/Makefile new file mode 100644 index 000000000000..d058a50519b9 --- /dev/null +++ b/dns/dnsjit/Makefile @@ -0,0 +1,35 @@ +PORTNAME= dnsjit +DISTVERSIONPREFIX= v +DISTVERSION= 1.2.1 +CATEGORIES= dns net + +PATCH_SITES= https://github.com/DNS-OARC/dnsjit/commit/ +PATCHFILES= 3cdd801153373a316027920e5c650f111777fab4.patch:-p1 + +MAINTAINER= freebsd@dns.company +COMMENT= Engine for capturing, parsing and replaying DNS + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libck.so:devel/concurrencykit \ + libgnutls.so:security/gnutls \ + liblmdb.so:databases/lmdb \ + libluajit-5.1.so:lang/luajit-openresty \ + liblz4.so:archivers/liblz4 \ + libpcap.so:net/libpcap \ + libzstd.so:archivers/zstd + +USES= autoreconf libtool pkgconfig +USE_GITHUB= yes +GH_ACCOUNT= DNS-OARC + +GNU_CONFIGURE= yes + +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.lua ${STAGEDIR}${EXAMPLESDIR} + +.include diff --git a/dns/dnsjit/distinfo b/dns/dnsjit/distinfo new file mode 100644 index 000000000000..3734d8a07249 --- /dev/null +++ b/dns/dnsjit/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1631872554 +SHA256 (DNS-OARC-dnsjit-v1.2.1_GH0.tar.gz) = ecac17974d104c17d1df775c2b548109ad7e53d05fbc2acd823fa43fce330d51 +SIZE (DNS-OARC-dnsjit-v1.2.1_GH0.tar.gz) = 187114 +SHA256 (3cdd801153373a316027920e5c650f111777fab4.patch) = dfebe484d81e35c13f87b060eba4878cee88c0edd00a6caa57573f897e5f9a9b +SIZE (3cdd801153373a316027920e5c650f111777fab4.patch) = 1009 diff --git a/dns/dnsjit/pkg-descr b/dns/dnsjit/pkg-descr new file mode 100644 index 000000000000..9182b6f39c4b --- /dev/null +++ b/dns/dnsjit/pkg-descr @@ -0,0 +1,13 @@ +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 messages while +also providing facilities for replaying DNS traffic. + +One of the core functionality that dnsjit brings is to tie together +C and Lua modules through a receiver/receive interface. This allows +creation of custom chains of functionality to meet various requirements. +Another core functionality is the ability to parse and process DNS +messages even if the messages are non-compliant with the DNS +standards. + +WWW: https://www.dns-oarc.net/tools/dnsjit diff --git a/dns/dnsjit/pkg-plist b/dns/dnsjit/pkg-plist new file mode 100644 index 000000000000..6bb99d122095 --- /dev/null +++ b/dns/dnsjit/pkg-plist @@ -0,0 +1,158 @@ +bin/dnsjit +include/dnsjit/core/assert.h +include/dnsjit/core/channel.h +include/dnsjit/core/channel.hh +include/dnsjit/core/compat.h +include/dnsjit/core/file.h +include/dnsjit/core/file.hh +include/dnsjit/core/log.h +include/dnsjit/core/log.hh +include/dnsjit/core/object.h +include/dnsjit/core/object.hh +include/dnsjit/core/object/dns.h +include/dnsjit/core/object/dns.hh +include/dnsjit/core/object/ether.h +include/dnsjit/core/object/ether.hh +include/dnsjit/core/object/gre.h +include/dnsjit/core/object/gre.hh +include/dnsjit/core/object/icmp.h +include/dnsjit/core/object/icmp.hh +include/dnsjit/core/object/icmp6.h +include/dnsjit/core/object/icmp6.hh +include/dnsjit/core/object/ieee802.h +include/dnsjit/core/object/ieee802.hh +include/dnsjit/core/object/ip.h +include/dnsjit/core/object/ip.hh +include/dnsjit/core/object/ip6.h +include/dnsjit/core/object/ip6.hh +include/dnsjit/core/object/linuxsll.h +include/dnsjit/core/object/linuxsll.hh +include/dnsjit/core/object/loop.h +include/dnsjit/core/object/loop.hh +include/dnsjit/core/object/null.h +include/dnsjit/core/object/null.hh +include/dnsjit/core/object/payload.h +include/dnsjit/core/object/payload.hh +include/dnsjit/core/object/pcap.h +include/dnsjit/core/object/pcap.hh +include/dnsjit/core/object/tcp.h +include/dnsjit/core/object/tcp.hh +include/dnsjit/core/object/udp.h +include/dnsjit/core/object/udp.hh +include/dnsjit/core/producer.h +include/dnsjit/core/producer.hh +include/dnsjit/core/receiver.h +include/dnsjit/core/receiver.hh +include/dnsjit/core/thread.h +include/dnsjit/core/thread.hh +include/dnsjit/core/timespec.h +include/dnsjit/core/timespec.hh +include/dnsjit/filter/copy.h +include/dnsjit/filter/copy.hh +include/dnsjit/filter/ipsplit.h +include/dnsjit/filter/ipsplit.hh +include/dnsjit/filter/layer.h +include/dnsjit/filter/layer.hh +include/dnsjit/filter/split.h +include/dnsjit/filter/split.hh +include/dnsjit/filter/timing.h +include/dnsjit/filter/timing.hh +include/dnsjit/globals.h +include/dnsjit/input/fpcap.h +include/dnsjit/input/fpcap.hh +include/dnsjit/input/mmpcap.h +include/dnsjit/input/mmpcap.hh +include/dnsjit/input/pcap.h +include/dnsjit/input/pcap.hh +include/dnsjit/input/zpcap.h +include/dnsjit/input/zpcap.hh +include/dnsjit/lib/base64url.h +include/dnsjit/lib/base64url.hh +include/dnsjit/lib/clock.h +include/dnsjit/lib/clock.hh +include/dnsjit/lib/trie.h +include/dnsjit/lib/trie.hh +include/dnsjit/output/dnscli.h +include/dnsjit/output/dnscli.hh +include/dnsjit/output/pcap.h +include/dnsjit/output/pcap.hh +include/dnsjit/output/respdiff.h +include/dnsjit/output/respdiff.hh +include/dnsjit/output/tcpcli.h +include/dnsjit/output/tcpcli.hh +include/dnsjit/output/tlscli.h +include/dnsjit/output/tlscli.hh +include/dnsjit/output/udpcli.h +include/dnsjit/output/udpcli.hh +include/dnsjit/version.h +man/man1/dnsjit.1.gz +man/man3/dnsjit.core.3.gz +man/man3/dnsjit.core.channel.3.gz +man/man3/dnsjit.core.compat.3.gz +man/man3/dnsjit.core.file.3.gz +man/man3/dnsjit.core.loader.3.gz +man/man3/dnsjit.core.log.3.gz +man/man3/dnsjit.core.object.3.gz +man/man3/dnsjit.core.object.dns.3.gz +man/man3/dnsjit.core.object.dns.label.3.gz +man/man3/dnsjit.core.object.dns.q.3.gz +man/man3/dnsjit.core.object.dns.rr.3.gz +man/man3/dnsjit.core.object.ether.3.gz +man/man3/dnsjit.core.object.gre.3.gz +man/man3/dnsjit.core.object.icmp.3.gz +man/man3/dnsjit.core.object.icmp6.3.gz +man/man3/dnsjit.core.object.ieee802.3.gz +man/man3/dnsjit.core.object.ip.3.gz +man/man3/dnsjit.core.object.ip6.3.gz +man/man3/dnsjit.core.object.linuxsll.3.gz +man/man3/dnsjit.core.object.loop.3.gz +man/man3/dnsjit.core.object.null.3.gz +man/man3/dnsjit.core.object.payload.3.gz +man/man3/dnsjit.core.object.pcap.3.gz +man/man3/dnsjit.core.object.tcp.3.gz +man/man3/dnsjit.core.object.udp.3.gz +man/man3/dnsjit.core.objects.3.gz +man/man3/dnsjit.core.producer.3.gz +man/man3/dnsjit.core.receiver.3.gz +man/man3/dnsjit.core.thread.3.gz +man/man3/dnsjit.core.timespec.3.gz +man/man3/dnsjit.filter.3.gz +man/man3/dnsjit.filter.copy.3.gz +man/man3/dnsjit.filter.ipsplit.3.gz +man/man3/dnsjit.filter.layer.3.gz +man/man3/dnsjit.filter.split.3.gz +man/man3/dnsjit.filter.timing.3.gz +man/man3/dnsjit.input.3.gz +man/man3/dnsjit.input.fpcap.3.gz +man/man3/dnsjit.input.mmpcap.3.gz +man/man3/dnsjit.input.pcap.3.gz +man/man3/dnsjit.input.zero.3.gz +man/man3/dnsjit.input.zpcap.3.gz +man/man3/dnsjit.lib.3.gz +man/man3/dnsjit.lib.base64url.3.gz +man/man3/dnsjit.lib.clock.3.gz +man/man3/dnsjit.lib.getopt.3.gz +man/man3/dnsjit.lib.ip.3.gz +man/man3/dnsjit.lib.parseconf.3.gz +man/man3/dnsjit.lib.trie.3.gz +man/man3/dnsjit.lib.trie.iter.3.gz +man/man3/dnsjit.lib.trie.node.3.gz +man/man3/dnsjit.output.3.gz +man/man3/dnsjit.output.dnscli.3.gz +man/man3/dnsjit.output.null.3.gz +man/man3/dnsjit.output.pcap.3.gz +man/man3/dnsjit.output.respdiff.3.gz +man/man3/dnsjit.output.tcpcli.3.gz +man/man3/dnsjit.output.tlscli.3.gz +man/man3/dnsjit.output.udpcli.3.gz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/capture.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count-pkts-per-ip.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns-qr.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns2pcap.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_rcode.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/qr-multi-pcap-state.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/readme.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/replay.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/replay_multicli.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/respdiff.lua