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

Bernard Aboba <bernard.aboba@gmail.com> Thu, 04 April 2024 14:18 UTC

Return-Path: <bernard.aboba@gmail.com>
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 4A64CC15198F for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 07:18:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 KIs9aMTn8wDb for <mmusic@ietfa.amsl.com>; Thu, 4 Apr 2024 07:18:19 -0700 (PDT)
Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) (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) by ietfa.amsl.com (Postfix) with ESMTPS id 16CD1C14F60C for <mmusic@ietf.org>; Thu, 4 Apr 2024 07:11:11 -0700 (PDT)
Received: by mail-pl1-x62e.google.com with SMTP id d9443c01a7336-1e27f800ad0so7320165ad.1 for <mmusic@ietf.org>; Thu, 04 Apr 2024 07:11:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712239870; x=1712844670; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=O1dpcl4o/3bwS29yyDu8oauGW+hhO2YMDlpQAu9Y2ys=; b=FA0Xa7HnGhSjXDEebPkqrdIuXlQrplX16mELCjw4A6zhnOCzd+5nwOtw4HVgZY7BKc CmG1zvYCaafgOKQPu8uMjdI971mhS5aL+W87/i6UXt9sv7DBcAN4Jbo05sSyjwgWF9b7 HhMK3O/+1cNa2jHS7Y9XorO0xx1nzEmnifL9ZjRRb79/FI0yipIDios07fUOJxBMy7Y8 7sMO/oUI0fNi6mQhMoatI9ZmVjYlTJRKMh+BFLMvvhFVVz5nd+0s1WIz3WxMGcBH4VnN x9QzDD0GYT6kmwPwYzeJSh5DTqFD0u7KxmHQfbdXYvmqZO2gCQmK+56U3y1W4aaqH7mW IFig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712239870; x=1712844670; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=O1dpcl4o/3bwS29yyDu8oauGW+hhO2YMDlpQAu9Y2ys=; b=HfDN1/eyFsX1xE98CxOVjzDsDPvj9vQtxjIAcQ1g+VgVfX9A0AANGKPN7TWFF7e1X0 M6TQTOHX1+2Csn+dLnnvz1xMIwgMg6NTaH41zci/NuhNIdaKD5oAHjpyA08oRLW8angD FoWkUS0hehEKSQlDvSihzNcHPgXmr+RxKcZJ5uilN2jLwcGZxHO6s1357p20Y4ODYinq klEUhB27M614rEsGD+J6kQdR0JmnDkGvJs4fU6xD03qB/B9lfAauJXwyAtHg4azdKmmO Tw+rJI8/qeQgyW4GQZfPYWTAT4dVpH/eH/lwu4qh8nB01gdS2FVkLNL/r9a6aHw556l5 gjxg==
X-Forwarded-Encrypted: i=1; AJvYcCV+BAwLcv2/D5Qyf4xLahmDbrAHHmwjtj2oFH+OCqvp+7HC5EfwOihIflypE7ZF1UFO74XudFcvPO/JPuB3bxU=
X-Gm-Message-State: AOJu0Yw9RXHlqe19laHjLQ0NXM90oTfvhaDNlqlv69IR0BcGEzyVK2e/ EiddZof8SfRr2v5ZKj562Wrn10VhHgS7+olxckTjGijWCiCYyTPsoVL5nO4Rwhjv+wGAzsqNc39 +wKRfOIp2TZXiIsuFJ6Wu+z3oicQ=
X-Google-Smtp-Source: AGHT+IHhcv7P9xy8IyqKIVSeML91j7WVrC4Pv43iVs5YyWFX1dkJmUyaijpLAKi0vFtjGJEwotbdeU4EJNzUpiguEEQ=
X-Received: by 2002:a17:90a:e392:b0:2a2:8250:b5d5 with SMTP id b18-20020a17090ae39200b002a28250b5d5mr2425128pjz.18.1712239869542; Thu, 04 Apr 2024 07:11:09 -0700 (PDT)
MIME-Version: 1.0
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>
In-Reply-To: <20424435-9be6-4812-92b3-77fed7df0965@alvestrand.no>
From: Bernard Aboba <bernard.aboba@gmail.com>
Date: Thu, 04 Apr 2024 07:11:00 -0700
Message-ID: <CAOW+2dtnwcKsx+rjHugoAnLCkKAJ48E6n2KerjO5J=cDZETXSQ@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: Christer Holmberg <christer.holmberg@ericsson.com>, "mmusic@ietf.org" <mmusic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000031cbe8061545e998"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/WdAAdc0gUeitlOyE7_DSPq8nUxk>
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 14:18:24 -0000

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%2Fmailman%2Flistinfo%2Fmmusic&data=05%7C02%7Cchrister.holm
> >> ber
> >>>
> >> g%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%2Fmailman%2Flistinfo%2Fmmusic&data=05%7C02%7Cchrister.holm
> >> berg%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
>