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

Christer Holmberg <christer.holmberg@ericsson.com> Mon, 07 May 2018 19:41 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 C7BF9124C27 for <mmusic@ietfa.amsl.com>; Mon, 7 May 2018 12:41:24 -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=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 4m_PrzPQKTZy for <mmusic@ietfa.amsl.com>; Mon, 7 May 2018 12:41:23 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (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 4785612783A for <mmusic@ietf.org>; Mon, 7 May 2018 12:41:23 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; d=ericsson.com; s=mailgw201801; c=relaxed/simple; q=dns/txt; i=@ericsson.com; t=1525722080; 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=GQ3VXMLzxUHfbSRoZCa4KQRAZD7r2UnHq//AyMY6cKQ=; b=clesKwx00Dp/nExBtEps3bcX4IKWOOEa1rV9T17NlLcyR9/l4WxsQWPW7by2hsq6 syQOrZudml8SQkPTlOU/LaGMlR103s6FtT3Ujsg++0MOJYAyebWn2ZRibo4Emy5j +p8xVztYiEfy5kubsIy32BttxWdmXV5V/ZgOb5thncM=;
X-AuditID: c1b4fb2d-ac3ff700000055bf-41-5af0abe03773
Received: from ESESSHC023.ericsson.se (Unknown_Domain [153.88.183.87]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 0E.88.21951.0EBA0FA5; Mon, 7 May 2018 21:41:20 +0200 (CEST)
Received: from ESESSMB109.ericsson.se ([169.254.9.34]) by ESESSHC023.ericsson.se ([153.88.183.87]) with mapi id 14.03.0382.000; Mon, 7 May 2018 21:41:20 +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/qgCAADTD8A==
Date: Mon, 07 May 2018 19:41:19 +0000
Message-ID: <7594FB04B1934943A5C02806D1A2204B72EB88D8@ESESSMB109.ericsson.se>
References: <d39c9615-ad46-a840-fd02-9a3eac4b53a9@gmail.com> <D7161134.2F512%christer.holmberg@ericsson.com> <919f4302-29b2-3f48-ffef-aab290bb6e96@gmail.com>
In-Reply-To: <919f4302-29b2-3f48-ffef-aab290bb6e96@gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [153.88.183.171]
Content-Type: text/plain; charset="windows-1257"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprAIsWRmVeSWpSXmKPExsUyM2J7uO6D1R+iDM69N7X4sXY5s8X5neuZ LKYuf8xisWLDAVaLTye2Mjmwevx9/4HJY+esu+weS5b8ZApgjuKySUnNySxLLdK3S+DK6G2I KpgqU/H9ZAdbA+MGkS5GTg4JAROJrRsb2LoYuTiEBI4wSvT0NTGCJIQEFjFKHDig2cXIwcEm YCHR/U8bJCwiUC4x9X4vI0g9s8AURok3sxuYQRLCAi4Sh+51M0EUuUqsm/aFDcJ2kpj3uQNs JouAisTFKZ/A6nkFfCW6VjeyQixeyChxb9kKsASngK3E2XXrWUBsRgExie+n1oANZRYQl7j1 ZD4TxNUCEkv2nGeGsEUlXj7+xwphK0mceNjIDFFvIHHgzFJGCFtbYtnC11CLBSVOznzCMoFR dBaSsbOQtMxC0jILScsCRpZVjKLFqcXFuelGxnqpRZnJxcX5eXp5qSWbGIHxdHDLb90djKtf Ox5iFOBgVOLh7c/5ECXEmlhWXJl7iFGCg1lJhJdNGSjEm5JYWZValB9fVJqTWnyIUZqDRUmc V2/VnighgfTEktTs1NSC1CKYLBMHp1QDo9zEOzVnzW1c3nw7yJq+pT5mnyNLarjWsb8CRvla vhG7bztrKAove3ZT3LlcoirkZOkvzpwXP4/36li2KvJJn5/6k9uKUexR3AKJeZyPU8uevemS 7zs0oeBWxOLuA9Gf/3RWP2JW0ntVYeFzinP2XLOnbtrJ+z7+rNp2xDO5WMt2Jd9MW94sJZbi jERDLeai4kQAfIhHjqMCAAA=
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/r3WypFdtvXplOsw4SzeWqLDnNMg>
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: Mon, 07 May 2018 19:41:25 -0000

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.

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