Re: [MMUSIC] Changes for draft-ietf-mmusic-trickle-ice-sip-14 - ABNF

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 09 May 2018 07:37 UTC

Return-Path: <christer.holmberg@ericsson.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 234FF12DA24 for <mmusic@ietfa.amsl.com>; Wed, 9 May 2018 00:37:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.311
X-Spam-Level:
X-Spam-Status: No, score=-4.311 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
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 t8ggmb6D0b6w for <mmusic@ietfa.amsl.com>; Wed, 9 May 2018 00:37:31 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11DB7126C3D for <mmusic@ietf.org>; Wed, 9 May 2018 00:37:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1525851449; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:CC:MIME-Version:Content-Type: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=YNtFkAeQepmQEbgsCmYDL4DhunS8Alp7ci19h9ZuPv8=; b=fl9a3X8/w/iPQemY0hzfaaHuAHDTxxK+Rj7uTD6rvYtqOfEY+C/aGqhcgnLj4i7G a5eeAhMRb89kbAk4IfRTMjTzsolZdbNrd0eN0I+5ZLuqlP/Al/6r2S07P9MGuPpQ tSk6ccl9cmleKG2d2dI+BRcXM38Vl6sy9KK6g2hlEqE=;
X-AuditID: c1b4fb30-678de9c000006e0c-9e-5af2a539af46
Received: from ESESSHC002.ericsson.se (Unknown_Domain [153.88.183.24]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id F3.66.28172.935A2FA5; Wed, 9 May 2018 09:37:29 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.34]) by ESESSHC002.ericsson.se ([153.88.183.24]) with mapi id 14.03.0382.000; Wed, 9 May 2018 09:37:28 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, Thomas Stach <thomass.stach@gmail.com>, MMUSIC <mmusic@ietf.org>
CC: "mmusic-chairs@ietf.org" <mmusic-chairs@ietf.org>, "draft-ietf-mmusic-trickle-ice-sip@ietf.org" <draft-ietf-mmusic-trickle-ice-sip@ietf.org>
Thread-Topic: Changes for draft-ietf-mmusic-trickle-ice-sip-14 - ABNF
Thread-Index: AQHT5WhyHHiJ+IalFEadngk11qyzBaQkNJQAgAA/qgCAADTD8IABFT4AgAFZr4A=
Date: Wed, 09 May 2018 07:37:28 +0000
Message-ID: <D7187F7E.2F691%christer.holmberg@ericsson.com>
References: <d39c9615-ad46-a840-fd02-9a3eac4b53a9@gmail.com> <D7161134.2F512%christer.holmberg@ericsson.com> <919f4302-29b2-3f48-ffef-aab290bb6e96@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EB88D8@ESESSMB109.ericsson.se> <1a40c0ef-bd40-9256-2c6d-247d2e06f4ac@alum.mit.edu>
In-Reply-To: <1a40c0ef-bd40-9256-2c6d-247d2e06f4ac@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/14.7.7.170905
x-originating-ip: [131.160.50.130]
Content-Type: text/plain; charset="utf-8"
Content-ID: <27231F4EE8778546B7458858EAF54E45@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrEIsWRmVeSWpSXmKPExsUyM2K7hK7l0k9RBq3bJSx+rF3ObHF+53om i6nLH7NYrNhwgNXi04mtTA6sHn/ff2Dy2DnrLrvHkiU/mQKYo7hsUlJzMstSi/TtErgyvv3x KTilX3Fhaw9zA+MavS5GTg4JAROJR/9uMnUxcnEICRxhlPh4/jUbhLOIUWL3uSfsXYwcHGwC FhLd/7RBGkQEciSOvJwA1sAsMIVR4s3sBmaQhLCAi8SHm2eYIIpcJdZN+8IGYftJvN96hRHE ZhFQkVjfugcszitgLXHn3BVWiGWzmSRmP13FCpLgFHCQONe6H6yBUUBM4vupNWBDmQXEJW49 mc8EcbaAxJI955khbFGJl4//gfWKCuhJbDhxG+xoCQElidsbnEBMZgFNifW79CGmWEucvvmf FcJWlJjS/ZAd4hxBiZMzn7BMYBSfhWTZLITuWUi6ZyHpnoWkewEj6ypG0eLU4qTcdCMjvdSi zOTi4vw8vbzUkk2MwJg8uOW3wQ7Gl88dDzEKcDAq8fCeXPgpSog1say4MvcQowQHs5IIr6wx UIg3JbGyKrUoP76oNCe1+BCjNAeLkjivhd/mKCGB9MSS1OzU1ILUIpgsEwenVAMjs8RDflGl 3zIHuYJqS2Z9D+eaf81WrmrRZLd1/x6dWKM+7S9D8rkZnx1Vas2vNZmsbXNTOftHe6nNQp2O X86nGP0FkvIeff7cuOafyy6LohKF35bC02RWfLO1O7D4xMmY6NMhQhs8OJM7zt2pqWh1W6Lu fXhhnGVtz8fT8mWh7X8tNt7sf/9fiaU4I9FQi7moOBEAiS8n8sUCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/Irm0Wx9NOCnWaKV3ih3JpXKM6TI>
Subject: Re: [MMUSIC] Changes for draft-ietf-mmusic-trickle-ice-sip-14 - ABNF
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 09 May 2018 07:37:33 -0000

Hi,

>>I hope Paul can jump in on this one too, since it’s ABNF related :)
>
>I've been doing my best to ignore these drafts. :-)
>
>I'll have to do some reading for context. Just looking at this thread in
>isolation my first thought is that this seems to be defining a new
>attribute with the definition including the "a=" which we are really
>trying to avoid.

It is not defining a new attribute per se, but it is defining the usage of
the attribute within the ‘application/trickle-sdp-sdpfrag’ message body.

Regards,

Christer






>>>> However, I think there are some issue with the ABNF (not related to
>>>>Adam¹s
>>>> issue).
>>>>
>>>> For example, the syntax says:
>>>>
>>>>    ice-pwd-attribute      = %s"a" "=" ice-pwd-att
>>>>
>>>> Then the draft says:
>>>>
>>>>    with ice-pwd-attribute from [I-D.ietf-mmusic-ice-sip-sdp],
>>>
>>> which says
>>>
>>> ice-pwd-att           = "ice-pwd:" password
>>> i.e. doesn't introduce a second a=
>> 
>> First, I think the structure in draft-ice-sip-sdp is wrong. It shall be
>>something like:
>> 
>>        Attribute Name: ice-pwd
>> 
>>        Attribute Value: ice-pwd-att
>> 
>>        Usage Level: media
>> 
>>        Charset Dependent: No
>> 
>>        Mux Category: TBD
>> 
>>      The Augmented BNF syntax [RFC5234] for the attribute is:
>> 
>>        ice-pwd-att = password
>>        password = blah blah...
>> 
>> Now, whether we should use that syntax also in trickle-ice I don't
>>know. I would like to hear Paul's opinion.
>> 
>>>> In my reading, this would result in:
>>>>
>>>>    a=a=ice-pwd:asd88fgpdd777uzjYhagZg
>>>>
>>>> Is this what you want?
>>>
>>> No, and with the above syntax we do not get the a=a=
>>>
>>>> If you want to use the syntax of draft-ietf-mmusic-ice-sip-sdp, why
>>>>not do
>>>> it directly? Something like:
>>>>
>>>> session-level-field = ice-pwd-att /
>>>>                        Š
>>>>                        Š
>>>>
>>>> ;ice-pwd-att as defined in [I-D.ietf-mmusic-ice-sip-sdp]
>>>>
>>>> Or, have I missed something?
>>>
>>> The trickle-ice-sdpfrag syntax uses just a subset of SDP attributes
>>>and isn't  build as open as  the SDP syntax , the above doesn't work.
>> 
>> I am not suggesting an open SDP syntax - I am suggesting the reference
>>the specific syntax for the ice-pwd attribute.
>> 
>> Regards,
>> 
>> Christer
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> On 06/05/18 21:31, "Thomas Stach" <thomass.stach@gmail.com> wrote:
>> 
>> All,
>> 
>> during IESG review we got the below proposal by Adam for changing the
>> ABNF to allow for more encoding flexibility.
>> 
>> Unless somebody objects, I'd provide the proposed change by end of the
>> week.
>> 
>> It would affect the "session-level-fields" as proposed below and in a
>> similar way the  "pseudo-media-descriptions" and
>> "trickle-ice-attribute-fields"
>> 
>> Excerpt from Adam'S IESG review:
>> 
>> §9.2:
>> 
>> The syntax for "session-level-fields", "pseudo-media-descriptions", and
>> "trickle-ice-attribute-fields" include extremely strict rules around
>> ordering of
>> fields (e.g., including ice-ufrag before ice-pwd would be syntactically
>> invalid). That level of strictness seems unlikely to lead to
>>interoperable
>> implementations.
>> 
>> If the intention is to be rigid in this fashion, please add prominent
>> prose
>> that warns implementors that fields MUST appear in the order specified,
>> and
>> that all other orders are invalid and MUST be rejected.
>> 
>> If that's *not* your intention (and I suspect it isn't), then please fix
>> the
>> syntax definition to allow for arbitrary ordering of attributes in the
>> same way
>> as SDP does. For example:
>> 
>>       session-level-fields = *(session-level-field CRLF)
>> 
>>       session-level-field = bundle-group-attribute /
>>                             ice-lite-attribute /
>>                             ice-pwd-attribute /
>>                             ice-ufrag-attribute /
>>                             ice-options-attribute /
>>                             ice-pacing-attribute /
>>                             end-of-candidates-attribute /
>>                             extension-attribute-fields
>>                                    ; for future extensions
>> 
>> 
>> Regards
>> 
>> Thomas
>> 
>> 
>> 
>> 
>