Re: [netmod] AD review of draft-ietf-netmod-rfc6021-bis-00.txt

Ladislav Lhotka <lhotka@nic.cz> Sat, 23 March 2013 13:00 UTC

Return-Path: <lhotka@nic.cz>
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 343C421F8AF8 for <netmod@ietfa.amsl.com>; Sat, 23 Mar 2013 06:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.547
X-Spam-Level:
X-Spam-Status: No, score=-1.547 tagged_above=-999 required=5 tests=[AWL=0.452, BAYES_00=-2.599, J_CHICKENPOX_23=0.6]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5BBnHe0fW5QJ for <netmod@ietfa.amsl.com>; Sat, 23 Mar 2013 06:00:21 -0700 (PDT)
Received: from mail.nic.cz (mail.nic.cz [IPv6:2001:1488:800:400::400]) by ietfa.amsl.com (Postfix) with ESMTP id 3835321F8AE7 for <netmod@ietf.org>; Sat, 23 Mar 2013 06:00:20 -0700 (PDT)
Received: from [172.29.2.202] (nat-5.bravonet.cz [77.48.224.5]) by mail.nic.cz (Postfix) with ESMTPSA id 985E613F6A0; Sat, 23 Mar 2013 14:00:19 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=nic.cz; s=default; t=1364043619; bh=dwpUWpl6IW+/zvn+/qbpf798LTYc/8FhcvDSnhM8n7Y=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Content-Transfer-Encoding:Message-Id:References:To; b=Ol4GUXaxVsvbEwwm/HoHs9x7TynOMeYH89bCB72JLfrZEcTQQAW2ZJAoNqoqAIeqs hNzRHpqVTnhtxGK1+OQ1r3dybsUuAeIjL8gkUOa4s7ANPhISrTmx3PYC3GFg+TaIiv 9hdsA7Ogd2SAaLumGKiZbc6s1vL4PZ6wf+jJzMOM=
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\))
From: Ladislav Lhotka <lhotka@nic.cz>
In-Reply-To: <514CDAE7.401@cisco.com>
Date: Sat, 23 Mar 2013 14:00:19 +0100
Content-Transfer-Encoding: quoted-printable
Message-Id: <CA22DC74-281B-4EAF-A7E4-8DD0E94C4176@nic.cz>
References: <514C93E9.8@cisco.com> <m2obebl34w.fsf@nic.cz> <20130322210354.GA16103@elstar.local> <514CDAE7.401@cisco.com>
To: Benoit Claise <bclaise@cisco.com>
X-Mailer: Apple Mail (2.1503)
X-Virus-Scanned: clamav-milter 0.96.5 at mail
X-Virus-Status: Clean
Cc: NETMOD Working Group <netmod@ietf.org>
Subject: Re: [netmod] AD review of draft-ietf-netmod-rfc6021-bis-00.txt
X-BeenThere: netmod@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
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: Sat, 23 Mar 2013 13:00:22 -0000

On Mar 22, 2013, at 11:27 PM, Benoit Claise <bclaise@cisco.com> wrote:

> On 22/03/2013 22:03, Juergen Schoenwaelder wrote:
>> On Fri, Mar 22, 2013 at 07:07:27PM +0100, Ladislav Lhotka wrote:
>>> Benoit Claise <bclaise@cisco.com> writes:
>>> 
>>>> Juergen, NETMOD participants,
>>>> 
>>>> Two comments
>>>> 
>>>> 1.
>>>> For the ip-address-no-zone, ipv4-address-no-zone, and
>>>> ipv6-address-no-zone, don't you need a reference to the zone information
>>>> in the description?
>>>> 
>>>>       description
>>>>          "The ip-address-no-zone type represents an IP address without
>>>>           zone information in an IP version neutral way.  The format
>>>>           of the textual representations implies the IP version.";
>>>> 
>>>> Doesn't give me a pointer to what a zone information is. So I don't know
>>>> what ip-address-no-zone is.
>>>> Note: I faced the zone issue only a year ago. Before that, I had no clue
>>>> what it was.
>>>> 
>>> Actually, I think it would be MUCH better to have "ipv4-address" with no mention of zone whatsoever, and then perhaps "ipv4-address-with-zone".
>>> 
>>> The problem with this is that it is not backwards compatible with the old revision of the module. But maybe it should be done anyway. My main concern is that an implementor will see the "ipv4-address" type and will not bother to look up the definition to realize that the client may append the zone id without breaking type validity. This could lead to nasty security holes.
>>> 
>>> And the problem is further amplified by the fact that this type is used in unions - "ip-address" and "host".
>> Lada, we have been there, I believe there is no problem. And breaking
>> interoperability is IMHO a no go.
> Agreed. It's a no go

OK, but I wonder - do we have any strategy for correcting mistakes in our modules? They will be typically revealed only after a module is put under stress and used in advanced data models. If breaking compatibility is a no go, then we are pretty much stuck.

Lada

>>  
>>>> 2.
>>>> The section "Appendix A. Changes from RFC 6021" is pretty light:
>>>> 
>>>>       This version adds new type definitions to the YANG modules. For
>>>>     the further details, see the revision statement of the YANG modules.
>>>> 
>>>> Take it or leave it. However, I can tell that its resolution will please
>>>> some IESG members, specifically because the rfcdiff tool doesn't do a
>>>> good job of comparing RFC6021 with draft-ietf-netmod-rfc6021-bis-00.txt
>>>> 
>>>> Proposal
>>>> 
>>>>       This version adds new type definitions to the YANG modules. The
>>>>     first YANG module, ietf-yang-types adds the following new data
>>>>     types: yang-identifier, hex-string, uuid, and dotted-quad. The
>>>>     second YANG module, ietf-inet-types, adds the following new data
>>>>     types: ip-address-no-zone, ipv4-address-no-zone, and
>>>>     ipv6-address-no-zone.
>>> +1.
>>> 
>>> Lada
>>>  
>> Sure, I will do whatever pleases the IESG and other readers that do
>> not have the time to lookup the revision statements. ;-)
> The time ... or the willingness ;-)
> 
> Regards, Benoit
>> 
>> /js
>> 
> 
> _______________________________________________
> netmod mailing list
> netmod@ietf.org
> https://www.ietf.org/mailman/listinfo/netmod

--
Ladislav Lhotka, CZ.NIC Labs
PGP Key ID: E74E8C0C