Re: [hybi] Ping/Pong body (was Re: TSV-Directorate review of draft-ietf-hybi-thewebsocketprotocol-07)
Patrick McManus <pmcmanus@mozilla.com> Wed, 25 May 2011 11:10 UTC
Return-Path: <pmcmanus@mozilla.com>
X-Original-To: hybi@ietfa.amsl.com
Delivered-To: hybi@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 59BC5E0681 for <hybi@ietfa.amsl.com>; Wed, 25 May 2011 04:10:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IhYLfOWr1OXY for <hybi@ietfa.amsl.com>; Wed, 25 May 2011 04:10:18 -0700 (PDT)
Received: from linode.ducksong.com (linode.ducksong.com [64.22.125.164]) by ietfa.amsl.com (Postfix) with ESMTP id 5F968E0680 for <hybi@ietf.org>; Wed, 25 May 2011 04:10:18 -0700 (PDT)
Received: by linode.ducksong.com (Postfix, from userid 1000) id 5937710305; Wed, 25 May 2011 07:10:17 -0400 (EDT)
Received: from [192.168.16.226] (cpe-67-253-92-25.maine.res.rr.com [67.253.92.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by linode.ducksong.com (Postfix) with ESMTPSA id A1705101F5; Wed, 25 May 2011 07:10:13 -0400 (EDT)
From: Patrick McManus <pmcmanus@mozilla.com>
To: Takeshi Yoshino <tyoshino@google.com>
In-Reply-To: <BANLkTikx=mg_ACZDjhSvD+gma5UgMbJq7g@mail.gmail.com>
References: <ED13A76FCE9E96498B049688227AEA292C6A81E4@TK5EX14MBXC206.redmond.corp.microsoft.com> <4DD9686C.7020509@callenish.com> <BANLkTin2LcHgPH7s4-T_1LJa_UhkigJziw@mail.gmail.com> <1306285493.1782.33.camel@ds9> <BANLkTino-_v8VKMXaUG0WH9HgsFedWgHtg@mail.gmail.com> <1306294656.1782.50.camel@ds9> <BANLkTikx=mg_ACZDjhSvD+gma5UgMbJq7g@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"
Date: Wed, 25 May 2011 07:10:12 -0400
Message-ID: <1306321812.1782.60.camel@ds9>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.2
Content-Transfer-Encoding: 7bit
Cc: "hybi@ietf.org" <hybi@ietf.org>
Subject: Re: [hybi] Ping/Pong body (was Re: TSV-Directorate review of draft-ietf-hybi-thewebsocketprotocol-07)
X-BeenThere: hybi@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Server-Initiated HTTP <hybi.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/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, 25 May 2011 11:10:19 -0000
On Wed, 2011-05-25 at 15:31 +0900, Takeshi Yoshino wrote: > > Sorry, I couldn't get you. A and B don't have to use the same > algorithm, but in fact those algorithms need coordination. A's > algorithm must choose X for its Ping where X != Y which B's algorithm > chooses for its unsolicited Pong. Well, I agree that I'm saying > something paranoid, but it's true. But if A's algorithm is "unpredictable random sequence" then B cannot realistically match A's value even if they are uncoordinated. Just make the random space sufficiently large - these are infrequent events after all. > How about this? Semantically a bit smaller change. > "Body of Ping and unsolicited body can be empty. IF Ping or > unsolicited Pong have non-empty body, they must start with 0x00 and > 0x01" > This doesn't break interoperability with -07 or add new constraint to that does break interoperability, though. a Ping of "0x23 0x24 0x25 0x26" is legal under -07 and invalid under that text. s/must/SHOULD would repair that, I suppose. If we need to change the text then let's do it. But really, is any serious problem being solved that an implementation cannot solve for its self with the selection of an unpredictable body in the ping using the -07 rules? It's time to ship the protocol already.
- [hybi] Ping/Pong body (was Re: TSV-Directorate re… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Salvatore Loreto
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Bruce Atherton
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Gabriel Montenegro
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Piotr Kulaga
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Brian McKelvey
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Piotr Kulaga
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Greg Wilkins
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Brian McKelvey
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Patrick McManus
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Jamie Lokier
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Gabriel Montenegro
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Salvatore Loreto
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Bruce Atherton
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Pieter Hintjens
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Jamie Lokier
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Jamie Lokier
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Pieter Hintjens
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Bruce Atherton
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Patrick McManus
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Patrick McManus
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Willy Tarreau
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Patrick McManus
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Brian McKelvey
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Greg Wilkins
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Takeshi Yoshino
- Re: [hybi] Ping/Pong body (was Re: TSV-Directorat… Gabriel Montenegro