Re: [rtcweb] Last Call: <draft-ietf-rtcweb-data-channel-12.txt> (WebRTC Data Channels) to Proposed Standard

"Wyss, Felix" <Felix.Wyss@inin.com> Fri, 17 October 2014 20:00 UTC

Return-Path: <Felix.Wyss@inin.com>
X-Original-To: rtcweb@ietfa.amsl.com
Delivered-To: rtcweb@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BCE4C1A6FBB for <rtcweb@ietfa.amsl.com>; Fri, 17 Oct 2014 13:00:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qm9ajlKz7EPg for <rtcweb@ietfa.amsl.com>; Fri, 17 Oct 2014 13:00:19 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0063.outbound.protection.outlook.com [65.55.169.63]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4AB681A01FA for <rtcweb@ietf.org>; Fri, 17 Oct 2014 13:00:19 -0700 (PDT)
Received: from CY1PR0501MB1579.namprd05.prod.outlook.com (25.161.161.153) by CY1PR0501MB1578.namprd05.prod.outlook.com (25.161.161.152) with Microsoft SMTP Server (TLS) id 15.0.1054.13; Fri, 17 Oct 2014 20:00:17 +0000
Received: from CY1PR0501MB1579.namprd05.prod.outlook.com ([25.161.161.153]) by CY1PR0501MB1579.namprd05.prod.outlook.com ([25.161.161.153]) with mapi id 15.00.1054.004; Fri, 17 Oct 2014 20:00:17 +0000
From: "Wyss, Felix" <Felix.Wyss@inin.com>
To: Randell Jesup <randell-ietf@jesup.org>, "rtcweb@ietf.org" <rtcweb@ietf.org>
Thread-Topic: [rtcweb] Last Call: <draft-ietf-rtcweb-data-channel-12.txt> (WebRTC Data Channels) to Proposed Standard
Thread-Index: AQHP5CPxgL7/P4TbxUqqTVTHzTRXYJwplZVAgAA1HQCAAKtdYIAADzmAgAAmfQCAAFWsAIAAG4cggAEmdgCAADW+gIAAINaAgAAXDgCAAA+BgIAAIqQAgABN64CAAPELcIABF92AgATZ34CAAJFUwA==
Date: Fri, 17 Oct 2014 20:00:17 +0000
Message-ID: <c4ff2fdcd48f4388b67f3e1ffed8edfe@CY1PR0501MB1579.namprd05.prod.outlook.com>
References: <20141010004836.12666.88765.idtracker@ietfa.amsl.com> <91953101b2634ec69d14e120ea62d929@CY1PR0501MB1579.namprd05.prod.outlook.com> <CABkgnnWE7czWqi4vQRb5d50N2k95joc_Zcvw6w6g7SOjU9b+9g@mail.gmail.com> <03a3bbbc282b4e6d88d587931b46b5f8@CY1PR0501MB1579.namprd05.prod.outlook.com> <57B40110-2F21-4893-B77C-54F46D18567F@lurchi.franken.de> <1DE35922-E890-40C2-87E9-C8C12235920E@phonefromhere.com> <E53B9B7E-37F0-495C-B1BA-DE0A48AC6D73@lurchi.franken.de> <abdfd3ef58dd40028e8d5e2248b5a995@CY1PR0501MB1579.namprd05.prod.outlook.com> <543A5570.7060208@alvestrand.no> <B53499C4-6B51-4E8E-87C2-C8E5C10DBC34@lurchi.franken.de> <543A9E11.2030605@alvestrand.no> <F5C54F5E-C301-4EC7-9536-E43EA3A16863@lurchi.franken.de> <543ABE69.8030104@alvestrand.no> <99078EA5-5FE7-431F-9C70-EEA882F4C3C6@lurchi.franken.de> <E1FE4C082A89A246A11D7F32A95A17828E5DA2AC@US70UWXCHMBA02.zam.alcatel-lucent.com> <71e2b21516cb496eb4d1ad2b26e53a29@CY1PR0501MB1579.namprd05.prod.outlook.com> <543CD1CD.3000001@alvestrand.no> <5440E38F.9070809@jesup.org>
In-Reply-To: <5440E38F.9070809@jesup.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [107.147.12.61]
x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0501MB1578;
x-exchange-antispam-report-test: UriScan:;
x-forefront-prvs: 0367A50BB1
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(164054003)(51704005)(199003)(76576001)(80022003)(99286002)(95666004)(46102003)(122556002)(106116001)(85306004)(93886004)(40100003)(106356001)(74316001)(33646002)(107886001)(77096002)(99396003)(107046002)(120916001)(101416001)(230783001)(86362001)(76482002)(108616004)(54356999)(92566001)(76176999)(50986999)(4396001)(85852003)(87936001)(31966008)(2656002)(105586002)(97736003)(21056001)(20776003)(66066001)(2501002)(64706001)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0501MB1578; H:CY1PR0501MB1579.namprd05.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: inin.com
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/ZkuzkGIvVbxtSsBFQ-zPR-yYHF8
Subject: Re: [rtcweb] Last Call: <draft-ietf-rtcweb-data-channel-12.txt> (WebRTC Data Channels) to Proposed Standard
X-BeenThere: rtcweb@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 17 Oct 2014 20:00:22 -0000

> > I now see a tradeoff between allowing such non-mapping boxes
> > (operating below the SCTP layer but above the DTLS layer in our model)
> > and avoiding additional complexity (either extending DCEP with glare
> > resolution - something it was designed to avoid needing - or requiring
> > such boxes to not use actpass).
> 
> I'll note that not only does it have to sit between the SCTP and DTLS layers,
> but also it has to be the offerer to both sides as well. 

This is a problem even if the middlebox is the answerer on one side and the offerer on the other (relay).  As offerer it cannot control what role it will play without violating RFC#5763.  As Indicated in my response to Harald from the 15th, I do not believe allowing the offerer to offer anything but actpass to be a desirable approach.  


> While certainly there are some use-cases for that, it's by no means the common case.  
> WebRTC applications designed to work with such a midpoint may need to fall back on
> "external" negotiation, perhaps running a short sequence at opening time to
> decide who will get even and odd (assuming that both sides actually open
> channels dynamically).
> It means you may not be able to drop such a middlebox (and have it initiate
> offers to both sides) without a cooperative application (or one known to
> have a compatible usage patter) - but likely you need some level of known
> compatibility anyways, or more likely the entity deploying the middlebox also
> deploys or chooses the application - especially as we've explicitly said that
> signaling protocols and transmission (i.e. sending the offer, etc) is explicitly
> not defined by the WG, so the middlebox, in order to generate the offers to
> both sides
> *must* be in bed somehow with the applications - at least to where they all
> agree on signaling.

Well, then why not leave the ID generation and conflict resolution completely up to the application?   That takes the DTLS role hack out of the picture too.  Of course, leaving it to the application how it determines the ID risks that poorly written applications just pick it at random or some other criteria and don't worry about collisions ("well, it worked in my tests").  


> > I agree that the DTLS hack is ugly. But glare resolution is ugly too.
> 
> Quite so.  We had glare resolution in earlier versions. It sucked and caused
> lots of problems, especially with 0-rtt opens.
> 
> While DTLS role isn't wonderful, neither was anything else proposed.
> Offerer/answerer status has the same problem.  

Even the offerer/answerer role would be better than the DTLS role.  At least that would work in the case where the middlebox relays the offer and answer.  I think that's still too limiting as I'd rather allow the middlebox to be offerer on both sides, but I'll take it over the DTLS hack any day :-)


> An SDP parameter would
> allow a middlebox to specify to the endpoints compatible (complementary)
> values; however from a DataChannels perspective, this is almost the same as
> external negotiation if the middlebox and applications are 'matched'.

If in-band negotiation and collision resolution is not an option, adding an SDP attribute would be my second choice.  If it's not present, use offerer/answerer role. 


Thanks,
--Felix