Re: [hybi] Handshake was: The WebSocket protocol issues.

Ian Fette (イアンフェッティ) <ifette@google.com> Mon, 11 October 2010 21:28 UTC

Return-Path: <ifette@google.com>
X-Original-To: hybi@core3.amsl.com
Delivered-To: hybi@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 6EE4B3A6B8E for <hybi@core3.amsl.com>; Mon, 11 Oct 2010 14:28:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.505
X-Spam-Level:
X-Spam-Status: No, score=-105.505 tagged_above=-999 required=5 tests=[AWL=0.171, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Uq25s7XMzg3W for <hybi@core3.amsl.com>; Mon, 11 Oct 2010 14:28:53 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id E1FDF3A6832 for <hybi@ietf.org>; Mon, 11 Oct 2010 14:28:52 -0700 (PDT)
Received: from hpaq3.eem.corp.google.com (hpaq3.eem.corp.google.com [172.25.149.3]) by smtp-out.google.com with ESMTP id o9BLU4Y7011251 for <hybi@ietf.org>; Mon, 11 Oct 2010 14:30:05 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1286832605; bh=1LVFF1E9pripVaGs6Hg9m0rrnww=; h=MIME-Version:Reply-To:In-Reply-To:References:Date:Message-ID: Subject:From:To:Cc:Content-Type; b=pjiFqlON89bWlzTdaHBb9igiYTB42YRpBiwLTJGU46ERUkfa4TgBTSQv8q72iuPG+ ZCz7mTlkFDNtfCeC4JI8g==
Received: from qwa26 (qwa26.prod.google.com [10.241.193.26]) by hpaq3.eem.corp.google.com with ESMTP id o9BLSfnV007713 for <hybi@ietf.org>; Mon, 11 Oct 2010 14:30:01 -0700
Received: by qwa26 with SMTP id 26so29019qwa.19 for <hybi@ietf.org>; Mon, 11 Oct 2010 14:29:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=domainkey-signature:mime-version:received:received:reply-to :in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=wjWjpy1TGILdX+HEtJkW0iVz+gP37VfP5WGIqspyku4=; b=IPH6yOhrHAI/nqP/atf2aXfaDdJcz6/RkB1X5TySPuohz0hQJQls6g4FwiSbMMXgzk fh1pWNlu2FWvgPfPZjug==
DomainKey-Signature: a=rsa-sha1; c=nofws; d=google.com; s=beta; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=AVWLb11Unp7KBpOV3Ici9A+KveBqZBZBrB49TAJXSCPHO7My5B/rldDSxvsfwXGDUl nTSXeBEwYyS86d4mTuaA==
MIME-Version: 1.0
Received: by 10.229.182.82 with SMTP id cb18mr2535298qcb.286.1286832596553; Mon, 11 Oct 2010 14:29:56 -0700 (PDT)
Received: by 10.229.13.225 with HTTP; Mon, 11 Oct 2010 14:29:56 -0700 (PDT)
In-Reply-To: <AANLkTi=mCgXowkEP_A1zZNbkZRSEMi4q3JKFFeEGjJns@mail.gmail.com>
References: <20101009055723.GL4712@1wt.eu> <AANLkTimY2DjxgZybibSRtc7L34Wns2KhQC=Wa9K6PYku@mail.gmail.com> <20101009204009.GP4712@1wt.eu> <AANLkTi=Az0RmE1Uipo068zMh3YzgMpM2tQ+zYxaDT47A@mail.gmail.com> <20101011053354.GA12672@1wt.eu> <4CB2D7BD.1070004@opera.com> <9B9FA451-5551-4434-8EC1-BAC834FB9A61@apple.com> <AANLkTimDc_aqRTtgRpMKhdhk6x+vPGyOPvU3A=6mK9S7@mail.gmail.com> <4CB3373C.5050507@opera.com> <Pine.LNX.4.64.1010112100560.8618@ps20323.dreamhostps.com> <20101011211228.GE17225@1wt.eu> <AANLkTimJwyLouWc5McHpf4XbDz312ug1DB-rwnwORtaF@mail.gmail.com> <AANLkTi=mCgXowkEP_A1zZNbkZRSEMi4q3JKFFeEGjJns@mail.gmail.com>
Date: Mon, 11 Oct 2010 14:29:56 -0700
Message-ID: <AANLkTinncogOV6mKDQSocRSsjyJKerO04d3AGW9acSpW@mail.gmail.com>
From: "Ian Fette (イアンフェッティ)" <ifette@google.com>
To: Adam Barth <ietf@adambarth.com>
Content-Type: multipart/alternative; boundary="001636284a68cd91cf04925e0f19"
X-System-Of-Record: true
Cc: hybi <hybi@ietf.org>
Subject: Re: [hybi] Handshake was: The WebSocket protocol issues.
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: ifette@google.com
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/hybi>
List-Post: <mailto:hybi@ietf.org>
List-Help: <mailto:hybi-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/hybi>, <mailto:hybi-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 11 Oct 2010 21:28:55 -0000

Sorry for the over-brief response. I was assuming in the world of an NPN
handshake that wss:// would use a strong cipher suite and check that the
certificate is valid, and that in the world of ws:// the NULL cipher suite
would be used, and the certificate would not be checked for validity (e.g.
self-signed cert would be fine.)

-Ian

2010/10/11 Adam Barth <ietf@adambarth.com>

> Or just use the ws version that doesn't check certificates (as opposed
> to the wss version that does).
>
> Adam
>
>
> 2010/10/11 Ian Fette (イアンフェッティ) <ifette@google.com>:
> > Willy,
> > People are welcome to use the null cipher suite with TLS.
> >
> > On Mon, Oct 11, 2010 at 2:12 PM, Willy Tarreau <w@1wt.eu> wrote:
> >>
> >> Hi Ian,
> >>
> >> On Mon, Oct 11, 2010 at 09:04:08PM +0000, Ian Hickson wrote:
> >> > On Mon, 11 Oct 2010, James Graham wrote:
> >> > >
> >> > > So there is an underlying issue here that I don't understand. It
> seems
> >> > > clear to me that Adam and Eric's proposed handshake has a better
> >> > > security story with regard to cross-protocol attacks than -75, -76,
> or
> >> > > any other proposal other than using NPN with TLS. However there seem
> >> > > to
> >> > > be a number of people who have problems with this proposed handshake
> >> > > to
> >> > > the extent that they are prepared to forgo the security properties
> in
> >> > > order to get something different. In general people seem to be aware
> >> > > that they are making the security weaker since the arguments are
> >> > > mostly
> >> > > about how different approaches will probably be good enough in
> >> > > practice
> >> > > even though they are theoretically inferior.
> >> > >
> >> > > What I haven't followed is what the problems with the proposal
> >> > > actually
> >> > > are. I understand that I have likely missed these in other messages,
> >> > > but
> >> > > it would be helpful if people who believe that the proposed
> approach,
> >> > > or
> >> > > aspects of it, are unworkable could summarise the outstanding issues
> >> > > they see.
> >> >
> >> > I would like to ask a similar question, but to the people proposing
> Adam
> >> > and Eric's latest proposed handshake. What real problem does it solve
> >> > that
> >> > NPN with TLS doesn't solve? As you say, it is weaker than NPN with
> TLS,
> >> > so
> >> > why not just go all the way?
> >> >
> >> > This would have multiple advantages beyond just being more secure, for
> >> > example we could halve the number of schemes we're introducing, halve
> >> > the
> >> > number of handshake implementations on both clients and servers,
> greatly
> >> > reduce the testing burden, etc.
> >>
> >> And unfortunately prevent content analysis in schools, and be blocked by
> >> default in many enterprises, and probably make virtual hosting
> impossible,
> >> unless the target resource can be announced in the TLS setup, which I'm
> >> not sure is possible with NPN.
> >>
> >> In fact, I think that if the WS work was started, it was to get rid of
> the
> >> mechanisms relying on long polling. And those mechanisms were invented
> >> because only HTTP passes everywhere. If we propose something which is
> >> not compatible with currently deployed HTTP infrastructures, we'll then
> >> still keep the current mechanisms and have WS proposed as an Nth
> >> alternative
> >> for some situations, which will definitely make the situation worse for
> >> the
> >> user and for the developer.
> >>
> >> That need of compatibility with already deployed HTTP infrastructure
> seems
> >> to be dismissed too much in this WG in my opinion, and I don't think I'm
> >> wrong to predict a success directly dependant on this compatibility.
> >>
> >> Regards,
> >> Willy
> >>
> >> _______________________________________________
> >> hybi mailing list
> >> hybi@ietf.org
> >> https://www.ietf.org/mailman/listinfo/hybi
> >
> >
> > _______________________________________________
> > hybi mailing list
> > hybi@ietf.org
> > https://www.ietf.org/mailman/listinfo/hybi
> >
> >
>