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

Julian Reschke <julian.reschke@gmx.de> Wed, 15 June 2011 09:20 UTC

Return-Path: <julian.reschke@gmx.de>
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 BDFE121F846A for <hybi@ietfa.amsl.com>; Wed, 15 Jun 2011 02:20:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -103.42
X-Spam-Level:
X-Spam-Status: No, score=-103.42 tagged_above=-999 required=5 tests=[AWL=-1.421, BAYES_00=-2.599, J_CHICKENPOX_14=0.6, USER_IN_WHITELIST=-100]
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 MmrVK1NdDv58 for <hybi@ietfa.amsl.com>; Wed, 15 Jun 2011 02:20:18 -0700 (PDT)
Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by ietfa.amsl.com (Postfix) with SMTP id 677DA21F8458 for <hybi@ietf.org>; Wed, 15 Jun 2011 02:20:18 -0700 (PDT)
Received: (qmail invoked by alias); 15 Jun 2011 09:20:16 -0000
Received: from mail.greenbytes.de (EHLO [192.168.1.140]) [217.91.35.233] by mail.gmx.net (mp038) with SMTP; 15 Jun 2011 11:20:16 +0200
X-Authenticated: #1915285
X-Provags-ID: V01U2FsdGVkX1/YfCE6b63YfKgHwQLTmUw9YrKxm/Ojn/AcmAx9Hs 0vZsbfQfuCrRJD
Message-ID: <4DF87950.9050506@gmx.de>
Date: Wed, 15 Jun 2011 11:20:16 +0200
From: Julian Reschke <julian.reschke@gmx.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: Simon Pieters <simonp@opera.com>
References: <20110613233745.27187.94588.idtracker@ietfa.amsl.com> <BANLkTik3Lgp9H4EW1BwRj=n+OQFz6YN547A4y69SysoF7UXnzw@mail.gmail.com> <1308062227.1944.162.camel@ds9> <BANLkTim3PT8y3+u-99BRVb1WwzFUZyxAXQ@mail.gmail.com> <1308074802.1944.175.camel@ds9> <4DF7A9ED.3000609@warmcat.com> <CA566BAEAD6B3F4E8B5C5C4F61710C11403256BF@TK5EX14MBXW603.wingroup.windeploy.ntdev.microsoft.com> <1308098126.1944.194.camel@ds9> <op.vw31c2t3idj3kv@simon-pieterss-macbook.local>
In-Reply-To: <op.vw31c2t3idj3kv@simon-pieterss-macbook.local>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Y-GMX-Trusted: 0
Cc: "hybi@ietf.org" <hybi@ietf.org>, Gabriel Montenegro <Gabriel.Montenegro@microsoft.com>, Patrick McManus <pmcmanus@mozilla.com>
Subject: Re: [hybi] I-D Action: draft-ietf-hybi-thewebsocketprotocol-09.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: Wed, 15 Jun 2011 09:20:19 -0000

On 2011-06-15 11:16, Simon Pieters wrote:
> ...
>> There is a similar reaction to the -08+ requirement that (paraphrased)
>> non UTF-8 sequences are interpreted as U+FFFD. Silently rewriting the
>> data is frowned on from a security pov. We are considering just failing
>> such a non-conformant connection (and I suppose becoming non-conformant
>> ourselves by doing so.).
>
> Rewriting broken UTF-8 sequences to U+FFFD is done all over the Web
> platform (exception being XML although most browsers did it in XML too
> until it was tested in Acid3). Failing the connection here seems to make
> the protocol brittle. What's the security problem?
> ...

Failing the connections makes broken servers fail early. Sounds good to me.

Best regards, Julian