Re: [AVTCORE] AD Review: draft-ietf-avtcore-srtp-encrypted-header-ext-03

Jonathan Lennox <jonathan@vidyo.com> Thu, 03 January 2013 20:05 UTC

Return-Path: <jonathan@vidyo.com>
X-Original-To: avt@ietfa.amsl.com
Delivered-To: avt@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BF2321F8DD0 for <avt@ietfa.amsl.com>; Thu, 3 Jan 2013 12:05:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rv7bPrTB26Yb for <avt@ietfa.amsl.com>; Thu, 3 Jan 2013 12:05:49 -0800 (PST)
Received: from mxout.myoutlookonline.com (mxout.myoutlookonline.com [64.95.72.243]) by ietfa.amsl.com (Postfix) with ESMTP id 6F3E921F8DCB for <avt@ietf.org>; Thu, 3 Jan 2013 12:05:49 -0800 (PST)
Received: from mxout.myoutlookonline.com (localhost [127.0.0.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id DD8B979C435; Thu, 3 Jan 2013 14:37:04 -0500 (EST)
X-Virus-Scanned: by SpamTitan at mail.lan
Received: from HUB016.mail.lan (unknown [10.110.2.1]) by mxout.myoutlookonline.com (Postfix) with ESMTP id 71A0479C433; Thu, 3 Jan 2013 14:37:04 -0500 (EST)
Received: from BE235.mail.lan ([10.110.32.235]) by HUB016.mail.lan ([10.110.17.16]) with mapi; Thu, 3 Jan 2013 15:05:44 -0500
From: Jonathan Lennox <jonathan@vidyo.com>
To: Robert Sparks <rjsparks@nostrum.com>
Date: Thu, 03 Jan 2013 15:05:44 -0500
Thread-Topic: [AVTCORE] AD Review: draft-ietf-avtcore-srtp-encrypted-header-ext-03
Thread-Index: Ac3p7bbdB0ESr/g3SbmvTStlfjMnlg==
Message-ID: <54B21A1A-E119-45FE-BB4B-211BC84DEAFE@vidyo.com>
References: <50E5D995.3020808@nostrum.com>
In-Reply-To: <50E5D995.3020808@nostrum.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Cc: "avtcore-chairs@ietf.org" <avtcore-chairs@ietf.org>, "draft-ietf-avtcore-srtp-encrypted-header-ext@tools.ietf.org" <draft-ietf-avtcore-srtp-encrypted-header-ext@tools.ietf.org>, "avt@ietf.org" <avt@ietf.org>
Subject: Re: [AVTCORE] AD Review: draft-ietf-avtcore-srtp-encrypted-header-ext-03
X-BeenThere: avt@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Audio/Video Transport Core Maintenance <avt.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/avt>, <mailto:avt-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/avt>
List-Post: <mailto:avt@ietf.org>
List-Help: <mailto:avt-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/avt>, <mailto:avt-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jan 2013 20:05:50 -0000

Hello, all --

I've submitted a revised version -04 of the draft, fixing the ABNF syntax and Robert's other nits.

I've proceeded on the assumption that RFC 5285's extensionname values are indeed case-sensitive, so in the new version of the draft I've written out the extensionname value in hex in the ABNF syntax.

This case-sentivity question is probably an issue that should be explicitly defined somewhere.  Is this something that's in scope of the Errata process, or would it need to be addressed in an update to RFC 5285?

(Regardless, I don't think the encrypted-header-ext draft would be the right place to fix it.)

On Jan 3, 2013, at 2:18 PM, Robert Sparks wrote:

> Summary: There is one issue to adjust with a revised ID before proceeding to IETF LC.
> 
> (Based on a brief voice conversation with Jonathan Lennox)
> 
> The ABNF in Figure 3 is recursive as written. It allows productions like
> 
> a=extmap:1 urn:ietf:params:rtp-hdrext:encrypt urn:ietf:params:rtp-hdrext:toffset urn:ietf:params:rtp-hdrext:ssrc-audio-level
> and worse
> a=extmap:1 urn:ietf:params:rtp-hdrext:encrypt urn:ietf:params:rtp-hdrext:toffset token1 token 2 urn:ietf:params:rtp-hdrext:ssrc-audio-level
> 
> etc.
> 
> I suggest to avoid this instead extend the rule for extmap in RFC5285 (please explicitly call out that's where to look for the base
> definition of extmap, extensionname, and extensionattributes) as follows:
> 
> extmap /= mapentry SP "urn:ietf:params:rtp-hdrext:encrypt" extensionname [SP extensionattributes]
> 
> Jonathan notes that RFC5234's quoted-strings are by definition case insensitive. If extensionnames are intended to be case-sensitive
> (RFC5285 is silent on that point), the quoted string above would need to be replaced with hex expansions for the individual characters:
> 
> >>> [hex(ord(ch)) for ch in list('urn:ietf:params:rtp-hdrext:encrypt')]
> ['0x75', '0x72', '0x6e', '0x3a', '0x69', '0x65', '0x74', '0x66', '0x3a', '0x70', '0x61', '0x72', '0x61', '0x6d', '0x73', '0x3a', '0x72', '0x74', '0x70', '0x2d', '0x68', '0x64', '0x72', '0x65', '0x78', '0x74', '0x3a', '0x65', '0x6e', '0x63', '0x72', '0x79', '0x70', '0x74']
> 
> 
> Nits:
> 
> In the abstract, I suggest s/require that all SRTP/require that all future SRTP/
> 
> Introduction, 1st paragraph, s/using of the Real-Time/using the Real-Time/
> 
> 
> _______________________________________________
> Audio/Video Transport Core Maintenance
> avt@ietf.org
> https://www.ietf.org/mailman/listinfo/avt

--
Jonathan Lennox
jonathan@vidyo.com