Re: [rtcweb] Review comments on draft-ietf-rtcweb-data-protocol-03

Magnus Westerlund <magnus.westerlund@ericsson.com> Wed, 14 May 2014 20:30 UTC

Return-Path: <magnus.westerlund@ericsson.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 E3FD01A00FC for <rtcweb@ietfa.amsl.com>; Wed, 14 May 2014 13:30:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 UdsfC-cbR9rG for <rtcweb@ietfa.amsl.com>; Wed, 14 May 2014 13:30:21 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) by ietfa.amsl.com (Postfix) with ESMTP id EB5E21A00C3 for <rtcweb@ietf.org>; Wed, 14 May 2014 13:30:20 -0700 (PDT)
X-AuditID: c1b4fb25-f798c6d000001521-91-5373d255e621
Received: from ESESSHC015.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id B0.BA.05409.552D3735; Wed, 14 May 2014 22:30:13 +0200 (CEST)
Received: from [127.0.0.1] (153.88.183.153) by smtp.internal.ericsson.com (153.88.183.65) with Microsoft SMTP Server id 14.3.174.1; Wed, 14 May 2014 22:30:12 +0200
Message-ID: <5373D254.50804@ericsson.com>
Date: Wed, 14 May 2014 22:30:12 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
MIME-Version: 1.0
To: Michael Tuexen <Michael.Tuexen@lurchi.franken.de>
References: <530B740E.4090707@ericsson.com> <B163D4A9-AC33-454B-8F93-CC619AFB7A6F@lurchi.franken.de> <53160FBB.4070401@ericsson.com> <1904CA30-1112-44D4-8C6F-F15F1EF1BF9B@lurchi.franken.de> <534D566B.3040905@ericsson.com> <FB076F4A-83D9-4109-9FDC-89A4A2712553@lurchi.franken.de> <537239AD.9040000@ericsson.com> <980A88B9-5DBB-4A96-8F3F-4F77D64BE22C@lurchi.franken.de>
In-Reply-To: <980A88B9-5DBB-4A96-8F3F-4F77D64BE22C@lurchi.franken.de>
X-Enigmail-Version: 1.6
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrDLMWRmVeSWpSXmKPExsUyM+JvjW7opeJgg7MnhS1WH97LZnGxaQmj xdp/7ewOzB5Llvxk8tjQsoPJ48vlz2wBzFFcNimpOZllqUX6dglcGXcW/GAs2CVfsfnaYsYG xoOSXYycHBICJhLv931hhLDFJC7cW8/WxcjFISRwlFHi8/Sj7BDOckaJ9oWvWEGqeAU0JU4+ XMYMYrMIqEqcOD0dLM4mYCFx80cjG4gtKhAsseHhX3aIekGJkzOfsIDYIgKmEgeXzwOzmQWi JTpu3gSbIyzgLbFsRSvU5vdMElcungFr5hRwlbh3qwNoAQfQeeISPY1BEL16ElOutjBC2PIS zVtng80REtCWaGjqYJ3AKDQLyepZSFpmIWlZwMi8ilG0OLU4KTfdyFgvtSgzubg4P08vL7Vk EyMwuA9u+a26g/HyG8dDjAIcjEo8vArri4OFWBPLiitzDzFKc7AoifN+ueUTLCSQnliSmp2a WpBaFF9UmpNafIiRiYNTqoFRuIZne93eVWb2ZzbHX92wfvftE3z/NUz0nx/6qy4nVJd4aG9+ ffbkebdV1rXy7WiPmFriXWB0SfLWDfntFyKNrTonrYr3UZVvvVjVxl54+YBJtbhe0LvKTr+D 8xdFL1Kp3Vtg2+u/pYFP7fwViZ8zV03MnrK35+b/sN6LjW+/PJ5ZHWgb0HZNiaU4I9FQi7mo OBEAqOt8IU8CAAA=
Archived-At: http://mailarchive.ietf.org/arch/msg/rtcweb/q-mVT8Y8OnvmDcW7RnQ6pRS2KM8
Cc: draft-ietf-rtcweb-data-protocol@tools.ietf.org, "rtcweb@ietf.org" <rtcweb@ietf.org>
Subject: Re: [rtcweb] Review comments on draft-ietf-rtcweb-data-protocol-03
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: Wed, 14 May 2014 20:30:23 -0000

On 2014-05-13 17:51, Michael Tuexen wrote:
> On 13 May 2014, at 17:26, Magnus Westerlund <magnus.westerlund@ericsson.com> wrote:

>>>>
>>>>>>
>>>>>>>>
>>>>>>>> 2. Section 4:
>>>>>>>>
>>>>>>>> The method
>>>>>>>> used to determine which side uses odd or even is based on the
>>>>>>>> underlying DTLS connection role when used in WebRTC, with the side
>>>>>>>> acting as the DTLS client using even stream identifiers.
>>>>>>>>
>>>>>>>> Isn't this unnecessary using the vague word of WebRTC instead of simply
>>>>>>>> pointing to the DTLS roles of the established data channel?
>>>>>>
>>>>>>> The point is that in the WebRTC you use DCEP/SCTP/DTLS/UDP and therefore
>>>>>>> you can refer to the DTLS role. However, you could use DCEP/SCTP/IP
>>>>>>> or DCEP/SCTP/UDP/IP or DCEP/SCTP over something not involving DTLS.
>>>>>>> In that case DTLS is not used and you can not refer to the DTLS role.
>>>>>>> That is why the restriction is used.
>>>>>>
>>>>>> Ok, if that concern then you still should be able to write a normative
>>>>>> specification under the condition that it is SCTP over DTLS. If not how
>>>>>> do you determine that? Are suggesting just to hand way or point to a
>>>>>> higher signaling layer.
>>>>> So what about using:
>>>>>
>>>>> when using <xref target='I-D.ietf-tsvwg-sctp-dtls-encaps'/>, the method used to
>>>>> determine which side uses odd or even is based on the underlying DTLS
>>>>> connection role: the side acting as the DTLS client MUST use Streams with even
>>>>> SCTP stream identifiers, the side acting as the DTLS server MUST use Streams
>>>>> with odd SCTP stream identifiers.</t>
>>>>
>>>> I think that is fine for when using over DTLS. And to my understanding
>>>> this do require DTLS? If not we need alternative text.
>>
>>> Our current use-case is for SCTP/DTLS. But we don't need DTLS except for
>>> its security properties. However, if someone doesn't use DTLS, he has to
>>> figure out how to determine the even/odd. This is covered by:
>>>
>>> <t>To avoid glare in opening Channels, each side MUST use Streams with 
>>> either even or odd SCTP stream identifiers when sending a DATA_CHANNEL_OPEN
>>> message.
>>> When using <xref target='I-D.ietf-tsvwg-sctp-dtls-encaps'/>, the method used to
>>> determine which side uses odd or even is based on the underlying DTLS
>>> connection role: the side acting as the DTLS client MUST use Streams with even
>>> SCTP stream identifiers, the side acting as the DTLS server MUST use Streams
>>> with odd SCTP stream identifiers.</t>
>>>
>>> However, we can't provide a method in the general case...
>>
>> Yes, as long as you use DTLS it is well specified. The issue I am trying
>> to get my head around is if this specification and the data channel is
>> possible to use without DTLS. This is one of the few (only?) things that
>> requires it beyond the security features. Thus, should this be
>> explicitly noted as saying, if you don't use DTLS you will be required
>> to find an alternative solution to the roles.

> Isn't this be said by the first sentence of the paragraph? It states
> the requirement of having a rule and provides on the second sentence
> such a rule for the case where DTLS is used.
> 

Yes, it does. And I see no risk of this being misunderstood in the
context of WebRTC usage. So I will accept this, but note that this may
be one of these cases where some poor guy will swear over this
specification not being clearer on how to apply it in other contexts.

Cheers

Magnus Westerlund

----------------------------------------------------------------------
Services, Media and Network features, Ericsson Research EAB/TXM
----------------------------------------------------------------------
Ericsson AB                 | Phone  +46 10 7148287
Färögatan 6                 | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden | mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------