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

John Tamplin <jat@google.com> Thu, 08 September 2011 16:58 UTC

Return-Path: <jat@google.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 A501721F87C9 for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 09:58:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -105.883
X-Spam-Level:
X-Spam-Status: No, score=-105.883 tagged_above=-999 required=5 tests=[AWL=0.093, BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, 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 kMxx+eeWaf0M for <hybi@ietfa.amsl.com>; Thu, 8 Sep 2011 09:58:02 -0700 (PDT)
Received: from smtp-out.google.com (smtp-out.google.com [216.239.44.51]) by ietfa.amsl.com (Postfix) with ESMTP id 1E65421F8797 for <hybi@ietf.org>; Thu, 8 Sep 2011 09:58:02 -0700 (PDT)
Received: from hpaq11.eem.corp.google.com (hpaq11.eem.corp.google.com [172.25.149.11]) by smtp-out.google.com with ESMTP id p88GxrAl004010 for <hybi@ietf.org>; Thu, 8 Sep 2011 09:59:54 -0700
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1315501194; bh=WGNj9sG++jq/uPBkx2xhlABGPlY=; h=MIME-Version:In-Reply-To:References:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=tJJvx0NGxBrCdFXHWx/JfAiRJeIigYo+XoeaD1gKZduvx0GoBentVBVorsFAmrH1Q XsZZQL8UjROFGBgm6UKFA==
DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=dkim-signature:mime-version:in-reply-to:references:from:date: message-id:subject:to:cc:content-type:x-system-of-record; b=WwkGkzvAh/KcNr+xg1CIVj+kYwxNSAWQTD/QB99XILMDMnGmHNhPZkxZgSZMX+7qi ew3ktGBdn7Z4xnC48ViJg==
Received: from gxk26 (gxk26.prod.google.com [10.202.11.26]) by hpaq11.eem.corp.google.com with ESMTP id p88GvEU0022406 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for <hybi@ietf.org>; Thu, 8 Sep 2011 09:59:52 -0700
Received: by gxk26 with SMTP id 26so143366gxk.4 for <hybi@ietf.org>; Thu, 08 Sep 2011 09:59:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=beta; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=uERaVJVdzFjjx45dvR5i/ET8esxCAXSzTHkJExxu2NY=; b=nhKBR+PoAN09VxeCSu3R+xN02GjSAy8BW+nzPg6DrCNA0pCnU6wxlW923FH2T0SE/u 70ZQe9unh3KRTR+Q1nSg==
Received: by 10.150.150.34 with SMTP id x34mr1077395ybd.59.1315501188312; Thu, 08 Sep 2011 09:59:48 -0700 (PDT)
Received: by 10.150.150.34 with SMTP id x34mr1077385ybd.59.1315501188161; Thu, 08 Sep 2011 09:59:48 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.150.49.7 with HTTP; Thu, 8 Sep 2011 09:59:28 -0700 (PDT)
In-Reply-To: <634914A010D0B943A035D226786325D422C0F6DBF7@EXVMBX020-12.exch020.serverdata.net>
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> <634914A010D0B943A035D226786325D422C0F6DBF7@EXVMBX020-12.exch020.serverdata.net>
From: John Tamplin <jat@google.com>
Date: Thu, 08 Sep 2011 12:59:28 -0400
Message-ID: <CABLsOLAw=ru059x7p2EWnye6ssVQGAvrzBB9Y5mNyo9Ez_ae6A@mail.gmail.com>
To: Tobias Oberstein <tobias.oberstein@tavendo.de>
Content-Type: multipart/alternative; boundary="000e0cd6d02e05a09d04ac70fd3d"
X-System-Of-Record: true
Cc: "hybi@ietf.org" <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:58:02 -0000

On Thu, Sep 8, 2011 at 12:37 PM, Tobias Oberstein <
tobias.oberstein@tavendo.de> wrote:

> - intermediaries can not check weather c2s frames are really masked, since
> they can't differentiate
> between payload which is masked random noise/encrypted app payload vs.
> payload that is non-masked
> random noise/encrypted app payload anyway
>

This isn't correct - an intermediary can see the MASK bit is set or not, and
if it wants to even find the payload it has to respect that.

-- 
John A. Tamplin
Software Engineer (GWT), Google