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] [PATCH] add ssl/tls support to relocation

To: "Zhigang Wang" <zhigang.x.wang@xxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH] add ssl/tls support to relocation
From: "Carb, Brian A" <Brian.Carb@xxxxxxxxxx>
Date: Mon, 5 May 2008 10:43:53 -0500
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 05 May 2008 08:45:45 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <481B594A.1080708@xxxxxxxxxx>
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: <48153B56.5070201@xxxxxxxxxx> <089B0D75973E1241B941D0A9854F23FC0C0945CF@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <481B594A.1080708@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcisgAaYvbhNxhw/SHei2UGAhzLp7QCRgMzw
Thread-topic: [Xen-devel] [PATCH] add ssl/tls support to relocation
This works on SLES10SP1 if we download a compatible python openssl rpm
(python-openssl-0.6-17.x86_64.rpm) from opensuse.

brian carb
unisys corporation - malvern, pa

-----Original Message-----
From: Zhigang Wang [mailto:zhigang.x.wang@xxxxxxxxxx] 
Sent: Friday, May 02, 2008 2:11 PM
To: Carb, Brian A
Cc: xen-devel
Subject: Re: [Xen-devel] [PATCH] add ssl/tls support to relocation

Yes. I add a dependency.

maybe we can separate SSLTCPListener to a new file like (tcp-ssl.py),
and import it when needed, just like
tools/python/xen/xend/server/SSLXMLRPCServer.py did.

will try it later, or you can help.

thanks,

zhigang

Carb, Brian A wrote:
> With this patch included, xend start errors: 
> 
> # xend start
> Traceback (most recent call last):
>   File "/usr/sbin/xend", line 44, in ?
>     from xen.xend.server import SrvDaemon
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/s
> er
> ver/SrvDaemon.py", line 26, in ?
>     import relocate
>   File
> "/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/xend/s
> er
> ver/relocate.py", line 23, in ?
>     from xen.web import protocol, tcp, unix
>   File
>
"/home/unisys/xen-unstable.hg/dist/install/usr/lib64/python/xen/web/tcp.
> py", line 25, in ?
>     from OpenSSL import SSL
> ImportError: No module named OpenSSL
> 
> I guess this produces a dependency on python-openssl, but this rpm is 
> not included in the standard SLES10 distro.
> 
> brian carb
> unisys corporation - malvern, pa
> 
> 
> -----Original Message-----
> From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Zhigang 
> Wang
> Sent: Sunday, April 27, 2008 10:50 PM
> To: xen-devel
> Subject: [Xen-devel] [PATCH] add ssl/tls support to relocation
> 
> hi, this patch add ssl/tls support to relocation:
> 
>  * SSL/TLS support is disabled by default, as other server did.
> 
>  * If "xend-relocation-server-ssl-key-file" and
>    "xend-relocation-server-ssl-cert-file" exist, SSL/TLS is enabled
>    automatically.
> 
>  * "xend-relocation-tls" is used by relocation client only.
> 
> Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
> 
> 

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