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

Christer Holmberg <christer.holmberg@ericsson.com> Thu, 10 May 2018 16:59 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 2CA7512D889 for <mmusic@ietfa.amsl.com>; Thu, 10 May 2018 09:59:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.299
X-Spam-Level:
X-Spam-Status: No, score=-4.299 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=unavailable 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 MnfA8nlodjU6 for <mmusic@ietfa.amsl.com>; Thu, 10 May 2018 09:59:18 -0700 (PDT)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (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 56081126DFB for <mmusic@ietf.org>; Thu, 10 May 2018 09:59:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1525971555; 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=iCB3gSuulb1HFAD93WVXUr9PgoYmD3x0ej6ZeYMUees=; b=AHKdKb6MK4mu8Q0rJoZeW2N+uKG+Q+0WVQ+mwAWyuLT3u0olJnlRTRhHoWoO6quB XVaFGWNU9XH+VmTfFd8RolzPpjNVCcmdHRiClNJOVTfh0HOd+y8njsS9jaLDR9Xo ys77CkNd+f0bTQ80FpPLztSYYtfPkecbcf9PfeYL5ko=;
X-AuditID: c1b4fb25-f8bff700000079fb-06-5af47a636303
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 31.2C.31227.36A74FA5; Thu, 10 May 2018 18:59:15 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.34]) by ESESSHC001.ericsson.se ([153.88.183.21]) with mapi id 14.03.0382.000; Thu, 10 May 2018 18:59:15 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: 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/qgCAADTD8IAC7YAAgABNxcCAANFUAIAAfnrQ
Date: Thu, 10 May 2018 16:59:15 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B72EBE59B@ESESSMB109.ericsson.se>
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> <2950acc1-ab24-ebb4-cc50-1c64193fbe0d@gmail.com> <7594FB04B1934943A5C02806D1A2204B72EBD35F@ESESSMB109.ericsson.se> <d7ad13b7-5d18-8c7c-b93b-f3670cefa70e@gmail.com>
In-Reply-To: <d7ad13b7-5d18-8c7c-b93b-f3670cefa70e@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.165]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B72EBE59BESESSMB109erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrAIsWRmVeSWpSXmKPExsUyM2K7qG5y1Zcog/ZLGhY/1i5ntji/cz2T xdTlj1ksPp3YyuTA4rFz1l12jyVLfjIFMEVx2aSk5mSWpRbp2yVwZbz/tZK9YE5Oxb9TLUwN jDfjuhg5OSQETCSOT33I2sXIxSEkcIRRorXpPxOEs5hRouXPP/YuRg4ONgELie5/2iANIgIu Eo9ezGAHqWEWmMIo8WZ2AzNIQhgoceheNxNEkavEumlf2CDsKInGo4vB4iwCqhJ7ZxxjB7F5 BXwl1s1+xgaxrJ9ZYmHTVbAEp4CtxKure8AaGAXEJL6fWgNmMwuIS9x6Mp8J4mwBiSV7zjND 2KISLx//Y4WwlSRm3doIVZ8vsffLYmaIZYISJ2c+YZnAKDILyahZSMpmISmDiOtJ3Jg6hQ3C 1pZYtvA1M4StKzHj3yEWZPEFjOyrGEWLU4uTctONjPVSizKTi4vz8/TyUks2MQLj7eCW36o7 GC+/cTzEKMDBqMTDWxH/JUqINbGsuDL3EKMEB7OSCO+Pc5+jhHhTEiurUovy44tKc1KLDzFK c7AoifM+NN8cJSSQnliSmp2aWpBaBJNl4uCUamDkaZqlE+AszckYwPAnp31Ws0o8/4N/Cc+e fVs33+BO+qz/QVGWU4rz0hevz27bv4q/IMpzTm6BSFnwl2O8bDvSp7lfONn8uv9nd9L1f7H1 G5yVrlddjIyyM3oeWH3bi4Up1+MF13+bOunN6S62jCnsbjnMrnVrk57yCfFtdypm5G/doBzn pMRSnJFoqMVcVJwIALypIp2zAgAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/D9O9HT6DtGkzDpd_vOntxkQthFc>
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: Thu, 10 May 2018 16:59:20 -0000

Hi,


Hi Thomas,



I hope Paul can jump in on this one too, since it's ABNF related :)



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.
You are mixing up the ABNF syntax and the IANA registration template.

The ABNF syntax in section 5.4 of draft-ietf-mmusic-ice-sip-sdp-16 and also section 15.4 of RFC 5245
both define the ABNF grammar as



  ice-pwd-att           = "ice-pwd" ":" password



That is the "old" way of defining attributes. My example above is according to the "new" way, that has been used lately (and, no, I didn't mix up the ABNF syntax and the IANA reg).



Another example is in section 6 of draft-bundle (with the corresponding IANA reg in section 16.3).



That's a bad example since a=bundle-only doesn't have a value.

A better example is the tls-id attribute, defined in Section 4 of https://www.ietf.org/id/draft-ietf-mmusic-dtls-sdp-32.txt.

I'd rather prefer ( just personal preference ) the style of https://tools.ietf.org/html/draft-ietf-mmusic-rid-14, where the registration in section 11 refers to the grammar in section 10.

The ABNF is not according to the new style.

And, just to clarify, my comments are not based on my personal preference, but on my understanding of how SDP attributes are to be defined nowadays.

Nevertheless, the only thing I care about is that we don't confuse the reader by having two conflicting definitions of the token ice-pwd-att in RFC5245 and draft-ietf-mmusic-ice-sip-sdp. If you want to do changes in the grammar, use a distinct token.

No matter how the grammar in draft-ietf-mmusic-ice-sip-sdp eventually will look like (that discussion anyway doesn't belong to this thread), I still think we should just reference it from this draft.

Regards,

Christer