Following the maintainer's outline of what to do, I made a patch to the latest SVN, attached. You can download it applied at: ftp://ftp.armory.com/pub/user/ulmo/nbd/nbd-new.tar.gz Note that since it is autoconf raw, you may need to grab a cooked set of autoconf files (*.in, config.*, and some other junk). You have to write the client and server passwords to nbd-client's standard input, one line at a time. I also made a small patch to that patch that uses urandom at the end of random reads, so it goes faster, but is less secure.
Attachment:
nbd-password.patch
Description: Binary data
Attachment:
nbd-password-urandom.patch
Description: Binary data