Re: [hybi] An alternative design for the web socket handshake
Roberto Peon <fenix@google.com> Mon, 17 May 2010 16:25 UTC
Return-Path: <fenix@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 6B80728C1CD for <hybi@core3.amsl.com>; Mon, 17 May 2010 09:25:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.442
X-Spam-Level:
X-Spam-Status: No, score=-103.442 tagged_above=-999 required=5 tests=[AWL=-0.066, BAYES_50=0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, 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 F3T6tkuzTNDq for <hybi@core3.amsl.com>; Mon, 17 May 2010 09:25:50 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by core3.amsl.com (Postfix) with ESMTP id 8C3AA28C1D2 for <hybi@ietf.org>; Mon, 17 May 2010 09:17:07 -0700 (PDT)
Received: from kpbe11.cbf.corp.google.com (kpbe11.cbf.corp.google.com [172.25.105.75]) by smtp-out.google.com with ESMTP id o4HGGtjA022985 for <hybi@ietf.org>; Mon, 17 May 2010 09:16:59 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1274113019; bh=E9HmLMwOHMIIGknDXwCzaHJ0L38=; h=MIME-Version:In-Reply-To:References:Date:Message-ID:Subject:From: To:Cc:Content-Type; b=xHR48X2VXOIF/WMO0PMCm5ESmY36AODb8NAMyASA5118uiq0FQWsaAIxtko7jLR9o EM8T7p+xpww6/0iLDlGIw==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=mime-version:in-reply-to:references:date:message-id:subject:from:to: cc:content-type:x-system-of-record; b=auaPf/udcs6woDrxwm/ATSMxIdlTlbaR5G9HXmQiC5sU0YHZ0zE1onDAZJfOfz04E AqPfD5TN6R+fmdcy1rzpA==
Received: from gwb19 (gwb19.prod.google.com [10.200.2.19]) by kpbe11.cbf.corp.google.com with ESMTP id o4HGGV5k020187 for <hybi@ietf.org>; Mon, 17 May 2010 09:16:54 -0700
Received: by gwb19 with SMTP id 19so2363330gwb.40 for <hybi@ietf.org>; Mon, 17 May 2010 09:16:54 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.151.4.1 with SMTP id g1mr6541584ybi.175.1274113014045; Mon, 17 May 2010 09:16:54 -0700 (PDT)
Received: by 10.150.184.18 with HTTP; Mon, 17 May 2010 09:16:53 -0700 (PDT)
In-Reply-To: <4FF8E1B1-6A5D-40B7-B722-EBBCF60F51AB@d2dx.com>
References: <y2s5c4444771005131226l18de7b18l6d80411890049552@mail.gmail.com> <69603590-B1F1-4F0F-AE04-8F1EDD742D50@apple.com> <4BED0902.2000305@webtide.com> <20100514153843.GA6408@shareable.org> <u2kad99d8ce1005140907p6771e610r20a2160318a43676@mail.gmail.com> <20100515001814.GA13218@shareable.org> <AANLkTil9oCJifCkSdV6fSAfB8v1FIUr8tsxUXPC_xN_W@mail.gmail.com> <AANLkTilllRHES9ZCMczi5qnNslQyB-Xbmx2Pw6anGHQ9@mail.gmail.com> <AANLkTilXsRgFdhReP0uCLrzuCB6BbbFvUq746cQwdtSf@mail.gmail.com> <4FF8E1B1-6A5D-40B7-B722-EBBCF60F51AB@d2dx.com>
Date: Mon, 17 May 2010 09:16:53 -0700
Message-ID: <AANLkTiniLaBFjkIwfoKBjG7gGV-lEfShm4ew6yzC2DCT@mail.gmail.com>
From: Roberto Peon <fenix@google.com>
To: Vladimir Katardjiev <vladimir@d2dx.com>
Content-Type: multipart/alternative; boundary="000e0cd286589b47c60486cc8d5e"
X-System-Of-Record: true
Cc: Hybi <hybi@ietf.org>
Subject: Re: [hybi] An alternative design for the web socket 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: Mon, 17 May 2010 16:25:51 -0000
Sure. Note that by removing the choice from the user we end up with cases where you have tethered your computer to your phone, and the proxy is helpfully stripping the bits off of the jpg data for the mapping application that you're attempting to use. Proxies do benefit some users, but, without the user's ability to choose to not use them, they can do serious harm. In the case that you propose here, the phone seller could provide the appropriate proxy settings. They could install a root cert on the phone belonging to the provider. If that sounds scary, well, it is exactly equivalent to what you're proposing already :) -=R On Mon, May 17, 2010 at 12:34 AM, Vladimir Katardjiev <vladimir@d2dx.com>wrote: > > On 15 maj 2010, at 21.18, Roberto Peon wrote: > > > Yup. The intermediary would have to be able to terminate the TLS session > and create another. > > Other than corporate proxies and reverse proxies, can you tell me of a > use-case for making an intermediary for websockets that really makes sense, > given that we're attempting to allow "unstructured" data? > > A mobile operator proxy performing opportunistic protocol optimisation such > as, for example, changing the keepalive(s) to a better interval given the > connection, applying compression, or buffering frame(s) in order to minimise > the uptime of a device's radio electronics. Lab tests have shown that as few > as three independent keepalives can drain a smartphone's battery in 16 > hours, without the user touching the device at all. > > Allowing these two, simple mechanics to be applied by intermediaries on a > network path that can make use of such optimisation (e.g. wireless > networks), this provides a tremendous benefit for the devices (they are > usable; I think that's a benefit) while requiring no additional complexity > server-side and only small additional complexity client-side (compression). > > Of course, there's a lot more that could be done to improve the efficiency, > but these two things are extremely simple to accommodate. > > Vladimir > _______________________________________________ > hybi mailing list > hybi@ietf.org > https://www.ietf.org/mailman/listinfo/hybi > >
- [hybi] An alternative design for the web socket h… Adam Barth
- Re: [hybi] An alternative design for the web sock… Mike Belshe
- Re: [hybi] An alternative design for the web sock… John Tamplin
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Scott Ferguson
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Ian Hickson
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… John Tamplin
- Re: [hybi] An alternative design for the web sock… Adam Barth
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Ian Hickson
- Re: [hybi] An alternative design for the web sock… Thomson, Martin
- Re: [hybi] An alternative design for the web sock… Brad Spencer
- Re: [hybi] An alternative design for the web sock… Adam Barth
- Re: [hybi] An alternative design for the web sock… Rob Sayre
- Re: [hybi] An alternative design for the web sock… Thomson, Martin
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Mike Belshe
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… John Tamplin
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Scott Ferguson
- Re: [hybi] An alternative design for the web sock… Vladimir Katardjiev
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Vladimir Katardjiev
- Re: [hybi] An alternative design for the web sock… Roberto Peon
- Re: [hybi] An alternative design for the web sock… Vladimir Katardjiev
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Roy T. Fielding
- Re: [hybi] An alternative design for the web sock… Erik Möller
- Re: [hybi] An alternative design for the web sock… John Tamplin
- Re: [hybi] An alternative design for the web sock… Erik Möller
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Mike Belshe
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Ian Hickson
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Ian Hickson
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… James Graham
- Re: [hybi] An alternative design for the web sock… Thomson, Martin
- Re: [hybi] An alternative design for the web sock… Jamie Lokier
- Re: [hybi] An alternative design for the web sock… Mike Belshe
- Re: [hybi] An alternative design for the web sock… Scott Ferguson
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Maciej Stachowiak
- Re: [hybi] An alternative design for the web sock… Greg Wilkins
- Re: [hybi] An alternative design for the web sock… Adam Barth
- Re: [hybi] An alternative design for the web sock… Adam Barth
- Re: [hybi] An alternative design for the web sock… Scott Ferguson
- Re: [hybi] An alternative design for the web sock… Adam Barth
- Re: [hybi] An alternative design for the web sock… Scott Ferguson
- Re: [hybi] An alternative design for the web sock… Ian Hickson