monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: Anybody working on SSH (aka stdin/stdout) suppo


From: Herve Quiroz
Subject: Re: [Monotone-devel] Re: Anybody working on SSH (aka stdin/stdout) support for netsync
Date: Sat, 15 May 2004 16:42:09 +0200
User-agent: Mutt/1.4.2.1i

On Wed, May 12, 2004 at 11:17:31PM -0400, graydon hoare wrote:
> Christof Petig wrote:
> >Hello,
> >
> >is anybody working (or planning to work) on pipe/stdin/stdout support 
> >for netsync? I would love to have it working soon.
> 
> I am not currently working on it, but I'd love to see an implementation. 
>   I can imagine two approaches: either teach Netxx how to wrap file 
> descriptors (quasi-sockets); or abstract netsync.cc to accept either 
> Netxx or file descriptor versions.
> 
> either should be plausible, and would be most welcome.

Just my 0.02...

What about using SSH builtin tunnel facility? This way, you don't need
to wrap file descriptors. You just use the initial SSH connection to
setup the tunnel and negociate through stdin/stdout about potential
additional parameters (like port number in case this one is already in
use). Then everything related to netsync happens over the tunnel.

As for command-line parameters, why not using URLs (with a protocol://
prefix)? This could even allow a "pull" to occur between two distant
databases (for which I have yet to find a relevant use case actually).

Herve




reply via email to

[Prev in Thread] Current Thread [Next in Thread]