Re: [hybi] A WebSocket handshake

Willy Tarreau <w@1wt.eu> Wed, 06 October 2010 06:55 UTC

Return-Path: <w@1wt.eu>
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 9D06C3A70D9 for <hybi@core3.amsl.com>; Tue, 5 Oct 2010 23:55:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.817
X-Spam-Level:
X-Spam-Status: No, score=-2.817 tagged_above=-999 required=5 tests=[AWL=-0.774, BAYES_00=-2.599, HELO_IS_SMALL6=0.556]
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 6JneqEtaGz3w for <hybi@core3.amsl.com>; Tue, 5 Oct 2010 23:55:27 -0700 (PDT)
Received: from 1wt.eu (1wt.eu [62.212.114.60]) by core3.amsl.com (Postfix) with ESMTP id 6DBD73A6DE2 for <hybi@ietf.org>; Tue, 5 Oct 2010 23:55:26 -0700 (PDT)
Received: (from willy@localhost) by mail.home.local (8.14.4/8.14.4/Submit) id o966uOTH022611; Wed, 6 Oct 2010 08:56:24 +0200
Date: Wed, 06 Oct 2010 08:56:24 +0200
From: Willy Tarreau <w@1wt.eu>
To: Eric Rescorla <ekr@rtfm.com>
Message-ID: <20101006065624.GE20095@1wt.eu>
References: <AANLkTimQ5x-v+Mz_OHrNDdtVd94E+HOBWwo3_f1ktEeg@mail.gmail.com> <20101006053400.GC20095@1wt.eu> <AANLkTikFYP-LVS+dFZqd+v+M46KizAAq1mDH+t6Lcmau@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <AANLkTikFYP-LVS+dFZqd+v+M46KizAAq1mDH+t6Lcmau@mail.gmail.com>
User-Agent: Mutt/1.4.2.3i
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] A WebSocket handshake
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
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: Wed, 06 Oct 2010 06:55:28 -0000

On Tue, Oct 05, 2010 at 11:40:19PM -0700, Eric Rescorla wrote:
> On Tue, Oct 5, 2010 at 10:34 PM, Willy Tarreau <w@1wt.eu> wrote
> >
> > What I like with a payload-only encryption vs a connection encryption
> > is that it still maintains the ability to install dedicated filtering
> > components in schools. Such components will technically work as transparent
> > proxies and will just be MITM. They will have two encrypted channels,
> > one with the browser and one with the server and they'll be able to
> > see the exchanged data in clear text and be able to filter based on
> > that.
> >
> 
> I don't believe there is an issue here. This isn't a DH exchange--the keys
> are in the
> clear. A filtering appliance can passively decrypt the traffic.

indeed that's what I was saying, and that's what I like in this handshake
WRT a TLS handshake.

Regards,
Willy