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

Randell Jesup <randell-ietf@jesup.org> Fri, 17 October 2014 09:39 UTC

Return-Path: <randell-ietf@jesup.org>
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 9D79C1AC3AB for <rtcweb@ietfa.amsl.com>; Fri, 17 Oct 2014 02:39:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_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 F7sICFkYFHlm for <rtcweb@ietfa.amsl.com>; Fri, 17 Oct 2014 02:39:13 -0700 (PDT)
Received: from relay.mailchannels.net (aso-006-i443.relay.mailchannels.net [23.91.64.124]) by ietfa.amsl.com (Postfix) with ESMTP id C5F131AC3AA for <rtcweb@ietf.org>; Fri, 17 Oct 2014 02:39:12 -0700 (PDT)
X-Sender-Id: wwwh|x-authuser|randell@jesup.org
Received: from r2-chicago.webserversystems.com (ip-10-237-13-110.us-west-2.compute.internal [10.237.13.110]) by relay.mailchannels.net (Postfix) with ESMTPA id 88874100678 for <rtcweb@ietf.org>; Fri, 17 Oct 2014 09:39:10 +0000 (UTC)
X-Sender-Id: wwwh|x-authuser|randell@jesup.org
Received: from r2-chicago.webserversystems.com (r2-chicago.webserversystems.com [10.216.27.60]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.3.1); Fri, 17 Oct 2014 09:39:11 GMT
X-MC-Relay: Neutral
X-MailChannels-SenderId: wwwh|x-authuser|randell@jesup.org
X-MailChannels-Auth-Id: wwwh
X-MC-Loop-Signature: 1413538750860:2198046507
X-MC-Ingress-Time: 1413538750753
Received: from pool-71-175-4-200.phlapa.fios.verizon.net ([71.175.4.200]:62730 helo=[192.168.1.12]) by r2-chicago.webserversystems.com with esmtpsa (TLSv1:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from <randell-ietf@jesup.org>) id 1Xf404-0003f8-NZ for rtcweb@ietf.org; Fri, 17 Oct 2014 04:39:08 -0500
Message-ID: <5440E38F.9070809@jesup.org>
Date: Fri, 17 Oct 2014 05:38:23 -0400
From: Randell Jesup <randell-ietf@jesup.org>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: rtcweb@ietf.org
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>
In-Reply-To: <543CD1CD.3000001@alvestrand.no>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AuthUser: randell@jesup.org
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/3-nNbewDy1_vjVAOLIEoPdzXWdI
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 09:39:15 -0000

On 10/14/2014 3:33 AM, Harald Alvestrand wrote:
> On 10/13/2014 07:02 PM, Wyss, Felix wrote:
>
>> They would only see it as a peer if it were a full B2B user agent.  As an example, in VoIP the endpoints do not consider an SBC as a peer--yet it sits in the middle and may inspect the media passing through it.
>>
>> With respect to DCEP: If we already define a protocol for establishing the channels in-band, why not make ID selection and conflict resolution an explicit part of it?  That certainly would beat the IMHO rather distasteful DTLS role hack.
> When rethinking this, I've come to the conclusion that my original
> conclusion (that there couldn't possibly be a point in preserving
> channel numbers across a relay) was probably wrong. Please consider that
> withdrawn.
>
> 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.  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.

> 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.  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'.

-- 
Randell Jesup -- rjesup a t mozilla d o t com