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

Thomas Stach <thomass.stach@gmail.com> Thu, 10 May 2018 11:21 UTC

Return-Path: <thomass.stach@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 5FD5D120227; Thu, 10 May 2018 04:21:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.688
X-Spam-Level:
X-Spam-Status: No, score=-2.688 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_KAM_HTML_FONT_INVALID=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 VbpeIQ4ughFG; Thu, 10 May 2018 04:21:05 -0700 (PDT)
Received: from mail-wm0-x233.google.com (mail-wm0-x233.google.com [IPv6:2a00:1450:400c:c09::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01B66126CF6; Thu, 10 May 2018 04:21:04 -0700 (PDT)
Received: by mail-wm0-x233.google.com with SMTP id a67-v6so3316554wmf.3; Thu, 10 May 2018 04:21:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=US0oJ4sOPsPSTqPtgoY3Rikcp3AadfCodBjm9NC9i+s=; b=mMAOb16iQ3y2sBb19TxbGu5SZVhZRuDDqlu4TeYMBdCpIeLFWtjUBtRbP4jFWBpFMz pn1zyJCGK2UkjR0OIlRTzonLmLj0LdqV0XLri9/sL07GPW6Aubq4yME3ZA2q8+B9zJYA y5ig8dcYSTXHGWlo5t7POXhiohNKBYD0GRULF4GdzY0UsQrajOw0hmlZYt988IUnY2Cz VBkKh+jz8+5F2l22XonguyG/atbOTM9v9xVn25feumQWsDwnAT1grCowj09jOh9P6jXr Sqd4b7E6r+ZbRUFgpVgbEsERhCWIWZIrYYh57DKtFR+AarRBU8Cz9epUzh1OaXit6TFh 75Zw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=US0oJ4sOPsPSTqPtgoY3Rikcp3AadfCodBjm9NC9i+s=; b=X8Vsmkjzt1q/zVEUiQd3/nlXyrzZlCjJTQDaD7X9edhcSzCtDDpulu4cy4MiFPtjup NxUALy6SC70gUNvAHIkGA2+L5DB7rC36tfTbKT4rbK1YzDSI/OAq/B9Fx8hU98XiZC4b uByoS+K0oN9AkF20WyMBhYNt1bo90DfASAifJNxAdx1KdpR2QmXA4zT+TS4QN6QIZ3ek eA/snSm1iRvu6+pLEnmgXuPVDq6jYd0kXDawWOy9eL19O0ywD5Jh2RxiFaL5wA7TidOK ipF3HxDerVGQjHrpNXp7nfMnpU7DfcCBGfgYy2iamiv4K1VU5vQQ4YQqsAhSG2HIYGjL YvZw==
X-Gm-Message-State: ALKqPweQOgMigTkuMsVJfChUiCW7/AodMy98iVfoZARDM1Nnq/AcmCL2 OurLHLxGXAVFE/IcvIvwnaGPFpgI
X-Google-Smtp-Source: AB8JxZrsvU0REavIW4gs56HSDQG1QmGi53/GX8Z+XRLC5aDpk7YaLvnwI2lp0aOuLGnpQgZltrKaKg==
X-Received: by 2002:a1c:95d3:: with SMTP id x202-v6mr1061689wmd.52.1525951262898; Thu, 10 May 2018 04:21:02 -0700 (PDT)
Received: from [192.168.2.112] ([213.90.79.148]) by smtp.googlemail.com with ESMTPSA id e80-v6sm1391543wmd.1.2018.05.10.04.21.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 May 2018 04:21:01 -0700 (PDT)
To: Christer Holmberg <christer.holmberg@ericsson.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>
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>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <d7ad13b7-5d18-8c7c-b93b-f3670cefa70e@gmail.com>
Date: Thu, 10 May 2018 13:21:00 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0
MIME-Version: 1.0
In-Reply-To: <7594FB04B1934943A5C02806D1A2204B72EBD35F@ESESSMB109.ericsson.se>
Content-Type: multipart/alternative; boundary="------------E411B32610C0A5CFFA8597FF"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/o8sX9ErQKDOwjbqaTaq3za5JQz4>
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 11:21:07 -0000

Christer,



On 2018-05-09 22:57, Christer Holmberg wrote:
>
> 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
>
That's a bad example since a=bundle-only doesn't have a value.
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.

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.


Regards
Thomas