Skip to content

RFC qemu-xen-trad: sasl: add SASL support to VNC

Simon Waterman xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest6 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6qemu-xen-trad: sasl: expose vnc API to SASL authvnc.h+222 -90 replies
2/6qemu-xen-trad: sasl: define SASL auth APIvnc-auth-sasl.h+67 -00 replies
3/6qemu-xen-trad: sasl: implement SASL authvnc-auth-sasl.c+613 -00 replies
4/6qemu-xen-trad: sasl: compatibility with vnc.hvnc.c+27 -1850 replies
5/6qemu-xen-trad: sasl: introduce SASL authentication and encryption layervnc.c+292 -370 replies
6/6qemu-xen-trad: sasl: add SASL option at build timeMakefile.target configure+40 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC 0/6] qemu-xen-trad: sasl: add SASL support to VNC

This patch series back-ports SASL authentication from upstream QEMU to the VNC server in qemu-xen-traditional. It enables authentication to the VNC console of a domain to be controlled using any SASL mechanism when using an IOEMU stubdom.

SASL can be used with or without X509 certificates.

The option is currently enabled during build by adding --enable-vnc-sasl to the configure line in xen-setup in the root of the QEMU tree.

SASL auth can be enabled for a domain using the 'vnclisten' option in the Xen config file:
vnclisten="0.0.0.0:5,tls,x509verify=/etc/ssl,sasl"

Details of how to configure SASL in QEMU can be found here:
https://qemu.weilnetz.de/doc/qemu-doc.html#vnc_005fsec_005fsasl

 Makefile.target |    6
 configure       |   34 +++
 vnc-auth-sasl.c |  613 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 vnc-auth-sasl.h |   67 ++++++
 vnc.c           |  533 ++++++++++++++++++++++++++++--------------------
 vnc.h           |  231 ++++++++++++++++++++-
 6 files changed, 1257 insertions(+), 227 deletions(-)

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel