Re: [hybi] WebSocket, TLS and intermediaries

Maciej Stachowiak <mjs@apple.com> Wed, 21 July 2010 09:13 UTC

Return-Path: <mjs@apple.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 D7C583A6A04 for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 02:13:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, 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 GP71grjTZRjZ for <hybi@core3.amsl.com>; Wed, 21 Jul 2010 02:13:39 -0700 (PDT)
Received: from mail-out3.apple.com (mail-out3.apple.com [17.254.13.22]) by core3.amsl.com (Postfix) with ESMTP id 17E663A6A6C for <hybi@ietf.org>; Wed, 21 Jul 2010 02:13:39 -0700 (PDT)
Received: from relay13.apple.com (relay13.apple.com [17.128.113.29]) by mail-out3.apple.com (Postfix) with ESMTP id 74CD99EB6AA1 for <hybi@ietf.org>; Wed, 21 Jul 2010 02:13:55 -0700 (PDT)
X-AuditID: 1180711d-b7b98ae000002f4b-84-4c46ba536684
Received: from gertie.apple.com (gertie.apple.com [17.151.62.15]) by relay13.apple.com (Apple SCV relay) with SMTP id 3B.4C.12107.35AB64C4; Wed, 21 Jul 2010 02:13:55 -0700 (PDT)
MIME-version: 1.0
Content-type: text/plain; charset="us-ascii"
Received: from [10.0.1.5] (c-69-181-42-237.hsd1.ca.comcast.net [69.181.42.237]) by gertie.apple.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPSA id <0L5W00JLWHN66V30@gertie.apple.com> for hybi@ietf.org; Wed, 21 Jul 2010 02:13:55 -0700 (PDT)
From: Maciej Stachowiak <mjs@apple.com>
In-reply-to: <4C468EAE.4050507@gmx.de>
Date: Wed, 21 Jul 2010 02:13:54 -0700
Content-transfer-encoding: quoted-printable
Message-id: <02BB0E0C-133B-4733-B053-A9D6E870F199@apple.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> <35EFEA5E-9017-48A1-BB66-A0AF947E159F@d2dx.com> <AANLkTinihlL2sn3Kiwtcl7QYKhFlvmj9lvmH4_z02xF7@mail.gmail.com> <FC1F510E-6D48-4D75-A356-F455C9FD5BD8@apple.com> <4C468EAE.4050507@gmx.de>
To: Julian Reschke <julian.reschke@gmx.de>
X-Mailer: Apple Mail (2.1081)
X-Brightmail-Tracker: AAAAAQAAAZE=
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] WebSocket, TLS and intermediaries
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, 21 Jul 2010 09:13:39 -0000

On Jul 20, 2010, at 11:07 PM, Julian Reschke wrote:

> On 21.07.2010 02:01, Maciej Stachowiak wrote:
>> ...
>> Also, in practice it does not seem to be the case that intermediaries
>> are updated faster than clients or servers. One of the challenges to
>> deploying new protocols or protocol features is old intermediaries that
>> are not updated.
>> ...
> 
> The same has been said about clients (IE6) and servers (Apache httpd prior to implementing DefaultType None) just within a week :-)

I can't say for sure which has the fastest rate of being updated, I just reject the premise that intermediaries are in general updated faster to a significant degree. HTTP pipelining is a clear example of a feature that is largely blocked by intermediaries not being updated enough. When a protocol feature requires client or serve updates, then often it can be deployed incrementally when only a subset of clients or servers is updated, since they can come up with a way to signal to each other. However, if it is possible for intermediaries to get in the chain completely transparently, without any way for the client or server to know they exist, then it's quite difficult, perhaps impossible to come up with a reliable signal. In my opinion, to the extent we support intermediaries, the design should require at least one of the client or server to be explicitly aware of the intermediary. We should not support magical transparent intermediaries where neither the client nor server has an obvious way to detect its existence; in fact we should design the protocol to prevent such intermediaries from being created.

Regards,
Maciej