libnbd-0.1.4-1 is now available in Fedora 29/30 updates testing.
Diffs since v2 - rebase to master, bump from libnbd 0.1.2 to 0.1.3+,
add tests to TLS usage which flushed out the need to turn relative
pathnames into absolute, doc tweaks
Now that the testsuite covers TLS and libnbd has been fixed to provide
the things I found lacking when developing v2, I'm leaning towards
pushing this on Monday, or sooner if I get a positive review.
Eric Blake (5):
nbd: Check for libnbd
nbd: s/nbd_/nbdplug_/
nbd: Use libnbd 0.1.3+
nbd: Add magic uri=... parameter
nbd: Add TLS client support
plugins/nbd/nbdkit-nbd-plugin.pod | 112 ++-
configure.ac | 18 +
plugins/nbd/nbd-standalone.c | 1369 +++++++++++++++++++++++++++++
plugins/nbd/nbd.c | 1364 +++++++++-------------------
TODO | 13 +-
plugins/nbd/Makefile.am | 25 +-
tests/Makefile.am | 6 +-
tests/test-nbd-tls-psk.sh | 81 ++
tests/test-nbd-tls.sh | 82 ++
tests/test-tls-psk.sh | 2 +-
tests/test-tls.sh | 4 +-
11 files changed, 2101 insertions(+), 975 deletions(-)
create mode 100644 plugins/nbd/nbd-standalone.c
create mode 100755 tests/test-nbd-tls-psk.sh
create mode 100755 tests/test-nbd-tls.sh
--
2.20.1