Releases: dns-stats/compactor
Releases · dns-stats/compactor
1.2.3 release
Updates since 1.2.2:
- Inspector: Extend template backend to write EDNS OPT codes
- Update m4 macros to remove build warnings on Ubuntu Jammy
- Inspector: Update pseudoanonymisation code for OpenSSL 3.0 to remove warnings
about deprecated functions on Ubuntu Jammy
1.2.3-rc2
- Update m4 macros to remove build warnings on Ubuntu Jammy
- Inspector: Update pseudoanonymisation code for OpenSSL 3.0 to remove warnings
about deprecated functions on Ubuntu Jammy
1.2.3-rc1
- Inspector: Extend template backend to write EDNS OPT codes
1.2.2 release
Updates since 1.2.1:
- Provide a mechanism to force a C-DNS file rollover via a SIGUSR1 signal to
compactor (when capturing from a network interface or DNSTAP). See
KNOWN ISSUES for more info on file rollover issues. This change
does not effect PCAP file rollovers. NOTE: this can result in a C-DNS file
containing no DNS messages being produced. - Align DNSTAP stats logging better with network capture stats logging
- Update Catch from 2.13.2 to 2.13.9 (Thanks LeSuisse)
- Minor documentation updates
1.2.2-rc1
- Extend SIGUSR1 mechanism to DNSTAP capture
- Align DNSTAP stats logging better with network capture stats logging
- Various minor updates to documentation
1.2.2-beta1 release
- Provide a mechanism to force a C-DNS file rollover via a SIGUSR1 signal to
compactor. See KNOWN_ISSUES for more info on file rollover issues. This change
does not effect PCAP file rollovers. NOTE: this can result in a C-DNS file
containing no DNS messages being produced. - Update Catch from 2.13.2 to 2.13.9 (Thanks LeSuisse)
1.2.1 release
-
Updates:
- New
sampling mode
option available whencompactor
is overloaded- Sampling of captured packets can be enabled at a specified rate for a
specified time when packet drops exceed a specified threshold
(see config options for more details). This option is disabled by default.
- Sampling of captured packets can be enabled at a specified rate for a
- The behaviour of the internal sniffer channel is improved when
compactor
is
overloaded to provide better reporting and management of dropped/sampled of packets- This fixes a bug where the
Total Packets processed
statistic did not
include any packets dropped during overload and so under reported load
- This fixes a bug where the
- Add new statistics to C-DNS: sniffer drops, matcher drops and sampling discards,
and 3 libpcap stats. The libpcap stats should not be considered reliable and
provided for information only. - Bump the private version because C-DNS schema extended with new statistics.
- The behaviour of
compactor
is changed when an interrupt (SIGINT, SIGTERM)
is received e.g. when the service is restarted or a user enters ^C.
Previously all of the in progress C-DNS compression was aborted and all of
the in progress output files (compressed and uncompressed) were removed. Now
the.raw
uncompressed output file is left on disk so it can be manually
recovered (i.e. renamed and compressed). Users will now need to choose how to
managed these uncompressed files. Behaviour on SIGHUP (re-reading of config
file without affecting any in progress compression) is unchanged.
- New
-
Logging:
- New
log-file-handing
option to log low level details of file
processing on file rotation and compression. This aids with debugging of file
processing problems and measurement of C-DNS file compression times. - New
-D
option (relaxed-mode
). With this option a warning (not an error) is
issued for unrecognized command line and config file options. - Additional default logging is added when file rotation occurs, when
compression is aborted, and to report the specific interrupt received by
compactor
. - Improve
log-interval
statistics output and add additional statistics.
- New
-
Minor updates/bug fixes:
- Modify the format output by the debug option
--debug-qr
to be more human
readable (--debug-dns
output is left unchanged). - Fix file durations for files with more than one C-DNS block in them so high
traffic rates can be correctly calculated from the statistics. - Constrain size of matcher queue to reduce memory consumption when
dropping/sampling. - Fix 2 minor bugs where an incorrect start time could be written to the CDNS
file, resulting in a negative file duration. - Fix build issue when using
configure --disable-pseudo-anonymisation
. Thanks
Sean Burford for reporting this. - Add example docker image as a submodule in
contrib/dns-stats-docker
. Thanks
to Sean Burford for providing this.
- Modify the format output by the debug option
-
Documentation:
- Minor documentation update to address #80
- Text added in the documentation to clarify time patterns are needed in file
output patterns for filename based file rotation to occur (based on the
rotation-period
option). - Correct the dependency list.
1.2.1-rc2
- The behaviour of
compactor
is changed when an interrupt (SIGINT, SIGTERM)
is received e.g. when the service is restarted or a user enters ^C.
Previously all of the in progress C-DNS compression was aborted and all of
the in progress output files (compressed and uncompressed) were removed. Now
the.raw
uncompressed output file is left on disk so it can be manually
recovered (i.e. renamed and compressed). Users will now need to choose how to
managed these uncompressed files. Behaviour on SIGHUP (re-reading of config
file without affecting any in progress compression) is unchanged. - Additional default logging is added of the specific signal received by
compactor
, when file rotation occurs and when compression is aborted. - New
log-file-handing
option to log low level details of file
processing on file rotation and compression. This aids with debugging of file
processing problems and measurement of C-DNS file compression times. - Text added in the documentation to clarify time patterns are needed in file
output patterns for filename based file rotation to occur (based on the
rotation-period
option). - Fix a bug relating to
compactor
start_time handling introduced in rc1.
1.2.1-rc1
- Modify the format output by the debug option
--debug-qr
to be more human
readable (--debug-dns
output is left unchanged). - Fix 2 minor bugs where an incorrect start time could be written to the CDNS
file, resulting in a negative file duration. - Documentation: correct the dependency list.
- Fix build issue when using
configure --disable-pseudo-anonymisation
. Thanks
Sean Burford for reporting this. - Add example docker image as a submodule in
contrib/dns-stats-docker
. Thanks
to Sean Burford for providing this.
1.2.1-beta1
- Change behaviour of internal sniffer channel when overloaded to better
report and manage dropping/sampling of packets- This fixes a bug where the 'Total Packets processed' statistic did not
include any packets dropped during overload
- This fixes a bug where the 'Total Packets processed' statistic did not
- Improve
log-interval
statistics and packet drop logging - EXPERIMENTAL: New sampling mode option (disabled by default)
- sampling can be enabled at a specified rate for a specified time
when packet drops exceed a specified threshold (see config options)
- sampling can be enabled at a specified rate for a specified time