qemu vnc auth 3/4: Add VNC auth support from upstream QEMU
authorKeir Fraser <keir@xensource.com>
Tue, 30 Oct 2007 09:30:49 +0000 (09:30 +0000)
committerKeir Fraser <keir@xensource.com>
Tue, 30 Oct 2007 09:30:49 +0000 (09:30 +0000)
commit02b1dc06bf051c6ec8cd7a48dadf278f70b57fb9
treea7f1c5d8198bb327c361887e3d6b6c991c50f086
parent7891d8064f286f5279d74b244ddc61c99c2c4eba
qemu vnc auth 3/4: Add VNC auth support from upstream QEMU

This patch adds in the upstream QEMU VNC authentication code. This
spports the previous VNC password auth scheme, as well as the VeNCrypt
protocol extension. The latter allows for performing a TLS handshake,
and client verification of the server identify using x509
certificates. It is also possible for the server to request a client
certificate and validate that as a simple auth scheme. The code
depends on GNU TLS for SSL APIs, and the configure script will
auto-detect this.

The image.py code is changed to  deal with the new syntax for the -vnc
option.  In particular password authentication is now enabled by
giving the 'password' flag,

eg -vnc 0.0.0:1,password

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
tools/ioemu/Makefile.target
tools/ioemu/configure
tools/ioemu/d3des.c [new file with mode: 0644]
tools/ioemu/d3des.h [new file with mode: 0644]
tools/ioemu/monitor.c
tools/ioemu/vl.c
tools/ioemu/vl.h
tools/ioemu/vnc.c
tools/ioemu/xenstore.c
tools/python/xen/xend/image.py