From: Peter Rosin <peda@lysator.liu.se>
To: "S. I. Becker" <stewart@sibecker.co.uk>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Re: PATCH: Secure TLS encrypted authentication for VNC
Date: Tue, 3 Jun 2008 12:31:44 +0200 [thread overview]
Message-ID: <20080603103144.GA23880@sellafield.lysator.liu.se> (raw)
Hi!
Sorry for the response to this old post, but since it seems to be the
best reference for the VeNCrypt protocol on the web, I don't feel too
bad. Hopefully I got the message-id correct so that this post is
properly linked.
S. I. Becker skrev:
> Daniel P. Berrange wrote:
> > If there's any formal doc describing the VeNCrypt auth system in the
> > same style as the primary RFB protocol doc[1] that'd be very helpful.
*snip*
> Dan,
>
> The closest I have to a formal spec are some emails going back-and-forth
> between Martin Koegler and myself over what the protocol should be.
> I've tried to collate and format these together below. Please let me
> know if anything is not clear, or if you can spot any edge-cases that
> permit security flaws.
*snip*
> RFB Protocol Section 6.2.19.257 - TLSNone VeNCrypt sub-type
>
> If the TLSNone, TLSVnc or TLSPlain sub-types have been chosen, Anonymous
> TLS authentication is initiated as described in the TLS protocol.
>
> If the TLS authentication was not successful, the connection is closed.
> Otherwise, all further communication takes place over the encrypted
> TLS channel.
>
> If the TLSNone sub-type was chosen, authentication continues as for the
> None type described in section 6.2.1.
*snip*
I would like to point out that vencserver seems to be sending an
extra U8 (== 0x01. Is that a boolean? 0x00 means failure?) before
the SSL/TLS handshake is started. The QEMU implementation does
this also, so the bug is clearly in this "spec". This also affects
sub-types 258, 259, 260, 261 and 262.
Cheers,
Peter (not subscribed)
next reply other threads:[~2008-06-03 10:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-03 10:31 Peter Rosin [this message]
2008-06-03 18:48 ` [Qemu-devel] Re: PATCH: Secure TLS encrypted authentication for VNC Stewart Becker
2008-06-03 19:24 ` Daniel P. Berrange
2008-06-03 21:27 ` Peter Rosin
2008-06-03 22:37 ` Daniel P. Berrange
-- strict thread matches above, loose matches on Subject: below --
2007-02-24 16:54 [Qemu-devel] " Daniel P. Berrange
2007-02-28 21:27 ` [Qemu-devel] " S. I. Becker
2007-03-01 16:34 ` Daniel P. Berrange
2007-03-01 18:21 ` S. I. Becker
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=20080603103144.GA23880@sellafield.lysator.liu.se \
--to=peda@lysator.liu.se \
--cc=qemu-devel@nongnu.org \
--cc=stewart@sibecker.co.uk \
/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).