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

Christer Holmberg <christer.holmberg@ericsson.com> Wed, 09 May 2018 20:57 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 8A4FF12DA70 for <mmusic@ietfa.amsl.com>; Wed, 9 May 2018 13:57:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.004
X-Spam-Level:
X-Spam-Status: No, score=-3.004 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, TRACKER_ID=1.306, 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 Qd8UiOht-mI6 for <mmusic@ietfa.amsl.com>; Wed, 9 May 2018 13:57:15 -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 C618B129BBF for <mmusic@ietf.org>; Wed, 9 May 2018 13:57:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1525899433; 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=ZMCDtyVoGnF0wGlU+dKBZ2+uVaVqP0JHDnhLmLZ6rYI=; b=PSCTsX9nhkdaMpDcrAtrLCEiIxniglJNjzF9AqSt8YwQF4sZ8Z1ZrHNbg8LhYwIK azWjxLg/9OGWoCH1T3wsPlM8FRp8UqxtlQvEAS5G+8xlEbPRfrs578tUJcXwN8jy OuOKQJCU+OwFPvsQbC4rjCztnYxrkU+VprHdyj5eNd0=;
X-AuditID: c1b4fb30-28dff70000006e0c-5e-5af360a89b8e
Received: from ESESSHC008.ericsson.se (Unknown_Domain [153.88.183.42]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id EF.52.28172.8A063FA5; Wed, 9 May 2018 22:57:13 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.34]) by ESESSHC008.ericsson.se ([153.88.183.42]) with mapi id 14.03.0382.000; Wed, 9 May 2018 22:57:12 +0200
From: Christer Holmberg <christer.holmberg@ericsson.com>
To: Thomas Stach <thomass.stach@gmail.com>, MMUSIC <mmusic@ietf.org>, "pkyzivat@alum.mit.edu" <pkyzivat@alum.mit.edu>
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/qgCAADTD8IAC7YAAgABNxcA=
Date: Wed, 09 May 2018 20:57:12 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B72EBD35F@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>
In-Reply-To: <2950acc1-ab24-ebb4-cc50-1c64193fbe0d@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.163]
Content-Type: multipart/alternative; boundary="_000_7594FB04B1934943A5C02806D1A2204B72EBD35FESESSMB109erics_"
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrFIsWRmVeSWpSXmKPExsUyM2K7lu7KhM9RBlMvcVj8WLuc2eL8zvVM FlOXP2axWLHhAKvFpxNbmRxYPf6+/8DksXPWXXaPJUt+MgUwR3HZpKTmZJalFunbJXBl/O/i L5izkLHiw6RVrA2MjV2MXYycHBICJhIrvx9g62Lk4hASOMIoMWnxbChnEaNE/6FDTF2MHBxs AhYS3f+0QRpEBMolpt7vZQSpYRaYwijxZnYDM0hCWMBF4tC9biaIIleJddO+sIH0igj4SXyd xgISZhFQkTh2+iRYCa+Ar8SHra9ZIXbNYJLY9fcJ2BxOAVuJOYtWsYHYjAJiEt9PrQFrYBYQ l7j1ZD4TxNUCEkv2nGeGsEUlXj7+xwphK0ksn7aFHaI+X+LYgbesEMsEJU7OfMIygVFkFpJR s5CUzUJSBhE3kDhwZikjhK0tsWzha2YIW1/i86kGVmTxBYzsqxhFi1OLk3LTjYz0Uosyk4uL 8/P08lJLNjECY/Dglt8GOxhfPnc8xCjAwajEw+vu8TlKiDWxrLgy9xCjBAezkgjv43igEG9K YmVValF+fFFpTmrxIUZpDhYlcV4Lv81RQgLpiSWp2ampBalFMFkmDk6pBsbOXR6q0z62NBgW 8HTzvZpz+cmrm7tP/L/+8GZe/JG59kfUejU1ZlzSbpZxfBbItJwlvOhai95Cp6lOri6/j5/2 f7r3Y9zWc1OXrSv+bnKgSXHliSuPXs1wMX9WpX9ujezvvLx8meiTJZXP/Y8tNE8+UzqzUaE5 8qzK6k8J/RPeXg57FG7a/99YiaU4I9FQi7moOBEAh+Waib0CAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/mufOcoeT2DZ8K0H_2KKB2stxjyg>
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 20:57:17 -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).



Regards,



Christer











I don't think it is a good idea to re-define the ice-pwd-att token as

 ice-pwd-att = password



If you want to add text to the IANA section it MUST read



    The Augmented BNF syntax [RFC5234] for the attribute is:

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



The ABNF in draft-ietf-mmusic-trickle-ice-sip-14 is correct wrt usage of ice-pwd-att



Regards

Thomas









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><mailto: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