nbdkit-release-notes-1.42 - Man Page
release notes for nbdkit 1.42
Description
These are the release notes for nbdkit stable release 1.42. This describes the major changes since 1.40.
nbdkit 1.42.0 was released on 11 February 2025.
Security
nbdkit-ip-filter(1) has been fixed to close an information leak. In an unusual configuration of the filter, it could leak the list of exports to clients that are supposed to be blocked.
All past security issues and information about how to report new ones can be found in nbdkit-security(1).
Plugins
nbdkit-ondemand-plugin(1) now allows more characters to appear in filenames. Colons are now allowed, so filenames containing MAC addresses can be used, which is useful when using NBD in pre-boot environments. Also add the share=true
option to allow sharing. (Thanks Markus Hartung)
nbdkit-vddk-plugin(1) now prints the default list of transports in --dump-plugin output. Also this plugin now handles partial chunks correctly when reading extents for disks with a non-aligned size (thanks Ming Xie).
Filters
New nbdkit-time-limit-filter(1) can be used to specify the maximum time limit for a connection. (See also the new --timeout option below).
New nbdkit-lzip-filter(1) implements random access to lzip-compressed files (Jan Felix Langenbach).
Language bindings
Multiple updates to nbdkit-rust-plugin(3) to keep up to date with latest changes in the Rust language (Alan Somers).
Fix crash that happened in nbdkit-ocaml-plugin(3) plugins with OCaml ≥ 5 (thanks Guillaume Munch-Maccagnoni, Gabriel Scherer). Also update the ocamldoc documentation. Fix more OCaml 5 deprecation warnings.
Add support for Tcl 9.0 to nbdkit-tcl-plugin(3).
Server
nbdkit will now try to send the last plugin error message over the NBD protocol to the client, to provide additional information. This requires an NBD client which supports this, such as qemu ≥ 2.12 or libnbd ≥ 1.22.
New nbdkit --timeout flag can be used as a security measure to ensure that clients don't consume resources by opening lots of connections and then not negotiating (or negotiating slowly) the full NBD session.
New nbdkit --keepalive option which enables TCP-level keepalives. This is useful for detecting dead clients.
nbdkit --dump-config output now includes timeout_option=yes|no
and vsock_option=yes|no
reflecting whether the --timeout and --vsock options are available.
Bug fixes
Detect and warn about certain conditions which can cause the closed-source VDDK library to crash the server (Matthew Arnold, Nijin Ashok, Eric Blake).
Tests
Plugins from nbdkit 1.38 have been added to the tests/old-plugins directory.
Build
nbdkit should be buildable again on macOS.
Add support for GCC 15.
See Also
Authors
Authors of nbdkit 1.42:
Alan Somers
Eric Blake
Jan Felix Langenbach
Richard W.M. Jones
Copyright
Copyright Red Hat
License
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.