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

Gunnar Hellström <gunnar.hellstrom@ghaccess.se> Thu, 04 April 2024 15:04 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 4D2D7C14F6B2 for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 08:04:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.43
X-Spam-Level:
X-Spam-Status: No, score=-6.43 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, RCVD_IN_DNSWL_HI=-5, 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=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 HH51l-ZySdHL for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 08:04:05 -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 E7EB3C14F71B for <mmusic@ietf.org>; Thu, 4 Apr 2024 08:03:57 -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 4DA97406B6; Thu, 4 Apr 2024 17:03:54 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ghaccess.se; s=dkim; t=1712243034; bh=aE+Q8Xoe6TsKt+wK4ZyZGb1nXuZau1GOKOCvavGry0I=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=jYudj+u20+1vj0pOHoRvJmZrkgEaZ5XnW0R9FcMo66QFYS+Pq9TvhyBYiqLVm4pRv eSq9+hL9Gl5v1SIr9bYHZPrlcInrytWgbOHp82hIt8Q8pwkmiETEFdmDXg5pTGusjW 6nmlpezqQaomgshUCM/9gIz08SzLwQLKLczssFAc=
Content-Type: multipart/alternative; boundary="------------7xOACSLXyUumwcwQn0ghKaJa"
Message-ID: <4075a6b5-8f36-4ee0-ae1e-95f5da94cd6a@ghaccess.se>
Date: Thu, 04 Apr 2024 17:03:52 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: Bernard Aboba <bernard.aboba@gmail.com>, Harald Alvestrand <harald@alvestrand.no>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "mmusic@ietf.org" <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> <CAOW+2dtnwcKsx+rjHugoAnLCkKAJ48E6n2KerjO5J=cDZETXSQ@mail.gmail.com>
Content-Language: sv, en-GB
From: Gunnar Hellström <gunnar.hellstrom@ghaccess.se>
In-Reply-To: <CAOW+2dtnwcKsx+rjHugoAnLCkKAJ48E6n2KerjO5J=cDZETXSQ@mail.gmail.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/ulHFbQRSsG1VYKA4yjF5sAdqfjI>
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 15:04:11 -0000

This discussion looks promising. I would like to see two sequences of 
actions for successful use of the data channel for the subprotocol 
"t140",  one by use of SDP plus the WebRTC API, and one only using only 
the WebRTC API.   Plus an indication of what was needed to be done in 
the case with SDP that is different from what RFC 8864/8865 results in.  
And a discussion if anything special needs to be done for any collision 
case.

Bernard, yes RFC 8865 is mentioned in ETSI drafts, and I would like to 
see this issue sorted out before this draft goes for approval.

RFC 8865 is also mentioned as the WebRTC solution for RTT in RFC 9248.

Regards

Gunnar

Den 2024-04-04 kl. 16:11, skrev Bernard Aboba:
> Harald said:
>
> "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."
>
> [BA] This is the biggest problem with RFC 8864/8865, because it is 
> being represented in ETSI mandates as a "WebRTC datachannel standard" 
> when in fact, it is incompatible with WebRTC datachannel 
> implementations and cannot be implemented in browsers. Yet it was 
> published as a  "Proposed Standard" even though the "real" RTCWEB 
> protocol specifications required implementation and demonstrated 
> interoperability prior to publication.
>
> On Thu, Apr 4, 2024 at 5:28 AM Harald Alvestrand 
> <harald@alvestrand.no> wrote:
>
>     On 4/4/24 12:03, 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
>     (https://w3c.github.io/webrtc-pc/#dom-rtcdatachannelinit-negotiated)
>     set
>     to "true".
>
>     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.
>
>     >
>     > 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.github.io/webrtc-pc/#dom-rtcdatachannelinit-id, 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.
>
>     > You still want to avoid stream ID collisions when using DCEP -
>     > no matter if you have pre-agreed data channels or not.
>
>     Of course. This is detailed in
>     https://www.rfc-editor.org/rfc/rfc8832#section-6 - "The peer that
>     initiates opening a data channel selects a stream identifier for
>     which
>     the corresponding incoming and outgoing streams are unused. "
>
>     And: "If the DATA_CHANNEL_OPEN message doesn't satisfy the conditions
>     above, the receiver MUST close the corresponding data channel
>     using the
>     procedure described in [RFC8831] and MUST NOT send a DATA_CHANNEL_ACK
>     message in response to the received message. This might occur if, for
>     example, a DATA_CHANNEL_OPEN message is received on an already used
>     stream...."
>
>     All this is well defined. RFC 8864 is wrong.
>
>     >
>     > Regards,
>     >
>     > Christer
>     >
>     >> -----Original Message-----
>     >> From: mmusic <mmusic-bounces@ietf.org> On Behalf Of Harald
>     Alvestrand
>     >> Sent: Thursday, 4 April 2024 8.38
>     >> To: mmusic@ietf.org
>     >> Subject: Re: [MMUSIC] [Technical Errata Reported] RFC8864 (7805)
>     >>
>     >> Yes, there are applications that both establish pre-agreed
>     datachannels and
>     >> use DCEP. For those cases, the odd/even restriction does not
>     apply; it is up
>     >> to
>     >> the application to rendezvous properly.
>     >>
>     >> This erratum removes the incorrect claim that SDP-negotiated
>     channels are
>     >> capable of obeying the odd/even rule, bringing SDP-negotiated
>     channels in
>     >> line with the rules for pre-agreed datachannels.
>     >>
>     >> Harald
>     >>
>     >>
>     >> On 3/27/24 11:48, Christer Holmberg wrote:
>     >>> Hi,
>     >>>
>     >>>>>>> The issues (AFAIU) is when the offerer sends the *initial*
>     offer,
>     >>>>>>> with ACTPASS, and creates one or more data channels using
>     SDP. At
>     >>>>>>> that point the offerer does not yet know whether it will
>     become
>     >>>>>>> DTLS client or server, but it still has to assign
>     identifiers (odd
>     >>>>>>> or even) to the data channels.
>     >>>>>>
>     >>>>>> Good point. At that point there should be no risk of
>     conflict with
>     >>>>>> DCEP.
>     >>>>>> Maybe a revision is needed to deal with that.
>     >>>>>
>     >>>>> Yes.
>     >>>>>
>     >>>>> And, if DCEP is then later used to create another data
>     channel, it
>     >>>>> needs to make sure that it does not re-use the same
>     identifier (no
>     >>>>> matter if it is odd or even).
>     >>>>>
>     >>>>>>> Once the DTLS roles have been determined, the DCEP rules
>     work fine
>     >>>>>>> also for SDP.
>     >>>>>>>
>     >>>>>>> (Personally I have never seen a use-case where both DCEP
>     and SDP
>     >>>>>>> are used to create and manage data channels.)
>     >>>>>>
>     >>>>>> It is hard to envision a use case for it. But as I recall
>     we were
>     >>>>>> trying to avoid precluding it. One alternative would be for
>     the SDP
>     >>>>>> negotiation to include the choice of either DCEP or SDP for
>     >>>>>> negotiating data channels.
>     >>>>>> But
>     >>>>>> could that be done in a backward compatible way?
>     >>>
>     >>> The usage of dcmap does indicate such choice in my opinion.
>     >>>
>     >>> But, again, I cannot guarantee that there are no
>     implementation that
>     >>> use both SDP and DCEP within the same session.
>     >>>
>     >>>>>> If we were able to verify that there is currently no
>     concurrent use
>     >>>>>> in the wild then perhaps we could amend to say that use of
>     SDP to
>     >>>>>> negotiate data channels precludes use of DCEP.
>     >>>>>
>     >>>>> It is difficult to verify that.
>     >>>>>
>     >>>>> But, as discussed above, if we say that in case of ACTPASS the
>     >>>>> offerer can choose either an odd or even value.
>     >>>>
>     >>>> It sounds to me like this is something you'd want to discuss
>     should a
>     >>>> -bis document ever become a reality, but not confirm the erratum
>     >>>> as-is.  Is that correct?  If so, then we want "Hold For Document
>     >>>> Update" rather than "Verified" for this one, correct?
>     >>>
>     >>> We can discuss whether we should fix this using a -bis or an
>     erratum.
>     >>>
>     >>> But, the current erratum should not be agreed in its current form.
>     >>>
>     >>> I think the first thing we need to do is how the solution
>     would look
>     >>> like: the easiest solution would be to simply that say:
>     >>>
>     >>> 1)  If one uses SDP one SHOULD/MUST NOT use DCEP
>     >>> 2)  Remove the even/odd requirement when using SDP (at least when
>     >> using
>     >>> ACTPASS)
>     >>>
>     >>> Regards,
>     >>>
>     >>> Christer
>     >>>
>     >>>
>     >>> _______________________________________________
>     >>> mmusic mailing list
>     >>> mmusic@ietf.org
>     >>>
>     >>
>     https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.
>     >>>
>     >> ietf.org
>     <http://ietf.org>%2Fmailman%2Flistinfo%2Fmmusic&data=05%7C02%7Cchrister.holm
>     >> ber
>     >>>
>     >> g%40ericsson.com
>     <http://40ericsson.com>%7Cb1e38f9c6c404579285108dc54696c5c%7C92e84cebfb
>     >> fd47ab
>     >>>
>     >> be52080c6b87953f%7C0%7C0%7C638478058969825780%7CUnknown%7CT
>     >> WFpbGZsb3d8
>     >>>
>     >> eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
>     >> D%7C0
>     >>>
>     >> %7C%7C%7C&sdata=2F2msSXLsc9axwanuxC7N4%2B6w%2FwYD4cv9NqjTm3f
>     >> OsE%3D&res
>     >>> erved=0
>     >>
>     >> _______________________________________________
>     >> mmusic mailing list
>     >> mmusic@ietf.org
>     >>
>     https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.i
>     >> etf.org
>     <http://etf.org>%2Fmailman%2Flistinfo%2Fmmusic&data=05%7C02%7Cchrister.holm
>     >> berg%40ericsson.com
>     <http://40ericsson.com>%7Cb1e38f9c6c404579285108dc54696c5c%7C92e84ce
>     >> bfbfd47abbe52080c6b87953f%7C0%7C0%7C638478058969838191%7CUnkn
>     >> own%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik
>     >> 1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=1xdEPMYo26r5ZizOpgZ
>     >> UB%2Fs34kJB3PqN%2B4KcydN6LTQ%3D&reserved=0
>
>     _______________________________________________
>     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