1nbdkit-release-notes-1.28(1)        NBDKIT        nbdkit-release-notes-1.28(1)
2
3
4

NAME

6       nbdkit-release-notes-1.28 - release notes for nbdkit 1.28
7

DESCRIPTION

9       These are the release notes for nbdkit stable release 1.28.  This
10       describes the major changes since 1.26.
11
12       nbdkit 1.28.0 was released on 23 September 2021.
13
14   Security
15       CVE-2021-3716 reset structured replies on starttls
16
17       nbdkit was vulnerable to injected plaintext when upgrading to a secure
18       connection.  For the full announcement see
19       https://www.redhat.com/archives/libguestfs/2021-August/msg00083.html
20       (Eric Blake).
21
22       All past security issues and information about how to report new ones
23       can be found in nbdkit-security(1).
24
25   Plugins
26       nbdkit-data-plugin(1) has new "le<NN>:" and "be<NN>:" prefixes for
27       little and big endian words.  Also the plugin tries much harder to
28       optimize expressions.  The test suite has been greatly expanded to
29       catch potential regressions.
30
31       nbdkit-floppy-plugin(1) now allows you to reserve free space (Nolan
32       Leake).
33
34       nbdkit-ssh-plugin(1) no longer references SHA1 host keys as part of the
35       effort to remove insecure algorithms (Daniel Berrangé).
36
37       nbdkit-vddk-plugin(1) reports "can_flush" and "can_fua" based on what
38       the version of VDDK supports.  New debug flag -D vddk.stats=1 prints
39       the amount of time spent in VDDK calls on exit which can be useful for
40       profiling performance.
41
42   Filters
43       nbdkit-cow-filter(1) and nbdkit-cache-filter(1) no longer break up
44       large read requests into page-sized requests.  In addition the default
45       block size for both filters is now 64K.  Both changes greatly improve
46       performance.
47
48       nbdkit-cache-filter(1) has a new "cache-on-read=/PATH" parameter
49       allowing callers to enable and disable the cache-on-read feature at
50       runtime.  Also there is a new "cache-min-block-size" parameter letting
51       you select the block size at runtime (thanks Martin Kletzander).
52
53       nbdkit-cow-filter(1) has a new "cow-on-read" parameter which works
54       similarly to the corresponding cache filter feature.  The new
55       "cow-block-size" parameter lets you select the block size at runtime.
56
57       nbdkit-cow-filter(1) has less verbose debugging.  To restore the old
58       debug output use -D cow.verbose=1
59
60       nbdkit-delay-filter(1) has new "delay-open" and "delay-close"
61       parameters to inject delays when clients connect and disconnect.  Delay
62       filter parameters are now parsed more accurately (thanks Ming Xie).
63
64   Language bindings
65       The OCaml bindings now call "caml_shutdown" when unloading the plugin.
66       This causes "Stdlib.at_exit" handlers to run correctly, closes file
67       descriptors, releases dependent shared libraries and frees memory.
68       Valgrind on OCaml plugins should not show any false positives about
69       leaked memory.
70
71       OCaml and Python bindings may now use the ".cleanup" method.
72
73       References to Python 2 in nbdkit-python-plugin(3) have been removed.
74
75   Server
76       Fix captive nbdkit $uri variable so when TLS is used the URI is
77       constructed with the "nbds:" prefix.  Additionally add a new variable
78       $tls which can be used by the subprocess to tell if TLS is enabled.
79
80       Debug messages are now printed atomically.  This means that debug
81       messages are no longer broken up across multiple lines if there are
82       other processes writing to stderr at the same time (which often
83       happened when using captive nbdkit).
84
85       Enhanced valgrind support (./configure --enable-valgrind) can now be
86       enabled safely and with no performance impact even in production builds
87       (Eric Blake).
88
89   API
90       Plugins or filters using "nbdkit_nanosleep" now don't hang if the
91       client closes the socket abruptly (thanks Ming Xie).
92
93   Bug fixes
94       nbdkit-data-plugin(1) and nbdkit-memory-plugin(1) using
95       allocator=malloc no longer crash because of memory corruption in some
96       corner cases (only seen on s390x, but could happen on other
97       architectures).  Meanwhile "allocator=zstd" no longer crashes when
98       zeroing unallocated space.
99
100   Tests
101       Tests now use the new "GLIBC_TUNABLES" feature, replacing
102       "MALLOC_CHECK_" on glibc ≥ 2.34 (thanks Eric Blake, Siddhesh
103       Poyarekar).
104
105   Build
106       configure.ac now uses spaces consistently, and has been modernized to
107       support the latest autotools (Eric Blake).
108
109       podwrapper.pl has been unified (almost) with the copy in libnbd.
110
111       Continue fuzzing using AFL++.  Updated the fuzzing documentation.
112

SEE ALSO

114       nbdkit(1).
115

AUTHORS

117       Authors of nbdkit 1.28:
118
119       Daniel P. Berrangé
120       Eric Blake
121       Martin Kletzander
122       Nolan Leake
123       Richard W.M. Jones
124
126       Copyright Red Hat
127

LICENSE

129       Redistribution and use in source and binary forms, with or without
130       modification, are permitted provided that the following conditions are
131       met:
132
133       •   Redistributions of source code must retain the above copyright
134           notice, this list of conditions and the following disclaimer.
135
136       •   Redistributions in binary form must reproduce the above copyright
137           notice, this list of conditions and the following disclaimer in the
138           documentation and/or other materials provided with the
139           distribution.
140
141       •   Neither the name of Red Hat nor the names of its contributors may
142           be used to endorse or promote products derived from this software
143           without specific prior written permission.
144
145       THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY
146       EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
147       IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
148       PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE
149       LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
150       CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
151       SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
152       BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
153       WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
154       OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
155       ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
156
157
158
159nbdkit-1.34.4                     2023-09-26      nbdkit-release-notes-1.28(1)
Impressum