aboutsummaryrefslogtreecommitdiff
path: root/dns/dnstable-convert
Commit message (Collapse)AuthorAgeFilesLines
* dns/dnstable-convert: Upgrade to 0.12.0Don Lewis2023-06-293-14/+4
| | | | | | | | | | | | | | | | * dnstable_convert: add -p option to not remove generated mtbl file with no records. * dnstable_convert: additional logging at startup and exit. * dnstable_convert: increase file descriptor resource limit at startup. * dnstable_unconvert: sort rdata values in "wdns_sort_rrset" order for consistency with other dnstable data sources. The problem fixed by patch-dnstable__convert.c has been fixed upstream. Sponsored by: DomainTools LLC
* Remove WWW entries moved into port MakefilesStefan Eßer2022-09-071-2/+0
| | | | | | | | | | Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)
* Add WWW entries to port MakefilesStefan Eßer2022-09-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
* dns/wdns: Upgrade to version 0.11.0Don Lewis2022-04-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Improve support for CAA records. (CAA was previously rendered as a "generic" rdata type.) * Bug fix for NSEC/NSEC3/CSYNC: do not output empty rrtype bitmaps per RFC6840 section 6.4. * Fix parsing of A6 records that ommit and address portion. Correct parsing of A6 records with prefix length 0. Correct handling of A6 address bytes. The address bytes of an A6 record are an address suffix relative to the prefix represented by the domain name, and so must be copied to and from the lower order bytes of the internal address representation. These A6 code updates were for the purposes of clearing "round trip" test errors in the existing code base. (A6 is deprecated and was moved to historic status.) * Fix bug in IPv6 prefix length processing in _wdns_str_to_rdata_ubuf(). * Add support for SVCB and HTTPS resource record types. This is based on an Internet-Draft but is widely used in the real world. https://datatracker.ietf.org/doc/html/draft-ietf-dnsop-svcb-https-08 Bump PORTREVISION of dependent ports due to shared library version change. Sponsored by: DomainTools
* dns/dnstable-convert: Upgrade to version 0.11.0Don Lewis2021-10-152-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dnstable-convert 0.11.0: * Add new tool dnstable_unconvert which converts the RRSET entries of a dnstable file to the equivalent NMSG format. * Add SVCB and HTTPS records indexing support, based upon draft-ietf-dnsop-svcb-https-07. Note that the hostname portion in the RDATA is downcased in the sliced encoding and reversed name entry. * Put CDS, CDNSKEY, and TA resource record types into dnssec.* output files. To duplicate these three DNSSEC types to the dns.* output files for compatibility, use the new dnstable_convert -D option. * Put RRtype in the currently empty value portion of RRSET_NAME_FWD and RDATA_NAME_REV indexes if it's in range (1 to 65535). Use an 8-bit integer if it is less than 256, else uses a 16-bit little endian integer. * Generate ENTRY_TYPE_TIME_RANGE and ENTRY_TYPE_VERSION metadata entries in output dnstable files. * The versions of the following entries are: ENTRY_TYPE_RRSET = 0 // Initial version. ENTRY_TYPE_RRSET_NAME_FWD = 1 // Add rrtype union as value. ENTRY_TYPE_RDATA = 1 // Fix the SRV slicing and add SVCB/HTTPS sliced entries. ENTRY_TYPE_RDATA_NAME_REV = 1 // Add SOA, SVCB, and HTTPS name indexing; add rrtype union // as value. * dnstable_convert: use input file - (dash) for standard input (stdin). * dnstable_convert: add -c compression option to set type of compression used. This defaults to zlib. * dnstable_convert: add -l compression option to set compression level. * dnstable_convert: add -m option to specify maximum megabytes of memory to use for in-memory sorting. It defaults to 2048 MB. * Various changes to the status output from dnstable_convert when it runs. * Documentation and testing improvements. Sponsored by: Farsight Security, Inc.
* net/nmsg: upgrade to version 1.0.0Don Lewis2021-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The network encapsulation library, nmsg, version 1.0.0 is released. This release deprecates Crossroads I/O (libxs) support in favor of ZeroMQ (libzmq). Note command-line updates enabling ZeroMQ socket connections for nmsgtool, as described in its man page. In addition the treatment of unknown rrtypes was amended for nmsgtool JSON output. In detail: Replace libXS with ZeroMQ and associated calls. Developer API functions nmsg_input_open_xs(), nmsg_input_open_xs_endpoint(), nmsg_io_add_input_xs_channel(), nmsg_output_open_xs(), and nmsg_output_open_xs_endpoint() are deprecated and replaced with respectively: nmsg_input_open_zmq(), nmsg_input_open_zmq_endpoint(), nmsg_io_add_input_zmq_channel(), nmsg_output_open_zmq(), and nmsg_output_open_zmq_endpoint(). Update nmsgtool command-line options: --readzchan replaces --readzsock, --writezsock replaces --writexsock, --readzsock replaces --readxsock. Change format of unknown rrtypes in nmsgtool JSON output to "TYPE" followed by number. Expose --without-yajl and --without-libzmq configure flags as port options. This upgrade changes the libnmsg.so version number, bump PORTREVISION of the dependent ports. Sponsored by: Farsight Security, Inc.
* One more small cleanup, forgotten yesterday.Mathieu Arnold2021-04-071-1/+0
| | | | Reported by: lwhsu
* Remove # $FreeBSD$ from Makefiles.Mathieu Arnold2021-04-061-1/+0
|
* New port dns/dnstable_convert. It was split out of dnstable to reduce theDon Lewis2018-06-254-0/+48
dependencies of dnstable. dnstable_convert is a conversion utility for passive DNS data in dnstable format. Sponsored by: Farsight Security, Inc. Notes: svn path=/head/; revision=473328