qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrange" <berrange@redhat.com>
To: qemu-devel@nongnu.org
Cc: Gerd Hoffmann <kraxel@redhat.com>
Subject: [Qemu-devel] [PATCH v2 0/8] Misc fixes for VNC
Date: Tue, 17 Mar 2015 13:42:52 +0000	[thread overview]
Message-ID: <1426599780-3264-1-git-send-email-berrange@redhat.com> (raw)

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(-)

-- 
2.1.0

             reply	other threads:[~2015-03-17 13:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-17 13:42 Daniel P. Berrange [this message]
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 1/8] ui: remove unused 'wiremode' variable in VncState struct Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 2/8] ui: replace printf() calls with VNC_DEBUG Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 3/8] ui: report error if user requests VNC option that is unsupported Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 4/8] ui: split setup of VNC auth scheme into separate method Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 5/8] ui: fix setup of VNC websockets auth scheme with TLS Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 6/8] ui: enforce TLS when using websockets server Daniel P. Berrange
2015-03-17 13:42 ` [Qemu-devel] [PATCH v2 7/8] ui: remove separate gnutls_session for " Daniel P. Berrange
2015-03-17 13:43 ` [Qemu-devel] [PATCH v2 8/8] ui: ensure VNC websockets server checks the ACL if requested Daniel P. Berrange

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1426599780-3264-1-git-send-email-berrange@redhat.com \
    --to=berrange@redhat.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).