Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-13.txt

Alexey Melnikov <alexey.melnikov@isode.com> Thu, 08 September 2011 16:19 UTC

Return-Path: <alexey.melnikov@isode.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 D169A21F8ABB for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 09:19:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.501
X-Spam-Level:
X-Spam-Status: No, score=-102.501 tagged_above=-999 required=5 tests=[AWL=0.098, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Rvma2X85gN0 for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 09:19:33 -0700 (PDT)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by ietfa.amsl.com (Postfix) with ESMTP id 0C4AE21F889A for <hybi@ietf.org>; Thu, 8 Sep 2011 09:19:33 -0700 (PDT)
Received: from [192.168.1.124] ((unknown) [62.3.217.253]) by rufus.isode.com (submission channel) via TCP with ESMTPA id <TmjrhQAZ1An-@rufus.isode.com>; Thu, 8 Sep 2011 17:21:25 +0100
X-SMTP-Protocol-Errors: NORDNS
Message-ID: <4E68EB84.2050909@isode.com>
Date: Thu, 08 Sep 2011 17:21:24 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915
X-Accept-Language: en-us, en
To: Peter Saint-Andre <stpeter@stpeter.im>
References: <20110831184207.1514.64093.idtracker@ietfa.amsl.com> <0fc901cc6878$1681eec0$0a00a8c0@Venus> <CAH9hSJb2rH+fX0AnekYxsEkHKzb15aHrg_hDQw1baWLiWBF-3w@mail.gmail.com> <17b501cc6d31$3016d6d0$0a00a8c0@Venus> <CAH9hSJYhLpcXrOtS-nzLt2YW9QbngEsfdcNF+0TadyVA6rrK1A@mail.gmail.com> <17ef01cc6d39$3575ae50$0a00a8c0@Venus> <20110907085128.GA19144@1wt.eu> <CAH9hSJYXZ285L_+eJh6VUVCAg4D+u=vQbcjVOA4RMsJSbcHqiw@mail.gmail.com> <CABLsOLBKgnTFga821t2AZ1dXobTsfMb5v8CTJhm_Nr8WMkonaA@mail.gmail.com> <53451FDB-77F7-42A1-8D16-05094C35AB5D@bbn.com> <4E68E9F6.6030901@stpeter.im>
In-Reply-To: <4E68E9F6.6030901@stpeter.im>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: hybi@ietf.org
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-13.txt
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: Thu, 08 Sep 2011 16:19:33 -0000

Peter Saint-Andre wrote:

>On 9/8/11 9:06 AM, Richard L. Barnes wrote:
>  
>
>>[trimmed for brevity]
>>
>>On Sep 7, 2011, at 10:17 AM, John Tamplin wrote:
>>    
>>
>>>On Wed, Sep 7, 2011 at 8:32 AM, Takeshi Yoshino <tyoshino@google.com> wrote:
>>>Yes. That's unexpected side-effect of addition of MASK bit. Without the flag, there was no information in a frame if it's masked or not so client just had to follow what the spec says. So, client never encountered such situation.
>>>      
>>>
>>It should also be noted that if the MASK bit is eliminated, then the recipient of a frame can't even parse it in the current format, since it doesn't know whether the first four octets are a masking key or not.
>>    
>>
>>>I expect it will get used as a WS-variant when dealing with non-browser clients -- ie, between a frontend which handles masking/aggregation/deaggregation/SSL and the ultimate backend, I would not be surprised if there were unmasked client->server frames.  As long as all the browser clients all enforce masking on their connections, the problem masking was added for is averted.
>>>      
>>>
>>This seems to argue against Gabriel's proposed "c2s MUST / s2c MUST NOT".  Proposed alternative:
>>
>>OLD: "All frames sent from the server to the client are not masked."
>>NEW: "Frames sent from the server to the client MAY be masked."
>>
>>OLD: "All frames sent from the client to the server are masked to avoid ..."
>>NEW: "Frames sent from the client to the server SHOULD be to avoid ..."
>>    
>>
I assume you've missed out "masked" after "SHOULD be".

>>NEW: "Servers MUST NOT reject un-masked frames, unless masking is required by local policy."
>>    
>>
>Personally (not as your Area Director), that's fine with me.
>  
>
Personally (not as an editor), I am fine with this text as well.

>As your Area Director, I'd appreciate feedback from WG participants so
>that we can reach closure on this issue.
>  
>