Re: [MMUSIC] Some issues with draft-ietf-mmusic-trickle-ice-sip-02
Thomas Stach <thomass.stach@gmail.com> Fri, 24 July 2015 10:47 UTC
Return-Path: <thomass.stach@gmail.com>
X-Original-To: mmusic@ietfa.amsl.com
Delivered-To: mmusic@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84B201A8A5A for <mmusic@ietfa.amsl.com>; Fri, 24 Jul 2015 03:47:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 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, SPF_PASS=-0.001] autolearn=ham
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 6ZsbTvxcGN7J for <mmusic@ietfa.amsl.com>; Fri, 24 Jul 2015 03:47:10 -0700 (PDT)
Received: from mail-wi0-x229.google.com (mail-wi0-x229.google.com [IPv6:2a00:1450:400c:c05::229]) (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 39DC31A8A01 for <mmusic@ietf.org>; Fri, 24 Jul 2015 03:47:10 -0700 (PDT)
Received: by wibud3 with SMTP id ud3so22272590wib.0 for <mmusic@ietf.org>; Fri, 24 Jul 2015 03:47:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=GWYKjGJWs8S8NfuBWadWWoC/stNCiU3LTKwRVZfKtrQ=; b=cExJMJalBt92vezUkCTmMpnCRkQcQDxUWCpWjGhTJtn2bg9NwTAowFdrrnFIigeZoY EpmcP+n7M9c44HEA7xWnI8PMHDbn1hqF4ZorKih+9Hfc++znLjjFOGPzcjwPp3yDF2ek PRIIcvNug9LwGYVMbjjen8TAP8QJpMS4FxA5lIlrBRdWGBPnB/oM6913f+Ltd+IQ9t4F AVlAqPCCn9gqppJyMa1Hms+CFPPQCaEkZDTNKrbE8d6fz5AwtDFQKlmGjhxj6x3+kyQq T0sjP//35Np6wi5ntVNeqQpy2OMb4tzLsML1aY0zq7lIUAw+MqXE5Ts+UIxHQG/+Gj3G 1eUQ==
X-Received: by 10.180.78.136 with SMTP id b8mr5655651wix.89.1437734829021; Fri, 24 Jul 2015 03:47:09 -0700 (PDT)
Received: from [127.0.0.1] (d91-128-164-3.cust.tele2.at. [91.128.164.3]) by smtp.googlemail.com with ESMTPSA id ez4sm2889524wid.14.2015.07.24.03.47.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jul 2015 03:47:08 -0700 (PDT)
To: mmusic@ietf.org, Paul Kyzivat <pkyzivat@alum.mit.edu>
References: <55B02E3C.1090104@alum.mit.edu>
From: Thomas Stach <thomass.stach@gmail.com>
Message-ID: <55B217A3.5030600@gmail.com>
Date: Fri, 24 Jul 2015 12:46:59 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0
MIME-Version: 1.0
In-Reply-To: <55B02E3C.1090104@alum.mit.edu>
Content-Type: text/plain; charset="windows-1252"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Antivirus: avast! (VPS 150723-1, 23.07.2015), Outbound message
X-Antivirus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/mmusic/qBtPJbe4ZbonARobtXs8XnHJB7I>
Subject: Re: [MMUSIC] Some issues with draft-ietf-mmusic-trickle-ice-sip-02
X-BeenThere: mmusic@ietf.org
X-Mailman-Version: 2.1.15
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: Fri, 24 Jul 2015 10:47:12 -0000
Paul, thanks for looking into this and pointing out the issues I think they can be fixed quite easily. More below Am 23.07.2015 um 01:58 schrieb Paul Kyzivat: > This is not a complete review of the document - I'm focusing only on > the sdpfrag related stuff. > > Section 8.1 says: > > A valid application/sdpfrag part could be obtained by starting with > some valid SDP session description [I-D.ietf-mmusic-rfc4566bis] and > deleting any number of lines. > > Then section 8.2 says: > > The ABNF of an 'application/sdpfrag' body is based on > [I-D.ietf-mmusic-rfc4566bis] with the following modification > > ; SDPfrag Syntax > sdp-frag = *1proto-version > *1origin-field > *1session-name-field > *1information-field > *1uri-field > *1email-fields > *1phone-fields > *1connection-field > *1bandwidth-fields > *1time-fields > *1key-field > *1attribute-fields > *1media-descriptions > > Those two sections are inconsistent. Some of the individual elements > above (media-descriptions and time-fields) expand into more than one > line. This leads to the possibility that you could take valid SDP body > and delete some lines, leading to something that doesn't match the > above syntax. I'll propose a more elaborate ABNF that will address this in the updated draft. I think it will just need a few tweaks. > > For example, media-descriptions allows a variety of other lines > following an m= line. If you take a valid SDP and delete the m= lines > you can get something that has a c= following an a=. > > Similarly, time-fields only allows an r= line following a t= line. > According to 8.1 you could take an SDP containing t=,r= and delete the > t=, leaving a "naked" r= line. But the sdp-frag syntax in 8.2 can't > generate that. Will be fixed. > > Beyond that, both of those introduce context-sensitivity. E.g., an a= > following an m= has a different significance than one preceding the > first m=. If you removed all the m= lines from an SDP the result would > be incomprehensible. So the notion of stripping arbitrary lines from > and SDP and making sense of the result is nonsense. I agree that you can generate nonsense by removing arbitray lines from SDP. However, I don't intent to prevent that in general. In the next update I can put some warning text around this . The draft already says "The exact content of an 'application/sdpfrag' body MUST be specified the using protocol." Section 9.6 defines the necessary contraints for trickle-ice. Other future application will need to do something similar. > > It does turn out that the definition of trickle-ice-sdpfrag is > consistent with the syntax of sdp-frag. So there isn't a big problem. > If you remove/replace the textual definition of sipfrag in 8.1 then > things are consistent and make sense. > > But is there any need for application/sdpfrag? Wouldn't it be more > straightforward to define application/trickle-ice-sdpfrag? My understanding from IETF90 was that there was consensus that the principle of taking vaild SDP and remove arbitrary lines should be kept, but there need to be application-specific contraints that define the semantics of a specific sdpfrag body. Since your issues can be fixed quite easily there isn't need to deviate from that concept. Regards Thomas > > Thanks, > Paul > > _______________________________________________ > mmusic mailing list > mmusic@ietf.org > https://www.ietf.org/mailman/listinfo/mmusic
- [MMUSIC] Some issues with draft-ietf-mmusic-trick… Paul Kyzivat
- Re: [MMUSIC] Some issues with draft-ietf-mmusic-t… Thomas Stach
- Re: [MMUSIC] Some issues with draft-ietf-mmusic-t… Paul Kyzivat
- Re: [MMUSIC] Some issues with draft-ietf-mmusic-t… Thomas Stach
- Re: [MMUSIC] Some issues with draft-ietf-mmusic-t… Paul Kyzivat
- [MMUSIC] Fwd: Re: Some issues with draft-ietf-mmu… Thomas Stach