Re: [rtcweb] Data Transport, was: Re: RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)]

"Olle E. Johansson" <oej@edvina.net> Mon, 19 September 2011 16:38 UTC

Return-Path: <oej@edvina.net>
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 A1D8A21F8C10 for <rtcweb@ietfa.amsl.com>; Mon, 19 Sep 2011 09:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.241
X-Spam-Level:
X-Spam-Status: No, score=-2.241 tagged_above=-999 required=5 tests=[AWL=0.008, BAYES_00=-2.599, HELO_EQ_SE=0.35]
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 em8G3qdpYu+4 for <rtcweb@ietfa.amsl.com>; Mon, 19 Sep 2011 09:38:33 -0700 (PDT)
Received: from smtp7.webway.se (smtp7.webway.se [212.3.14.205]) by ietfa.amsl.com (Postfix) with ESMTP id 08A8421F8BDC for <rtcweb@ietf.org>; Mon, 19 Sep 2011 09:38:33 -0700 (PDT)
Received: from [192.168.40.44] (ns.webway.se [87.96.134.125]) by smtp7.webway.se (Postfix) with ESMTPA id A27E7754BCE5; Mon, 19 Sep 2011 16:40:53 +0000 (UTC)
Mime-Version: 1.0 (Apple Message framework v1244.3)
Content-Type: text/plain; charset=iso-8859-1
From: "Olle E. Johansson" <oej@edvina.net>
In-Reply-To: <4E776739.4010609@ericsson.com>
Date: Mon, 19 Sep 2011 18:40:52 +0200
Content-Transfer-Encoding: quoted-printable
Message-Id: <BACEBE38-1B93-4697-B548-9490339F7288@edvina.net>
References: <CALiegfnOCxyTo9ffQ272+ncdu5UdgrtDT-dn10BWGTZMEjZoCg@mail.gmail.com> <2E239D6FCD033C4BAF15F386A979BF510F0C0A@sonusinmail02.sonusnet.com> <05CAC192-E462-421F-B1E5-B78DC8F60306@ag-projects.com> <2E239D6FCD033C4BAF15F386A979BF510F0C93@sonusinmail02.sonusnet.com> <4E73C056.2090003@skype.net> <253421CC-AC2C-4896-8F63-68752F15C621@edvina.net> <40AA097E-47BD-44C7-B3E8-F7C056FCD43D@acmepacket.com> <4E776739.4010609@ericsson.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
X-Mailer: Apple Mail (2.1244.3)
Cc: "<rtcweb@ietf.org>" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Data Transport, was: Re: RTCWeb default signaling protocol [was RE: About defining a signaling protocol for WebRTC (or not)]
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: Mon, 19 Sep 2011 16:38:33 -0000

19 sep 2011 kl. 18:00 skrev Magnus Westerlund:

> On 2011-09-17 19:27, Hadriel Kaplan wrote:
>> 
>> On Sep 17, 2011, at 4:27 AM, Olle E. Johansson wrote:
>> 
>>> They will be able to use the rtcweb data channel, which is a
>>> concern.
>> 
>> Yes, that's actually the most interesting piece of this whole thing,
>> in my opinion.  Browsers don't typically offer raw sockets to
>> javascript as far as I know.  And not only does it raise a lovely set
>> of security concerns, but also network collapse issues since UDP has
>> no congestion backoff and I believe the data channel we're talking
>> about is UDP(?).
> 
> Well, it is something over UDP. We clearly need UDP for NAT traversal
> considerations. However, we also clearly need congestion control
> implemented in the browser, not in the JS to prevent two targets to
> unfairly saturate the path between the peers.
> 
>> 
>> And since the data channel is actually peer-to-peer rather than
>> client-to-server, the issues with not standardizing its protocol
>> become harder. I.e., leaving it a raw socket will only work if it
>> goes between the same javascripts, inside the same domain - if that's
>> ok, then the only issue is this would be put into SDP, and SDP isn't
>> constrained by a javascript domain.  Hmm... gosh, if only rtcweb
>> didn't use SDP as its browser API... :)
> 
> We need to standardize a number of Transport protocol functionalities
> for the RTCWEB data transport solution. To the degree that I do like to
> resurface some of my earlier suggestions around this. Why not use DCCP
> with TFRC or TCP like congestion control tunneled over UDP.
> 
> The whole specification is ready. Which avoids any hiccup with the
> transport people and IESG.
> 
> We can run either IP/UDP/DCCP/DTLS or specify the reverse if we want to
> protect also DCCP headers by defining IP/UDP/DTLS/DCCP.
> 
> The main argument has been against implementation readiness of this
> solution. I would note that any homegrown solution will also not be
> implemented and available. And there do exist some stack implementations.
> 
> And when it comes to complexity, one will realize that most functions
> are in fact needed anyway.

Just to throw in another abbreviation: MSRP

Isn't MSRP developed for this kind of sessions between users? Is there something in the protocol design that stops it from being p2p?

With MSRP, there's development experience as well as NAT traversal solutions.

/O