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

"Wyss, Felix" <Felix.Wyss@inin.com> Sun, 26 October 2014 23:33 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 525991A1B13 for <rtcweb@ietfa.amsl.com>; Sun, 26 Oct 2014 16:33:41 -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, 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 TqJHR7ZKn8l5 for <rtcweb@ietfa.amsl.com>; Sun, 26 Oct 2014 16:33:39 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0631.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::631]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 343281A1AE5 for <rtcweb@ietf.org>; Sun, 26 Oct 2014 16:33:39 -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.1.6.9; Sun, 26 Oct 2014 23:33:16 +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.01.0006.000; Sun, 26 Oct 2014 23:33:15 +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+BgIAAIqQAgABN64CAAPELcIABF92AgATZ34CAAJFUwIABmHeAgAP3gnCAAAy6AIAAzlPggAAhVICAB+c40A==
Date: Sun, 26 Oct 2014 23:33:15 +0000
Message-ID: <31789418b51e463dba22d83f7ea342f3@CY1PR0501MB1579.namprd05.prod.outlook.com>
References: <20141010004836.12666.88765.idtracker@ietfa.amsl.com> <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> <c4ff2fdcd48f4388b67f3e1ffed8edfe@CY1PR0501MB1579.namprd05.prod.outlook.com> <5442B41D.6040307@jesup.org> <514191b6e7 764d30be7ea17d324d8739@CY1PR0501MB1579.namprd05.prod.outlook.com> <AE750B7B-A920-4ECF-8E35-F0E583CD65A9@phonefromhere.com> <46b327b5be5a4fbcb508f664aea6cba2@CY1PR0501MB1579.namprd05.prod.outlook.com> <5446DBB1.7090801@jesup.org>
In-Reply-To: <5446DBB1.7090801@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;
inin-custom-wld: WL-D
x-forefront-prvs: 0376ECF4DD
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(51704005)(199003)(189002)(164054003)(106356001)(66066001)(80022003)(46102003)(106116001)(99286002)(105586002)(4396001)(95666004)(99396003)(74316001)(40100003)(122556002)(107886001)(20776003)(107046002)(64706001)(108616004)(85306004)(93886004)(76482002)(87936001)(85852003)(77096002)(92566001)(76176999)(86362001)(101416001)(120916001)(33646002)(2501002)(76576001)(50986999)(54356999)(21056001)(31966008)(230783001)(97736003)(2656002)(24736002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0501MB1578; H:CY1PR0501MB1579.namprd05.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX: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/O1mER6IB5WAVAZwRCPTgDMNYO6Q
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: Sun, 26 Oct 2014 23:33:41 -0000

> I had a suspicion that this was the intended use-case - and it's a real use-case
> for certain applications/industries.
> 
> So, for those applications (remembering that webrtc applications are not
> random external devices, but basically code linked to the usage) just either
> use pre-defined or external negotiation for channel assignments, or
> implement *in the application* allocation-choosing strategy.  Such as:
> 
> middlebox: offer to A and B (actpass)
> A: accept (active)
> B: accept (active)
> ok, now both are on the same "evenness"
> both statically open (pre-defined) channel 0 always Both send a random
> token value The side with the lower random value is even, and the other is
> odd All channel allocations are preceeded by message on channel 0 that
> amounts to an "I'm opening channel N with these params" that takes the
> place of DCEP Encapsulate this behavior in some simple functions that take
> the place of the default createDataChannel()/etc
> 
> There are other solutions of course for glare resolution.  If you want, if the
> two sides chose the opposite evenness, you just leave createDataChannel
> alone.  There are a LOT of ways to deal with this at the application level, since
> the application "should" know it's talking to (or may be talking to) a
> middlebox that will decrypt/forward things.

My discomfort and objection is with using the DTLS roles--even if it's just as default.  Why can't we either leave it up to the application to allocate the IDs, suggest some "best practice" approaches, or codify one as the preferred?  I don't feel strongly either way.  All I care about here is that we don't use the DTLS role for anything related to DCEP.  DTLS should just be an opaque transport for the endpoints' SCTP packets.  If we leave the DTLS role as default in the RFC, middleboxes have to worry about it because it's part of the standard.  It doesn't matter that the application _can_ use other means.   If it's in the RFC, it is part of an implied interface contract and 3rd party developers and system integrators will expect it to be supported and work as specified.  

Thanks,
--Felix