devel/mtbl: Upgrade to version 1.7.1
1.7.1:
* Incremented version for new tarball.
1.7.0:
* Add public mtbl_threadpool API, enabling multithreaded functionality
for mtbl_writer and mtbl_sorter objects; see mtbl_threadpool manpage
for more info.
* Add mtbl_writer_options_set_threadpool() to enable multithreaded
data block compression.
* Add mtbl_sorter_options_set_threadpool() to enable multithreaded
sorting.
* Add -t option for setting the preferred number of threads to use in
an mtbl_threadpool object used for writing in mtbl_merge.
Bump PORTREVISION of dependent ports.
Sponsored by: DomainTools LLC3baad079acPort details
dns/dnstable0.14.0_2
Encoding format, library, and utilities for passive DNS data
- Maintainer
- truckman@FreeBSD.org
- Packages
- dnstable 0.14.0_2
- Upstream
- up to date
- CPE
- none, CVEs only via VuXML
- WWW
- https://github.com/farsightsec/dnstable
- Links
- cgit · VuXML
Unaddressed (0) · The CVE record lists this version as affected, no VuXML entry names the CVE
None. There is no CVE without a VuXML entry for this version.
VuXML only (0) · listed, port not fixed yet
None.
pkg audit reports nothing for this version.Fixed (0)
No VuXML entries for this package.
Commits (24)
dns/dnstable: Move man pages to share/man Move the man pages. We no longer need post-install to install them. Sponsored by: DomainTools LLC6f205cb635
dns/dnstable: Upgrade to 0.14.0
0.14.0:
* Add "+" wildcard character to match single label at beginning or
end of name
.
* Add support for case-sensitive rrset, rdata name queries.
* Multiple performance improvements for time filtered queries.
* Improve performance of rrtype filtered queries through early
filtering.
* Add query statistics API.
* Add support for source info metadata.
* dnstable_lookup: Add "case sensitive" (-C) query flag.
* dnstable_lookup: Add "count results" (-n) flag.
* dnstable_lookup: Add "time limit" (-t) option.
* dnstable_lookup: Add stats output (-s) and stats interval (-i)
options.
* Fix building shared libraries on windows/Cygwin.
libyajl.so is no longer needed.
Sponsored by: DomainTools LLC75453672e3dns/dnstable: Upgrade to 0.13.2 0.13.2: * Fix bug handling short rdata entry keys in IPv6 range queries. * Efficiency improvements in string handling code and IP range queries. * Fix use of buggy base32 decoding from wdns in rrtype bitmap test program. MFH: 2023Q49ff9e01ac9
dns/wdns: upgrade to version 0.12.0 0.12.0: * Add EDNS output to wdns_message_to_str(). * Fix memory leak triggered by multiple OPT records in messages. * Fixes multiple bugs in base32 encoding, NSEC bitmap parsing, and HTTPS svcparam parsing. * Fix out of bounds memory write in wdns_str_to_name. * Fix handling of no address for client subnets. Bump PORTREVISION of dependent ports. MFH: 2023Q3 Sponsored by: DomainTools LLCe81c9f1182
dns/dnstable: Upgrade to version 0.13.1 * Add RP, NXT, and NSEC to rdata name type list for matching rdata Sponsored by: DomainTools LLC5de65331e4
dns/dnstable: Upgrade to version 0.13.0
* Updated dependency to libwdns 0.11.0
* Updated dependency to libmtbl 1.5.0
* dnstable_lookup: add new command-line options -A, -a, -B, -b, and -c
for time-fenced lookups.
* Optimize time filtered searches on fileset sources with a filtering
query using the subset of files which may contribute to matching
results.
* Fix duplication of results in unaggregated name prefix or rdata name
suffix searches.
* Fix improper skipping of results in IP range or prefix searches.
* Fix return of non-name results in rdata name searches.
* Fix decode_rdata() rdata length for Big Endian.
Sponsored by: DomainTools LLCf0a070fa6cRemove WWW entries moved into port Makefiles 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)fb16dfecae
Add WWW entries to port Makefiles 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)b7f05445c0
dns/wdns: Upgrade to version 0.11.0
* 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: DomainTools9c3e1c57dbdns/dnstable: upgrade to version 1.2.0
dnstable 1.2.0:
* Implement indexing using RRtypes for ENTRY_TYPE_RRSET_NAME_FWD and
ENTRY_TYPE_RDATA_NAME_REV entries. This uses RFC6840 RRtype bitmaps
as the primary data structure.
* Added support for dnstable entries encoding version information and
time metadata.
* The version entries, time metadata, and rrtype index information are
generated by an updated dnstable-convert. Files generated by the old
dnstable-convert will be processed as they were with the previous
dnstable versions i.e., the new entry types and rrset index
information will be absent.
* Add -R flag to dnstable_dump and dnstable_lookup to add raw rdata
representation to outputs.
* Add long options to dnstable_dump to fix bug in not accepting some
options properly.
* Fix dnstable_lookup usage output.
* Refactor time formatters and fix compiler warnings.
* Ignore entries which fail decoding for use with legacy empty data.
* Miscellaneous documentation improvements.
Sponsored by: Farsight Security, Inc.3555695ec1One more small cleanup, forgotten yesterday. Reported by: lwhsucf118ccf87
Remove # $FreeBSD$ from Makefiles.305f148f48
Update dns/dnstable to from version 0.11.0 to 0.11.2:
dnstable (0.11.2)
* Fix memory leaks while skipping rows of data during offset processing.
* Fix minor leak in dnstable_lookup printing.
* Add more dnstable_lookup tests.
dnstable (0.11.1)
* Change dnstable_query_set_skip to ..._offset. Note that the
ABI library revision was not bumped.
* Change dnstable_lookup parameter for offset from -s to -O
* Added unit tests for some exposed dnstable functionality, including
for filter and query timeouts.
Sponsored by: Farsight Security, Inc.5dbe91a909Update dns/dnstable port to version 0.11.0
dnstable, the encoding library with utilities for passive DNS
data, version 0.11.0, was released. This release adds functionality
enabling unaggregated query results, the skipping of query results,
and date and rdata presentation options for JSON formatted entries.
In detail:
* Fix bug in raw rdata queries with rrtype specified.
* Add functionality for unaggregated query results.
* Add ability to skip query results.
* Add options for date and rdata presentation in JSON formatted entries.
* Treat RRTYPE "TYPE255" as an alias for "ANY", since 255 is the code
for "ANY".
Insert a blank line into Makefile to pacify portlint.
Sponsored by: Farsight Security, Inc.d5188080a5Upgrade dnstable to version 0.10.2: * Fix ordering for wildcard, processing contiguous memory first Sponsored by: Farsight Security, Inc.0de5e1480e
Upgrade dnstable to version 0.10.1:
dnstable (0.10.1)
* Check for endian.h headers.
* Add sys/socket.h include.
* Expunge protobuf-c references.
* Correct libyajl include path.
dnstable (0.10.0)
* Remove dnstable_convert into a separate repo to simplify
dependencies. https://github.com/farsightsec/dnstable-convert/
* Add generated man pages to source.
* Document dnstable_entry_set_iszone().
* Improve dnstable_reader(3) documentation.
* Add JSON output (-j option) to dnstable_lookup.
* Add test cases based on dnstable_lookup.
* Only encode RDATA so the hostname is at the beginning for NS, CNAME,
DNAME, PTR, MX, and SRV record types.
* Fix byteorder macros for macOS.
Sponsored by: Farsight Security, Inc.bd0fc6b05dFix whitespace issues (mixed tab/spaces, alignment) in a few ports. This round is @FreeBSD.org residents except teams.e929aea23c
Upgrade devel/mtbl to version 1.0.0:
mtbl (1.0.0)
* Backwards-incompatible file format change to enable block sizes >4G.
* Add support for zstd compression. This adds a new library dependency
on libzstd.
* Add mtbl_iter_seek function.
* Add mtbl_fileset_partition function.
* Breaks ABI for version 0.x.x.
mtbl (0.8.1)
* Add portability for clock time.
* Simplify and improve portability related to byte order primitives.
* Fix assertion failure. If there is a broken mtbl file in the fileset
then a NULL reader will be returned. This change checks for that
error condition in fs_reinit_merger() and does not pass the empty
reader onwards to mtbl_merger_add_source().
Compatiblity with the latest libz4 has been added so files/patch-configure
is no longer needed.
Bump PORTREVISION on dependent ports due to ABI / shared library version
change.af7a1ea6d1Upgrade dns/dnstable to version 0.9.1:
* Fix strange values in data value triplets (#16). A 'count' field that has
the value 0 is silently rewritten to 1, and a 'time_last' field that has
the value 0 is silently set to be the same as the 'time_first' field.
Sponsored by: Farsight Security, Inc.ed390b0a26Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat: portmgr
Sponsored by: Absolight4e1b79a0a6Upgrade to version 0.9.0.
[ Henry Stern ]
* New "query timeout" feature which allows for a configurable timeout on the
execution of certain types of queries. Introduces new function
dnstable_query_set_timeout() and new result code dnstable_res_timeout
(#8).
* New "time fencing" feature which filters based on 'time_first' and
'time_last' values. Introduces new enum dnstable_filter_parameter_type and
new function dnstable_query_set_filter_parameter() (#9).
* Performance enhancement for some IP range and prefix searches (#11).
* Fix unhandled IPv4/IPv6 address overflow for IP range/prefix queries
(#14).
[ Robert Edmonds ]
* dnstable_convert: Assert vendor 'SIE' and message type 'dnsdedupe' so that
the following cast of the return value of nmsg_message_get_payload() is
safe (#10).
* Use CLOCK_MONOTONIC_COARSE rather than CLOCK_MONOTONIC_RAW for query
timeouts (#12).
* query_iter_next_ip(): Fix zero fill condition (#15).
Sponsored by: Farsight Security, Inc.3ea8f37a12Upgrade to 0.8.0:
* Replace Jansson with YAJL for JSON rendering, which results in a
substantial performance improvement.
* dnstable_dump: Add "--rrset_names" and "--rdata_names" options which dump
the RRSET_NAME_FWD and RDATA_NAME_REV indices.
* New function dnstable_reader_reload_setfile(), which calls
mtbl_fileset_reload_now() on a dnstable_reader object's underlying
mtbl_fileset object, if present. This requires libmtbl >= 0.8.0.
Sponsored by: Farsight Security, Inc.1e9cde1f8bAdd new port dns/dnstable. dnstable implements an encoding format for passive DNS data. It consists of a C library, libdnstable, and several command line utilities for creating, querying, and merging dnstable data files. It stores key-value records in Sorted String Table (SSTable) files and provides high-level interfaces for querying or iterating over the stored records. dnstable encodes individual records using a format tailored for efficiently storing passive DNS data and can quickly perform both "forward" and "inverse" searches. Differential Revision: https://reviews.freebsd.org/D2214 Approved by: mat (mentor) Sponsored by: Farsight Security, Inc.9db4cb7b4e