Re: [netmod] Last Call: draft-schoenw-netmod-rfc6021-bis-01 (20130204)

Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de> Mon, 21 January 2013 13:39 UTC

Return-Path: <j.schoenwaelder@jacobs-university.de>
X-Original-To: netmod@ietfa.amsl.com
Delivered-To: netmod@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B4DE421F84F1 for <netmod@ietfa.amsl.com>; Mon, 21 Jan 2013 05:39:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.998
X-Spam-Level:
X-Spam-Status: No, score=-102.998 tagged_above=-999 required=5 tests=[AWL=0.252, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_LOW=-1, USER_IN_WHITELIST=-100]
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 CTRyBoQDX9hh for <netmod@ietfa.amsl.com>; Mon, 21 Jan 2013 05:39:54 -0800 (PST)
Received: from hermes.jacobs-university.de (hermes.jacobs-university.de [212.201.44.23]) by ietfa.amsl.com (Postfix) with ESMTP id 5A58E21F8506 for <netmod@ietf.org>; Mon, 21 Jan 2013 05:39:50 -0800 (PST)
Received: from localhost (demetrius4.jacobs-university.de [212.201.44.49]) by hermes.jacobs-university.de (Postfix) with ESMTP id B985720A6D; Mon, 21 Jan 2013 14:39:49 +0100 (CET)
X-Virus-Scanned: amavisd-new at jacobs-university.de
Received: from hermes.jacobs-university.de ([212.201.44.23]) by localhost (demetrius4.jacobs-university.de [212.201.44.32]) (amavisd-new, port 10024) with ESMTP id DeybN3ttOJBx; Mon, 21 Jan 2013 14:39:49 +0100 (CET)
Received: from elstar.local (elstar.jacobs.jacobs-university.de [10.50.231.133]) by hermes.jacobs-university.de (Postfix) with ESMTP id 5A2F320A1F; Mon, 21 Jan 2013 14:39:49 +0100 (CET)
Received: by elstar.local (Postfix, from userid 501) id C76BF2417588; Mon, 21 Jan 2013 14:39:52 +0100 (CET)
Date: Mon, 21 Jan 2013 14:39:52 +0100
From: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
To: netmod@ietf.org
Message-ID: <20130121133952.GA40864@elstar.local>
Mail-Followup-To: netmod@ietf.org
References: <20130119011641.GK11206@nsn.com> <m2622qk6lw.fsf@nic.cz>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <m2622qk6lw.fsf@nic.cz>
User-Agent: Mutt/1.5.21 (2010-09-15)
Subject: Re: [netmod] Last Call: draft-schoenw-netmod-rfc6021-bis-01 (20130204)
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
Reply-To: Juergen Schoenwaelder <j.schoenwaelder@jacobs-university.de>
List-Id: NETMOD WG list <netmod.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/netmod>, <mailto:netmod-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/netmod>
List-Post: <mailto:netmod@ietf.org>
List-Help: <mailto:netmod-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/netmod>, <mailto:netmod-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jan 2013 13:39:54 -0000

On Mon, Jan 21, 2013 at 02:28:43PM +0100, Ladislav Lhotka wrote:
> Hi,
> 
> I support moving this document forward, with two comments:
> 
> 1. The second pattern for "yang-identifier" type can be slightly optimized:
> 
> OLD
> 
>     pattern '.|..|[^xX].*|.[^mM].*|..[^lL].*';
> 
> NEW
> 
>     pattern '..?|[^xX].*|.[^mM].*|..[^lL].*';

Not sure what the metric is that is optimized here or how to choose
between the two.
 
> 2. It would be safer to have types 'ipv[46]-address' (meaning no zone) and 'ipv[46]-address-with-zone' rather than 'ipv[46]-address' and 'ipv[46]-address-no-zone'. I know, it's an incompatible change, but I suspect that many implementers will not bother to look up the definition when seeing a type like 'ipv4-address' and assume a plain IPv4 address in that place. Such a mistake can easily create a security hole. The name 'ipv[46]-address-with-zone' makes the optional presence of a zone index explicit and eliminates this potential trap. Besides, it would also better fit the naming scheme of corresponding textual conventions in RFC 4001.

It is still an incompatible change. We can't change 'ipv[46]-address'.
We can deprecate it and provide a replacement.

Personally, I do not think this is needed or desirable. The IPv6 WG
just reached concensus to allow zone indexes in URIs and there was no
a concern that this creates a security hole as far as I understand.
What might happen is that people forget to implement support for
addresses including a zoneid. That said, for stuff sitting above the
IP layer, having zones included 'by default' is in my view a feature
and not a bug.

/js

-- 
Juergen Schoenwaelder           Jacobs University Bremen gGmbH
Phone: +49 421 200 3587         Campus Ring 1, 28759 Bremen, Germany
Fax:   +49 421 200 3103         <http://www.jacobs-university.de/>