WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [RFC][PATCH] Secure XML-RPC for Xend

To: Anil Madhavapeddy <anil@xxxxxxxxxx>
Subject: Re: [Xen-devel] [RFC][PATCH] Secure XML-RPC for Xend
From: Daniel Veillard <veillard@xxxxxxxxxx>
Date: Fri, 9 Jun 2006 04:41:48 -0400
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ewan Mellor <ewan@xxxxxxxxxxxxx>
Delivery-date: Fri, 09 Jun 2006 01:42:14 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060609083434.GA19035@xxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4488D93D.7070303@xxxxxxxxxx> <20060609083434.GA19035@xxxxxxxxxxxxxxx>
Reply-to: veillard@xxxxxxxxxx
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.4.1i
On Fri, Jun 09, 2006 at 09:34:35AM +0100, Anil Madhavapeddy wrote:
> > 1) Python moans about tempnam().  I don't think there's a better solution
> >    though.
> 
> I don't like the dependency on directly calling ssh multiplexing,
> as it requires a relatively modern OpenSSH (>3.9) and the above
> race condition is introduced.  A newer feature in OpenSSH is to let
> the ControlPath consist of "%h,%p,%r" wildcards which fill in the
> host/user/port being connected to in a socket pathname, which solves
> that particular race.
> 
> Why not just do the SSH every time, and let the user either set up
> connection multiplexing or ssh agent in their local environment
> instead? 

   SSH authentication is really expensive especially when you compare to
other cost in the XML-RPC. I would really like some persistency
of the connection if possible, especially for operations like monitoring,
it's okay to reopen from time to time, but without reuse it would just not
work.

Daniel

-- 
Daniel Veillard      | Red Hat http://redhat.com/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel