Re: [hybi] Extensibility mechanisms?

Ian Hickson <ian@hixie.ch> Sun, 18 April 2010 02:46 UTC

Return-Path: <ian@hixie.ch>
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 B361C3A68C7 for <hybi@core3.amsl.com>; Sat, 17 Apr 2010 19:46:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.611
X-Spam-Level:
X-Spam-Status: No, score=-0.611 tagged_above=-999 required=5 tests=[AWL=-0.612, BAYES_50=0.001]
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 L92eypLq5YIe for <hybi@core3.amsl.com>; Sat, 17 Apr 2010 19:46:44 -0700 (PDT)
Received: from looneymail-a2.g.dreamhost.com (caibbdcaaaaf.dreamhost.com [208.113.200.5]) by core3.amsl.com (Postfix) with ESMTP id E492E3A677E for <hybi@ietf.org>; Sat, 17 Apr 2010 19:46:42 -0700 (PDT)
Received: from ps20323.dreamhostps.com (ps20323.dreamhost.com [69.163.222.251]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by looneymail-a2.g.dreamhost.com (Postfix) with ESMTP id 6453416D42C; Sat, 17 Apr 2010 19:46:35 -0700 (PDT)
Date: Sun, 18 Apr 2010 02:46:34 +0000
From: Ian Hickson <ian@hixie.ch>
To: Justin Erenkrantz <justin@erenkrantz.com>
In-Reply-To: <r2x5c902b9e1004170013o79f0b998v35a459c3fe648fb1@mail.gmail.com>
Message-ID: <Pine.LNX.4.64.1004180232330.751@ps20323.dreamhostps.com>
References: <h2w5c902b9e1004152345j992b815bz5f8d38f06a19181a@mail.gmail.com> <Pine.LNX.4.64.1004160701250.751@ps20323.dreamhostps.com> <4BC860FD.8080007@webtide.com> <Pine.LNX.4.64.1004161952530.751@ps20323.dreamhostps.com> <r2x5c902b9e1004170013o79f0b998v35a459c3fe648fb1@mail.gmail.com>
Content-Language: en-GB-hixie
Content-Style-Type: text/css
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset="US-ASCII"
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] Extensibility mechanisms?
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: Sun, 18 Apr 2010 02:46:45 -0000

On Sat, 17 Apr 2010, Justin Erenkrantz wrote:
> On Fri, Apr 16, 2010 at 1:13 PM, Ian Hickson <ian@hixie.ch> wrote:
> > ideal deployment the connection is wrapped in end-to-end TLS, so the
> > intermediaries can't do anything with it. There were only two reasons for
> 
> It may be appropriate to say it is end-to-end TLS at an organizational
> level (ie user to origin)

Right, that's what I meant (though "origin" may be the wrong word to use 
here, given its meaning in the Web security sphere).


> but my experience is that most reverse proxy deployments perform TLS 
> termination on the edge of the network so that load balancing techniques 
> can be applied inside the network without TLS overhead.  So, I believe 
> it is very unlikely to expect that there will always be end-to-end TLS 
> at scale - the intermediaries will be relied upon to provide critical 
> load-balancing and failover mechanisms even for Web Socket.  -- justin

For all intents and purposes, the server is everything under control of 
the end point authority. It doesn't matter if the "server" conformance 
class is implemented by a 486 PC sitting under a desk using only userland 
Ruby code running on Linux or if it's implemented by a mixture of 
dedicated hardware in a datacenter providing load-balancing to an array of 
high-end servers running a custom clustering OS. The spec explicitly 
states that conformance requirements are essentially "black box" 
conformance requirements. It doesn't require the server to use a single 
processor; the TLS, Web Socket, and subprotocol handshakes could all be 
handled by completely different machines on different coasts, so long as 
the end result is indistinguishable from what the spec requires.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'