libnbd-release-notes-1.2(1)
π libnbd-release-notes-1.2(1) β the LIBNBD glow-up diary π
okay bestie, so this page lives in the LIBNBD manual, and it's literally the receipts for libnbd stable release 1.2 β page name libnbd-release-notes-1.2. grab a lil snack, we're going through the whole glow-up π
β¨ NAME β¨
libnbd-release-notes-1.2 β no cap, these are the release notes for libnbd 1.2 π¦
πΈ DESCRIPTION πΈ
These are the release notes for libnbd stable release 1.2, and they describe the major changes since 1.0. it's giving growth arc, honestly π
libnbd 1.2.0 was released on 14th November 2019. mark your calendars, iconic date ποΈβ¨
π Security π
so during development of libnbd 1.2, two security problems were found. both were backported to the 1.0 stable branch. upgrading is highly advisable β like, please bestie, do it π
CVE-2019-14842β protocol downgrade attack when usingLIBNBD_TLS_REQUIRE. the full announcement and links to mitigation, tests and fixes are right here:https://www.redhat.com/archives/libguestfs/2019-September/msg00128.html- remote code execution vulnerability β full announcement here:
https://www.redhat.com/archives/libguestfs/2019-October/msg00060.html
β οΈ these are real-deal security issues, not vibes. both got backported to 1.0, and yes, upgrading is highly advisable. periodt.
π New APIs π
nbd_can_fast_zero(3)β tests whether the server supports fast zeroing (ty Eric Blake π)nbd_connect_socket(3),nbd_aio_connect_socket(3)β connect to a local connected socket that you create in your main program, using your own chosen method. main character socket energy π«Άnbd_connect_systemd_socket_activation(3),nbd_aio_connect_systemd_socket_activation(3)β connect to local processes that support systemd socket activation βnbd_connect_vsock(3),nbd_aio_connect_vsock(3)β used to connect to servers overAF_VSOCKπ¦nbd_get_handshake_flags(3),nbd_set_handshake_flags(3),nbd_get_request_structured_replies(3),nbd_set_request_structured_replies(3),nbd_get_structured_replies_negotiated(3)β can be used when testing NBD servers to avoid various NBD features (Eric Blake) π§nbd_get_protocol(3)β gets the NBD protocol variant that the server supports π₯nbd_get_tls_negotiated(3)β did we actually negotiate a TLS connection? the vibe check of the century πnbd_set_uri_allow_local_file(3),nbd_set_uri_allow_tls(3),nbd_set_uri_allow_transports(3)β these can be used to filter NBD URIs before callingnbd_connect_uri(3)π
π¦ New features π¦
- new tool
nbdfuse(1)lets you create a loop-mounted file backed by an NBD server without needing root β literally no root required, ate π AF_VSOCKis now a supported protocol (thanks Stefan Hajnoczi and Stefano Garzarella π«Ά)- support for the
FAST_ZEROflag (Eric Blake) β - allow disabling certain protocol features, so testing servers is way easier (Eric Blake) β¨
- stack-allocated Variable Length Arrays (VLAs) are now banned throughout the library, which makes the library easier to consume from threads and other small stack situations πΈ
- reproducible builds (Chris Lamb) π
- support for filtering potentially dangerous or undesirable NBD URI features π
π Documentation π
many improvements to the generated manual pages, including:
- separate "RETURN VALUE" and "ERRORS" sections for each API function
- example code
- relevant links can be added to the "SEE ALSO" section
- link to the NBD URI specification where relevant, plus improved docs around what URIs libnbd supports
- document the libnbd version number scheme
- document limits on export name length, encoding etc.
plus a brand-new libnbd-security(3) man page listing past security issues and remediations (Eric Blake) π
π§° Tools π§°
nbdsh(1)has a new--base-allocationoption which can be used to request thebase:allocationmetadata context π- new
nbdsh(1)--uri(-u) option to connect to URIs π
π§ͺ Tests π§ͺ
- you can now fuzz libnbd using either American Fuzzy Lop or clang's libFuzzer πβ¨
- add unit tests for
nbdsh(1)(Eric Blake) - improved interop testing with various NBD servers and features π₯
π οΈ Other improvements and bug fixes π οΈ
nbd_connect_tcp(3)now tries to return the correcterrno(3)from the underlyingconnect(2)call when that fails π- the
nbd-protocol.hheader file is now shared between libnbd and nbdkit π - better fork-safety in
nbd_connect_*APIs π«Ά - the code was analyzed with Coverity and various problems were identified and fixed π
π SEE ALSO π
libnbd(3). go read it bestie, iykyk π
π AUTHORS π
Eric Blake
Richard W.M. Jones
π COPYRIGHT π
Copyright Red Hat
π LICENSE π
okay so this part is the legal bit, and legal bits deserve to be quoted exactly, so here it is word-for-word π«Ά
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
and that's the whole page, bestie π this one shipped in the libnbd-1.25.8 package, dated 2026-10-13, and yep β it's libnbd-release-notes-1.2(1) in the LIBNBD manual. slay, go upgrade ππ
π¦ where this page comes from
- centos-stream 10: libnbd-devel 1.25.8-1.el10 Β· LGPL-2.0-or-later AND BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms