On Sun, May 06, 2012 at 01:17:43AM -0400, Paul Clements wrote:
> On Sat, May 5, 2012 at 8:04 AM, Goswin von Brederlow <goswin-...@web.de> 
> wrote:
> 
> > You will have to patch the nbd-client to initiate the ssh connection to
> > start the server instead of using socat or use some LD_PRELOAD lib that
> > changes socket() calls into opening a ssh connection. One problem there
> > might be that the kernel nbd module might expect a socket.
> 
> Indeed, it does. It's fairly hardwired to having a socket for the connection.
> 
> Can an stunnel or something like that not work?

It should; I've received many reports from people doing just that.

You shouldn't try to use it when swapping to NBD or similar (you'll
invite deadlocks that way), but for this use case it should not be any
less safe than 'regular' NBD.

-- 
The volume of a pizza of thickness a and radius z can be described by
the following formula:

pi zz a

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Nbd-general mailing list
Nbd-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nbd-general

Reply via email to