Re: [MMUSIC] [Technical Errata Reported] RFC8864 (7805)

Gunnar Hellström <gunnar.hellstrom@ghaccess.se> Thu, 04 April 2024 20:39 UTC

Return-Path: <gunnar.hellstrom@ghaccess.se>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8414BC14F71E for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 13:39:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.431
X-Spam-Level:
X-Spam-Status: No, score=-1.431 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ghaccess.se
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CZSwjbkbTL_F for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 13:39:17 -0700 (PDT)
Received: from smtp.egensajt.se (smtp.egensajt.se [194.68.80.251]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 32AADC14F618 for <mmusic@ietf.org>; Thu, 4 Apr 2024 13:39:15 -0700 (PDT)
Received: from [192.168.1.82] (78-67-177-96-no2814.tbcn.telia.com [78.67.177.96]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: gunnar.hellstrom@ghaccess.se) by smtp.egensajt.se (Postfix) with ESMTPSA id 1D77F405DC for <mmusic@ietf.org>; Thu, 4 Apr 2024 22:39:11 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghaccess.se; s=dkim; t=1712263151; bh=2hfx8T5e2FBr/0ZMU0bcZowIxjX348yZcCj4I36+5mw=; h=Date:Subject:To:References:From:In-Reply-To:From; b=dATQvpITE1dBxGitWZqtjsv/Dvdy5g8KWQ18w/G6krJ9ejQY+a0BInSgOxAz4DPvA s0gJgNqEWQ9bcdZiMQ+A8Ok5uV5+67MCS7tYL435tt5l2uAiAHZz2X5YuyNPvUsfJt nTmPz3bckFSVBeKgJlkDugEAK/kR0NxZW+JX29us=
Message-ID: <0f8ddcb8-d979-490b-b937-703152f18e07@ghaccess.se>
Date: Thu, 04 Apr 2024 22:39:09 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: mmusic@ietf.org
References: <20240209080227.970F611821EC@rfcpa.amsl.com> <171bacd1-0316-46d2-a374-c89ee5d535e1@alum.mit.edu> <AS8PR07MB8069A3A536BA645144D8952493482@AS8PR07MB8069.eurprd07.prod.outlook.com> <ec0fa1c1-f60f-49fb-9c0f-1729e654bdc1@alum.mit.edu> <AS8PR07MB8069B7B98C0E04FDCAF86581934F2@AS8PR07MB8069.eurprd07.prod.outlook.com> <CAL0qLwa4-uzxsqLW5N3ApLzT4zjW7mvLN3Hsj+8XbSsCaxoOow@mail.gmail.com> <AS8PR07MB80697339B02C5C6B14EE910593342@AS8PR07MB8069.eurprd07.prod.outlook.com> <a7328bf8-0258-4dee-8a4c-c59f2c5cea63@alvestrand.no> <AS8PR07MB80693CCD7A91419F27B5DA33933C2@AS8PR07MB8069.eurprd07.prod.outlook.com> <20424435-9be6-4812-92b3-77fed7df0965@alvestrand.no> <AS8PR07MB80698306D249D3F59343F68D933C2@AS8PR07MB8069.eurprd07.prod.outlook.com> <37ba507a-7da7-4ca0-87d3-6c31f507de18@alvestrand.no> <c7959669-874d-4f03-a24e-4499726f4276@alum.mit.edu>
Content-Language: sv, en-GB
From: Gunnar Hellström <gunnar.hellstrom@ghaccess.se>
In-Reply-To: <c7959669-874d-4f03-a24e-4499726f4276@alum.mit.edu>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/_zaMWVzLcxR5-xzc-DKopvo3x0w>
Subject: Re: [MMUSIC] [Technical Errata Reported] RFC8864 (7805)
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Multiparty Multimedia Session Control Working Group <mmusic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mmusic>, <mailto:mmusic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mmusic/>
List-Post: <mailto:mmusic@ietf.org>
List-Help: <mailto:mmusic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mmusic>, <mailto:mmusic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Apr 2024 20:39:22 -0000

Inspired by Harald's indication of the use of negotiated=true in 
CreateDataChannel, I searched for a corresponding possibility in RFC 
8864 to just do the SDP negotiation there and then use the API and DCEP 
to create the channel, with the application remembering the negotiated 
DCSA parameters, and handing over the DCMAP parameters to DCEP that it 
wants for establishing the negotiated channel.

And I found this sentence by the end of the first *-point in 6.5:  " At 
this point, the offerer may use DCEP negotiation [RFC8832] to open data 
channels."  It is hidden after a lot of talking about what to do if the 
answer does not accept the proposed channels, so that one can get the 
impression that the application gives up with SDP negotiation and moves 
to plain DCEP, but now I read it as "the remaining negotiated data 
channels can be established by DCEP and the webRTC API using the 
negotiated=true parameter and the DCMAP attributes collected during the 
SDP negotiation phase". And remembering the DCSA parameters to act on 
between the applications.

If my reading is right, the sentence " At this point, the offerer may 
use DCEP negotiation [RFC8832] to open data channels." should be made 
stand out better from all the negative statements before it.

And a change to read "The offeror may then use DCEP negotiation 
[RFC8832] to open any remaining positively negotiated data channels."

However, I realize that the leading "At this point" may refer to the 
situation just before that, when no offered data channel was accepted. 
The solution may be usable anyway, it seems to me that the 
negotiated=true on the API side is intended for this kind of solution.

A question: There is talk in RFC 8864 about establishing and reusing the 
SCTP association. Can that also be done by WebRTC API calls?

  Regards

Gunnar

Den 2024-04-04 kl. 19:58, skrev Paul Kyzivat:
> Harald,
>
> I'm confused. I thought DCEP was created to support WebRTC usage. It 
> included the even/odd rule, I suppose because the people defining DCEP 
> thought it was needed. RFC8864 was defined for use by a different 
> constituency. *It* included the even/odd rule solely for compatibility 
> with DCEP. Now it seems you are saying that WebRTC can't comply with 
> the even/odd rule so RFC8864 should be revised to remove that.
>
> Are you also asking for DCEP (RFC8832) to remove its even/odd rule? If 
> not, why not?
>
>     Thanks,
>     Paul
>
> On 4/4/24 10:13 AM, Harald Alvestrand wrote:
>> On 4/4/24 15:58, Christer Holmberg wrote:
>>> Hi,
>>>
>>>>> I am not sure what you mean be "pre-agreed data channels", but I was
>>>>> referring to applications that use both DCEP and SDP.
>>>>
>>>> I was specifically referring to datachannels created with the 
>>>> "negotiated"
>>>> flag
>>>> set to "true".
>>>
>>> Gotcha.
>>>
>>> So, you are saying there ARE applications that use both DCEP and SDP
>>> ("negotiated" flag set to "true") to negotiate data channels?
>>
>> Yes. We've seen it used.
>>
>>>
>>>> WebRTC, as currently specified, will ignore all attempts to negotiate
>>>> datachannels using SDP, so those channels can only be created by the
>>>> application parsing the SDP, extracting the information, and calling
>>>> "createDataChannel" with "negotiated" set to true.
>>>
>>> Correct.
>>>
>>>>> Also, your claim that the DCEP odd/even restriction would not 
>>>>> apply for
>>>>> certain cases is (AFAIK) not defined anywhere. Also, I don't 
>>>>> understand why
>>>>> the odd/even restriction would not apply in the case where you 
>>>>> have pre-
>>>>> agreed data channels.
>>>>
>>>> The WebRTC spec, at
>>>> https://w3c.gi/
>>>> thub.io%2Fwebrtc-pc%2F%23dom-rtcdatachannelinit-
>>>> id&data=05%7C02%7Cchrister.holmberg%40ericsson.com%7C3bd0b5c63c86
>>>> 470f330f08dc54a2bc12%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0
>>>> %7C638478305114832628%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLj
>>>> AwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C
>>>> %7C&sdata=HbedMunDcF%2Fvy7YawmqPo%2FFBhqi7kjeflQWO185SXvQ%3
>>>> D&reserved=0, does not
>>>> mention the odd/even rule. For good reason; both ends have to call
>>>> createDataChannel with the same value for "id", so it *has* to 
>>>> "violate"
>>>> the odd/even rule.
>>>
>>> Both endpoints obviously have to use the same "id", but one endpoint 
>>> has to
>>> decide which "id" to use, and when using SDP the idea was to re-use 
>>> the DCEP
>>> odd/even rule.
>>
>> And that re-use is exactly the thing that we can't do.
>>
>>>
>>> I DO agree that the odd/even rule does not work in SDP actpass cases 
>>> (where
>>> the id has to be set before the DTLS roles have been determined), 
>>> and should
>>> be corrected, but I am not sure whether the correction suggested in 
>>> the errata
>>> is the right way.
>>
>> I'm happy to see alternate text suggested. My suggestion was only in 
>> order to have something specific to suggest in order to get rid of 
>> the inappropriate MUST.
>>
>>
>>
>> _______________________________________________
>> mmusic mailing list
>> mmusic@ietf.org
>> https://www.ietf.org/mailman/listinfo/mmusic
>
> _______________________________________________
> mmusic mailing list
> mmusic@ietf.org
> https://www.ietf.org/mailman/listinfo/mmusic

-- 
------------------------------------------------------------
Gunnar Hellström
GHAccess
Gunnar.hellstrom@ghaccess.se
Tel: +46 70 820 42 88