nbdkit-release-notes-1.16(1)
π nbdkit-release-notes-1.16 β bestie's guide to the glow-up π
okay so you found the release notes for nbdkit 1.16, and honestly? this is the page where we spill everything that changed. it's part of the nbdkit-release-notes-1.16(1) manual, and it's basically the group chat recap of the whole era. grab a snack π
β¨ NAME β¨
nbdkit-release-notes-1.16 β the release notes for nbdkit 1.16, no cap.
πΈ DESCRIPTION πΈ
These are the release notes for nbdkit stable release 1.16, bestie. It walks through all the major changes since 1.14 β the whole glow-up, start to finish.
nbdkit 1.16.0 was released on 14th November 2019. mark the calendar, it's iconic π
π Security
Two security issues got found while nbdkit 1.16 was being developed, and listen β fixes for both were backported to older stable branches. Upgrading to the fixed versions is highly recommended. fr fr, don't skip this one. The brand new nbdkit-security(1) man page has an up-to-date list of all past security issues, so that's your bookmark.
CVE-2019-14850 denial of service due to premature opening of back-end connection
See the full announcement and links to mitigation, tests and fixes here: https://www.redhat.com/archives/libguestfs/2019-September/msg00084.html
CVE-2019-14851 assertion failure by issuing commands in the wrong order
Not meβ¦ this CVE was literally caused by the fix to the previous issue. π the audacity.
See the full announcement and links to mitigation, tests and fixes here: https://www.redhat.com/archives/libguestfs/2019-September/msg00272.html
π¦ New features
the way that 1.16 just kept adding things?? obsessed.
- Add support for fast zeroing. Plugins can expose this using the new
.can_fast_zeromethod (Eric Blake). slay β¨ nbdkit-partitioning-plugin(1)now lets you usembr-id=defaultortype-guid=defaultto go back to the default MBR byte or partition type GUID. comfy defaults, we love to see it.- New
--mask-handshakeserver flag can be used for testing client feature negotiation (Eric Blake). - The client export name is passed to
nbdkit-captive(1)--runparameter as$exportname(Eric Blake). - Captive
--runcommands which fail (eg. aborting) now cause nbdkit to exit with an error instead of errors being silently ignored (Eric Blake). no more quiet-failing, periodt. - File descriptors can be passed to password parameters, eg:
password=-3which means that the password should be read from file descriptor 3. - nbdkit can now serve over the
AF_VSOCKprotocol (thanks Stefan Hajnoczi) π - New
--log=nulloption discards error messages.
π§ Plugins
- Python 2 support has been dropped from
nbdkit-python-plugin(3), in line with Python 2 end of life at the beginning of 2020. Python β₯ 3.3 is required by this plugin. If you wish to continue to use Python 2 then you will need to use nbdkit 1.14. (rip py2, you had a good run π) - New
nbdkit-info-plugin(1)which returns various server information back to the client. It can be used for testing server latency amongst other things. main character plugin honestly. nbdkit-data-plugin(1)now allows you to writeBYTE*Nto get repeated bytes (eg.nbdkit data data="0x55*4096"). repetition is a vibe.nbdkit-ssh-plugin(1)got a new parametercompression=true|falseto control transport compression.nbdkit-vddk-plugin(1)is no longer compiled on non-x86 platforms since VMware has only ever shipped VDDK on x86.nbdkit-sh-plugin(3)scripts can now see the client exportname and can use themagic_config_keyfeature. π₯
π Filters
- New
nbdkit-retry-filter(1)which can reopen the plugin transparently on certain types of failures (lots of help from Eric Blake). it's giving resilience, it's giving comeback energy π
π API
- Macros
NBDKIT_VERSION_MAJOR,NBDKIT_VERSION_MINOR,NBDKIT_VERSION_MICROexpose the compile-time version of nbdkit to plugins and filters (Eric Blake). - Filters (which unlike plugins do not have a public stable API) must now exactly match the version of nbdkit when loaded (Eric Blake). no mixing, bestie, it's a strict-fit situation.
- New
.can_fast_zeromethod (Eric Blake). - New
nbdkit_export_nameserver function for reading the export name passed by the client. - New
nbdkit_peer_nameserver function to return the client address (likegetpeername(2)). - New server functions for safely parsing integers:
nbdkit_parse_int,nbdkit_parse_unsigned,nbdkit_parse_int8_t,nbdkit_parse_uint8_t,nbdkit_parse_int16_t,nbdkit_parse_uint16_t,nbdkit_parse_int32_t,nbdkit_parse_uint32_t,nbdkit_parse_int64_t,nbdkit_parse_uint64_t.
π Bug fixes
.trimwith FUA flag set now works (Eric Blake). we fixed it, we ate, no crumbs π«Ά
π Documentation
- The previous release notes have been turned into man pages. (yes bestie, the lore is now canon.)
π§ͺ Tests
- Several tests now optionally use
nbdsh(1)instead ofqemu-io. - You can now fuzz nbdkit using either American Fuzzy Lop or clang's libFuzzer. fuzz era π₯
- Several tests have had sleep times increased to make them more stable when run on slow or heavily loaded machines.
βοΈ Internals
- Reproducible builds (Chris Lamb). β
- Compile code with
-Wshadowwarning (Eric Blake). - The internal backend system has been extensively overhauled. In particular this means that we now validate request ranges as requests are passed between filters and down to the plugin, making it easier to find bugs in filters early (Eric Blake).
- Plugin size and
can_*flags are cached more aggressively by the server (Eric Blake). - Variable Length Arrays (VLAs) on stack are now banned throughout the code. π«
- The
nbd-protocol.hheader describing the NBD protocol is now shared withlibnbd(3). - Plugin
.unloadmethod is now called after all worker threads have exited, avoiding races at server shutdown. - Code was audited using Coverity and various problems were fixed.
π SEE ALSO π
π AUTHORS π
- Eric Blake
- 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.
okay that's the whole page, bestie!! this was nbdkit-1.48.1, dated 2026-08-29, and it's the nbdkit-release-notes-1.16(1) manual β mwah, go read the source, ily πβ¨
π¦ where this page comes from
- fedora 44: nbdkit-devel 1.48.1-1.fc44 Β· BSD-3-Clause
- fedora 44: nbdkit-devel 1.48.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms