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

Thomas Stach <thomass.stach@gmail.com> Mon, 07 May 2018 18:22 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 3AE96127876; Mon, 7 May 2018 11:22:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 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] 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 CQ5vspwstrJ1; Mon, 7 May 2018 11:22:06 -0700 (PDT)
Received: from mail-wm0-x232.google.com (mail-wm0-x232.google.com [IPv6:2a00:1450:400c:c09::232]) (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 0BED3127871; Mon, 7 May 2018 11:22:06 -0700 (PDT)
Received: by mail-wm0-x232.google.com with SMTP id x12-v6so16150096wmc.0; Mon, 07 May 2018 11:22:05 -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=dVJGWiItxOBl38F6a3EbFNhTNpA8O+svNkiynAnerMo=; b=X6Tq7DObw//IKDBxF0mgB2jeAdcW153CrkaVFtzraIRX+LaZ+uoMQ7p9tp/tZ7sZGN /f/FKABmSwH7Fj4PkxPMJLNfKWRX25vYZxnqfdzCoCVKW4GLqPxgc6jZ0CmcQsgafc+c ezW1sajDQTgK6PXsHMGKstM7+M2w8hVCSAmOpZBJccmv41H5gyxiKVfL9A4h++fuBSMS oVRvLH5fejxgibkncrtcCAzafCLG79N/J7QmahWLJ7fdYq2z05jx/N0+aP08PcOkjuDJ GGNrWbgK+DBbqzW2Pm/t1DARuln185ufJe0mRAlFl/2h1F3EglyJAJHjyy0GsmFKLebG isGQ==
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=dVJGWiItxOBl38F6a3EbFNhTNpA8O+svNkiynAnerMo=; b=Wyw3acJNJx1dc0GCz6TNIN4U0ZPSZDQVRb1nk7Z2B1Sv/rIM6SNKq9XlRTMWRT1szA ahQRFjb74hoHh/9shINOqeJ8Rkc2g354uqrVwarXP4qwRBsfQkbnZj/edB/KMWQcmvQJ Z6d6goeCQzouqNIjx+Vumg7vJNkE4pxzpxac+9YSFhuVR0mL9nMOJ1d+4y1woXb0Wv0m zGRTXsMwQcwK8DX5tKa0rw98RST/jnDYqApADGK0KlZRwnIooRDoQXzn7sE8Ap0RBEs8 Src6e+3VhVKuPZQOXWe0mQtu6nw99npUElloeVqZLbyvm1NnvOEJBn+dZz/oya32itOd pMMw==
X-Gm-Message-State: ALKqPwe5X+GU8KrR57JVrsT8yZcDt37NtXYqfYDP8VBNrtGLYF2fDro2 rmHrAYrpKBuanDAxuXUWHsKJiUxN
X-Google-Smtp-Source: AB8JxZqvFDBKaO5TdobccVEBg3fQkAoagJWiawsZhv698T53ATiTzmAmx1C9a4nDEWkkfjXkbrj2zg==
X-Received: by 2002:a1c:b884:: with SMTP id i126-v6mr1390601wmf.30.1525717324291; Mon, 07 May 2018 11:22:04 -0700 (PDT)
Received: from [192.168.2.112] (d91-130-96-184.cust.tele2.at. [91.130.96.184]) by smtp.googlemail.com with ESMTPSA id 140sm11522357wmi.9.2018.05.07.11.22.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 07 May 2018 11:22:03 -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>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <919f4302-29b2-3f48-ffef-aab290bb6e96@gmail.com>
Date: Mon, 07 May 2018 20:22:02 +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: <D7161134.2F512%christer.holmberg@ericsson.com>
Content-Type: multipart/alternative; boundary="------------DC403CA22BB8FB279AE40895"
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/mmusic/pxXd3AwVqOtkjP6RcrnUOXc9ovg>
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 18:22:09 -0000

Christer,

thanks for the comments.

replies inline


On 2018-05-07 13:31, Christer Holmberg wrote:
> Hi,
>
> I am ok with the change.
>
> 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=

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

Kind Regards
Thomas
>
>
>
>
> 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
>>