Re: [rtcweb] #13: Transport of DATA_CHANNEL_OPEN
Michael Tuexen <Michael.Tuexen@lurchi.franken.de> Sat, 20 April 2013 19:41 UTC
Return-Path: <Michael.Tuexen@lurchi.franken.de>
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 3FD7B21F91B2 for <rtcweb@ietfa.amsl.com>; Sat, 20 Apr 2013 12:41:59 -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 ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id MJy2cmlBij1e for <rtcweb@ietfa.amsl.com>; Sat, 20 Apr 2013 12:41:58 -0700 (PDT)
Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) by ietfa.amsl.com (Postfix) with ESMTP id 52AF821F911E for <rtcweb@ietf.org>; Sat, 20 Apr 2013 12:41:58 -0700 (PDT)
Received: from [192.168.1.102] (p54818039.dip0.t-ipconnect.de [84.129.128.57]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id 482B51C0B4617; Sat, 20 Apr 2013 21:41:57 +0200 (CEST)
Mime-Version: 1.0 (Apple Message framework v1283)
Content-Type: text/plain; charset="us-ascii"
From: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
In-Reply-To: <CABkgnnW0V7Sjx27Ff7CHANLqPifRLMDNatqD=VgPOB+d-iR+4A@mail.gmail.com>
Date: Sat, 20 Apr 2013 21:41:56 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <5BD3CA4B-35A2-4EEA-8B4A-F05680E115B3@lurchi.franken.de>
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> <CABkgnnVtUjk4jSDVioxQnrt-b69Hx0nZLefs7tpEzETSmLXeNA@mail.gmail.com> <516F9A5A.6080402@alvestrand.no> <CABkgnnWrAMnm5fTWCNA1jqC_8Js0a6ewfSkvni4xg0E6rXdCtA@mail.gmail.com> <5170247F.4090908@alvestrand.no> <CABkgnnXU4HeJT-QwDcJ5NTvr72gZXxXi5zHFkQjJS__UXqzvtQ@mail.gmail.com> <206CB075-6754-4578-B623-866E410DACCC@lurchi.franken.de> <CABkgnnUCXUH+0a+F1LVQVrtL=Q65HGgsdT-oBBF++zSVR4OhWw@mail.gmail.com> <5171734E.3050300@jesup.org> <CABkgnnW0V7Sjx27Ff7CHANLqPifRLMDNatqD=VgPOB+d-iR+4A@mail.gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1283)
Cc: Randell Jesup <randell-ietf@jesup.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
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: Sat, 20 Apr 2013 19:41:59 -0000
On Apr 19, 2013, at 8:11 PM, Martin Thomson wrote: > On 19 April 2013 09:39, Randell Jesup <randell-ietf@jesup.org> wrote: >> the Open *will* eventually get through unless you have >> 100% (or virtually so) packet loss > > I'm going to pretend you didn't say that. If you want to talk odds, > that's fine, but I think that you'll find that this sort of error is > far more likely than you realize. We're talking the probability of > incoming data exceeding a given threshold prior to an open being > delivered. After all, unless you have 0% loss, the *possible* maximum > amount of data is infinite. Though large numbers might be of > relatively low probability on an individual basis, operating at scale > you are going to encounter surprising spikes. > >> I honestly feel it's ok to just buffer all incoming packets while waiting for the Open. > > That's not a warm fuzzy that I share. > >> No one is going to get a gigabyte of data in without an Open... A >> non-browser could fake up a session and start sending data without ever >> sending an Open... but flushing the data doesn't actually help you against >> that sort of active DOS (they can just start again, they can spread it >> across thousands of channels, etc, etc), and there are FAR better DOS >> methods - all this would do is burn some CPU and some memory. > > I think that would be a mistake. This isn't about denial of service, > it's about genuine usage cases that encounter errors. The receiver > can't use the receive window to apply back pressure if they are > reading from the stream to look for the open message, so you end up > with an unbounded amount of data. The amount of data will scale with > bandwidth delay product. A long, fat pipe might burn more CPU and > memory than you are willing to tolerate. If you are thinking about a sender violating the spec, then you are right. If the sender is following the spec, then SCTP will get the OPEN_REQ through. The amount of data is limited by the send buffer size, since all data sent after the OPEN_REQ is only SACKed and needs to be buffered (unless you use NR_SACKs). Best regards Michael > > Then it comes down to what experience you want to provide to the > unfortunates who encounter this problem. > _______________________________________________ > 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