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

Gunnar Hellström <gunnar.hellstrom@ghaccess.se> Sat, 13 April 2024 12:30 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 93FB9C14F69E for <mmusic@ietfa.amsl.com>; Sat, 13 Apr 2024 05:30:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.871
X-Spam-Level:
X-Spam-Status: No, score=-1.871 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, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_SOFTFAIL=0.665, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 YdFQYCQBDry7 for <mmusic@ietfa.amsl.com>; Sat, 13 Apr 2024 05:30:50 -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 76DDBC14F5F2 for <mmusic@ietf.org>; Sat, 13 Apr 2024 05:30:48 -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 CCA1D40D12 for <mmusic@ietf.org>; Sat, 13 Apr 2024 14:30:44 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghaccess.se; s=dkim; t=1713011444; bh=up12tnkYeOlikub41EzKOtog6YhBB4UYJTFErmXTivQ=; h=Date:Subject:To:References:From:In-Reply-To:From; b=x141bV07y2NoIfkbbKqVUrEJEUWdae1JZfyOzF858ZVxNOs6kRKMHjttM93E8x7yg lYA7RrAfX79/MuKCOwbF/B8qXbxPep7KuDNUO+skNoOueIzNy3I0Qx8RUvft89ggg3 iFB03Cw4oVXcSNXJ10dhpPyuOrR9khC6ntSkeeu8=
Content-Type: multipart/alternative; boundary="------------0PCxc8B3F4xw2cznUyWSs0Gn"
Message-ID: <4d121e9d-b4e0-41fb-aaf4-5f312b558d94@ghaccess.se>
Date: Sat, 13 Apr 2024 14:30:43 +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> <AS8PR07MB80696A9C5B68B85BC4246DCA93032@AS8PR07MB8069.eurprd07.prod.outlook.com> <6214e088-8177-4503-b179-e62316a9eed1@ghaccess.se> <2f7cab5b-bf75-4932-a56c-d5833859f043@ghaccess.se>
Content-Language: sv, en-GB
From: Gunnar Hellström <gunnar.hellstrom@ghaccess.se>
In-Reply-To: <2f7cab5b-bf75-4932-a56c-d5833859f043@ghaccess.se>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/IU6rxlaocN5mwruK9v0dCktrw5Q>
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: Sat, 13 Apr 2024 12:30:55 -0000

It seems to me that the realistic solution is to separate the SDP 
exchange for the SCTP association from the SDP exchange for the channel 
establishment. Then the same odd/even rule can be used for SDP based 
opening of channels as for DCEP based.

For a simple case it looks less efficient, by requiring two SDP 
exchanges, but it will be similar to when using DCEP.

This can be established by changes in 6. and 6.1

------Sentences to change in 6. ---------------------------------------

The generic offer/answer procedures for negotiating the SCTP association 
used to realize data channels are defined in[RFC8841 
<https://datatracker.ietf.org/doc/html/rfc8841>]. This section only 
defines the data-channel-specific procedures.

¶ <https://datatracker.ietf.org/doc/html/rfc8864#section-6-2>

"Initial offer" refers to the offer in which a data channel is opened. 
It can be either the initial offer or a subsequent offer of the 
associated SDP session.¶ 
<https://datatracker.ietf.org/doc/html/rfc8864#section-6-3>

--------Proposed new wording of 
6.-------------------------------------------------------------------------------------------

The generic offer/answer procedures for negotiating the SCTP association 
used to realize data channels are defined in[RFC8841 
<https://datatracker.ietf.org/doc/html/rfc8841>]. This section only 
defines the data-channel-specific procedures.

¶ <https://datatracker.ietf.org/doc/html/rfc8864#section-6-2>

"Initial offer" refers to the offer in which a data channel is opened. 
*The initial offer SHALL be made after the corresponding SCTP 
Association is established.**¶* 
<https://datatracker.ietf.org/doc/html/rfc8864#section-6-3>


--------------Current wording of 6.1 
---------------------------------------------------------------

In order to avoid SCTP Stream identifier collisions, in alignment 
with[RFC8832 <https://datatracker.ietf.org/doc/html/rfc8832>], the 
endpoint acting as a DTLS client (for the SCTP association used to 
realize data channels)MUSTuse even identifier values, and the endpoint 
acting as a DTLS serverMUSTuse odd identifier values.

SCTP stream identifiers associated with data channels that have been 
negotiated using DCEPMUST NOTbe included in SDP offers and answers.

¶ <https://datatracker.ietf.org/doc/html/rfc8864#section-6.1-2>

-------Proposed new wording of 6.1 ---------------------------------------

In order to avoid SCTP Stream identifier collisions, in alignment 
with[RFC8832 <https://datatracker.ietf.org/doc/html/rfc8832>], the 
endpoint acting as a DTLS client (for the SCTP association used to 
realize data channels)MUSTuse even identifier values*in offers,* and the 
endpoint acting as a DTLS serverMUSTuse odd identifier values *in 
offers*. *The answers SHALL have the same identifier values as in the 
offers.*

SCTP stream identifiers associated with data channels that have been 
negotiated using DCEPMUST NOTbe included in SDP offers and answers.

----------------------------------------------------------------------------------

It should be possible to develop guidelines for implementation of the 
resulting procedures in browser based application.

RFC8864 Annex A describes that other methods for assigning stream ID:s 
than the odd/even rule can be defined for specific applications. So, for 
more efficient channel establishment it can be specified that when DCEP 
is not at all used in the SCTP Association, then the application may 
decide on other ways to decide on the SCTP stream ID:s. Proposals for 
such handling may be added to 6. or 6.1. if the main principle above is 
found suitable.

/Gunnar

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