Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
Jim Barnett <Jim.Barnett@genesyslab.com> Wed, 17 April 2013 22:12 UTC
Return-Path: <jim.barnett@genesyslab.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 707801F0D19 for <rtcweb@ietfa.amsl.com>; Wed, 17 Apr 2013 15:12:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level:
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 8wcDKW8IMcU8 for <rtcweb@ietfa.amsl.com>; Wed, 17 Apr 2013 15:12:13 -0700 (PDT)
Received: from service108-us.mimecast.com (service108-us.mimecast.com [205.139.110.64]) by ietfa.amsl.com (Postfix) with ESMTP id 70A331F0D17 for <rtcweb@ietf.org>; Wed, 17 Apr 2013 15:12:13 -0700 (PDT)
Received: from webmail-us.genesyslab.com (168.75.250.4 [168.75.250.4]) (Using TLS) by service108-us.mimecast.com; Wed, 17 Apr 2013 18:12:07 -0400
Received: from GENSJZMBX02.msg.int.genesyslab.com ([fe80::64cd:bb44:81d2:5bca]) by GENSJZFE02.msg.int.genesyslab.com ([::1]) with mapi id 14.02.0318.004; Wed, 17 Apr 2013 15:12:04 -0700
From: Jim Barnett <Jim.Barnett@genesyslab.com>
To: Harald Alvestrand <harald@alvestrand.no>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
Thread-Index: AQHOOmT/HBrruXMe0kWjWIPvwhRgR5jZer+AgAGH7wCAADWqgIAANYuA//+OF6A=
Date: Wed, 17 Apr 2013 22:12:03 +0000
Message-ID: <57A15FAF9E58F841B2B1651FFE16D281038C61@GENSJZMBX02.msg.int.genesyslab.com>
References: <066.3120a55540cacaa74ee5fda0b5273a48@trac.tools.ietf.org> <516CE3EC.2050804@jesup.org> <CABkgnnVaTOLa-hs7AtEgaTk7eq00bEkCY+_8L96Y8pooqybBxA@mail.gmail.com> <CAJrXDUFgxLT3-1HehKbg5byzifFi4Obe3XW9G4sbWRbnU+Hi1A@mail.gmail.com> <CABkgnnXr85LZyJiSF+ok2KMS_xQnS0CE4VBq4PvEhBBscn2QZQ@mail.gmail.com> <516F1AF9.2080301@alvestrand.no>
In-Reply-To: <516F1AF9.2080301@alvestrand.no>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [108.7.220.231]
MIME-Version: 1.0
X-MC-Unique: 113041718120702902
Content-Type: text/plain; charset="WINDOWS-1252"
Content-Transfer-Encoding: quoted-printable
Subject: Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Real-Time Communication in WEB-browsers working group list <rtcweb.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rtcweb>
List-Post: <mailto:rtcweb@ietf.org>
List-Help: <mailto:rtcweb-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rtcweb>, <mailto:rtcweb-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Apr 2013 22:12:14 -0000
I agree. Here's another way to look at it: if you were in charge of security, would you allow installation of a browser that would quietly accept large amounts of data without notifying anyone/anything? - Jim -----Original Message----- From: rtcweb-bounces@ietf.org [mailto:rtcweb-bounces@ietf.org] On Behalf Of Harald Alvestrand Sent: Wednesday, April 17, 2013 5:58 PM To: rtcweb@ietf.org Subject: Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN I think I (on behalf of applications I'll be writing) am in the camp of "If I asked to be told what the incoming data channel was (by not registering to handle data without an OPEN), and didn't get told what it was, I don't want the data". Perhaps provide a few buffers to handle packet reordering. But beyond that: Throw the data away. On 04/17/2013 08:46 PM, Martin Thomson wrote: > On 17 April 2013 08:34, Peter Thatcher <pthatcher@google.com> wrote: >> What does the browser do when it receives data before an OPEN message >> for a SID that is not currently configured to receive data (ie JS has >> not called create channel for that SID and we've not received an OPEN >> for that SID)? > This is the key. Doubly so in light of: > >> A reminder: If the JS specifically sets the SID when creating a data >> channel, then it can receive data without getting an OPEN message. > The only reasonable thing to do is to buffer data with an upper bound > on time, size and number of messages. When any of those limits are > hit, then you need to do something. > >> I think at that point, we either have to drop data or fire an event >> up to JS letting it know. I would suggest that after some buffer >> limit N, the browser may fire .ondatachannel even if an OPEN message >> is not received, and then deliver buffered data through the channel >> given in that event. The only alternative seems to be to just drop the data without telling the JS. >> Are there are any other alternatives I haven't thought of? > I see the same two options: create a data channel with some default or > inferred properties and fire events for the arrived messages, or > complain loudly and chuck the messages away. > > I like the former, but we've violated expectations about consistency > of channel properties. And this time its our (as a browser, that is) > fault, we were asked to do something and we failed to do it. Packet > loss happens and we didn't allow for it. > _______________________________________________ > rtcweb mailing list > rtcweb@ietf.org > https://www.ietf.org/mailman/listinfo/rtcweb _______________________________________________ rtcweb mailing list rtcweb@ietf.org https://www.ietf.org/mailman/listinfo/rtcweb
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- [rtcweb] #13: Transport of DATA_CHANNEL_OPEN rtcweb issue tracker
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Peter Thatcher
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Harald Alvestrand
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Jim Barnett
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Harald Alvestrand
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Harald Alvestrand
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Peter Thatcher
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Harald Alvestrand
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Matthew Kaufman
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Matthew Kaufman
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Peter Thatcher
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Michael Tuexen
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Peter Thatcher
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Matthew Kaufman (SKYPE)
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Cullen Jennings (fluffy)
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Harald Alvestrand
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Matthew Kaufman
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Matthew Kaufman
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Cullen Jennings
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Ejzak, Richard P (Richard)
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Bernard Aboba
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Martin Thomson
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Randell Jesup
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Ejzak, Richard P (Richard)
- Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN Stefan Hakansson LK