Skip to content

Misc fixes for VNC

Daniel P. Berrange qemu-devel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 0 repliesNew
  2. v13 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- Improve error reporting when VNC feature is disabled at build time
- Move VNC auth scheme setup into separate method
- Split the 3rd patch up into 4 pieces

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ui: remove unused 'wiremode' variable in VncState structui/vnc-auth-vencrypt.c ui/vnc-tls.c ui/vnc-tls.h +1 more+0 -110 replies
2/8ui: replace printf() calls with VNC_DEBUGui/vnc.c+6 -60 replies
3/8ui: report error if user requests VNC option that is unsupportedui/vnc.c ui/vnc.h+23 -320 replies
4/8ui: split setup of VNC auth scheme into separate methodui/vnc.c+91 -620 replies
5/8ui: fix setup of VNC websockets auth scheme with TLSui/vnc.c ui/vnc.h+52 -50 replies
6/8ui: enforce TLS when using websockets serverui/vnc-ws.c ui/vnc-ws.h ui/vnc.c+9 -260 replies
7/8ui: remove separate gnutls_session for websockets serverui/vnc-tls.c ui/vnc-ws.c ui/vnc.c +1 more+33 -620 replies
8/8ui: ensure VNC websockets server checks the ACL if requestedui/vnc-ws.c+10 -00 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/8] Misc fixes for VNC

This is a small series of fixes for the VNC server. The primary focus was on fixing the handling of TLS + auth in the websockets server so that it can actually be used in real world scenarios. These prepare the way for work I'm doing to refactor TLS handling into a module that is reusable across QEMU.

Changed in v2:

- Improve error reporting when VNC feature is disabled at build time
- Move VNC auth scheme setup into separate method
- Split the 3rd patch up into 4 pieces

Daniel P. Berrange (8):
ui: remove unused 'wiremode' variable in VncState struct
ui: replace printf() calls with VNC_DEBUG
ui: report error if user requests VNC option that is unsupported
ui: split setup of VNC auth scheme into separate method
ui: fix setup of VNC websockets auth scheme with TLS
ui: enforce TLS when using websockets server
ui: remove separate gnutls_session for websockets server
ui: ensure VNC websockets server checks the ACL if requested

 ui/vnc-auth-vencrypt.c |   1 -
 ui/vnc-tls.c           |  72 +++++--------
 ui/vnc-tls.h           |   7 --
 ui/vnc-ws.c            |  46 ++++----
 ui/vnc-ws.h            |   2 +-
 ui/vnc.c               | 287 +++++++++++++++++++++++++++++--------------------
 ui/vnc.h               |   9 +-
 7 files changed, 222 insertions(+), 202 deletions(-)
Signature · 1 line
2.1.0