OpenSSH
[Top] [All Lists]

Re: mirroring a loop device across an ssh connection

To: openssh-unix-dev@mindrot.org
Subject: Re: mirroring a loop device across an ssh connection
From: Jefferson Ogata <Jefferson.Ogata@noaa.gov>
Date: Fri, 01 Dec 2006 18:26:42 +0000
Delivered-to: sp-com-lists@consult.net
Delivered-to: openssh-unix-dev-list1@securepoint.com
Delivered-to: openssh-unix-dev-tmda@mindrot.org
Delivered-to: openssh-unix-dev@mindrot.org
In-reply-to: <457070C0.8040808@lakedaemon.net>
List-archive: <http://lists.mindrot.org/pipermail/openssh-unix-dev>
List-help: <mailto:openssh-unix-dev-request@mindrot.org?subject=help>
List-id: Development of portable OpenSSH <openssh-unix-dev.mindrot.org>
List-post: <mailto:openssh-unix-dev@mindrot.org>
List-subscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=subscribe>
List-unsubscribe: <http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev>, <mailto:openssh-unix-dev-request@mindrot.org?subject=unsubscribe>
References: <457067FF.8050201@lakedaemon.net> <45706ACE.2070301@noaa.gov> <457070C0.8040808@lakedaemon.net>
Sender: openssh-unix-dev-bounces+openssh-unix-dev-list1=securepoint.com@mindrot.org
User-agent: Mozilla/4.0 (compatible;MSIE 5.5; Windows 98)
[not sure what's up with reply-to here; looks like my previous reply
went only to you]

On 2006-12-01 18:13, Jason wrote:
> Jefferson Ogata wrote:
>> On 2006-12-01 17:35, Jason wrote:
>>> So far, I've looked at Rex/sfs [1], pseudo-tty programming, and a little 
>>> of unix domain sockets.  I'm more familiar with network socket 
>>> programming, though.  My main holdup right now is my lack of familiarity 
>>> with openssh internals.  If someone could point to the right section of 
>>> the src tree, perhaps with a nudge towards how to do this securely, it 
>>> would greatly appreciated.
>> Take a look at drbd.
> 
> Thanks, I hadn't stumbled across that yet.  There is only one small 
> problem with it, which I failed to mention in my initial mail.  I can't 
> assume I have root access to the remote machine.  I might be able to get 
> an 'sudo losetup ...' approved, but most likely I'll need to mirror the 
> file descriptor of the file container over the ssh connection.
> 
> Currently, for proof of concept, I have root access on the server, but I 
> may not in the final implementation.

In that case, fuse is another option that might help, tho I'm not
certain as I haven't used it.

-- 
Jefferson Ogata <Jefferson.Ogata@noaa.gov>
NOAA Computer Incident Response Team (N-CIRT) <ncirt@noaa.gov>
"Never try to retrieve anything from a bear."--National Park Service
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

<Prev in Thread] Current Thread [Next in Thread>