* 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.
[ 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.
* 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.
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.