Re: [Idr] Routing directorate QA review of draft-ietf-idr-ext-opt-param-04

Enke Chen <enkechen@cisco.com> Fri, 24 June 2016 22:29 UTC

Return-Path: <enkechen@cisco.com>
X-Original-To: idr@ietfa.amsl.com
Delivered-To: idr@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A17A112D69B; Fri, 24 Jun 2016 15:29:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -15.947
X-Spam-Level:
X-Spam-Status: No, score=-15.947 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-1.426, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 4_7BbOvDuRUB; Fri, 24 Jun 2016 15:29:20 -0700 (PDT)
Received: from alln-iport-4.cisco.com (alln-iport-4.cisco.com [173.37.142.91]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4AB112D142; Fri, 24 Jun 2016 15:29:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2524; q=dns/txt; s=iport; t=1466807359; x=1468016959; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=ax0UzM/+MQmpzV/rJJA2oG9BNZOcU+DwCGztrz1DAYw=; b=PIvVS9FlI95hXteSv5OkOfs9HdevsNiIqFTiyiBUpXrvVuwn7YiE7+b9 dJrCqaXGwgozPOqG6GvdBrr080l0KW2VSAWpsjOOI5MG1cnfOTxJd+uT2 qgUuy2v5VTj50gfWBPGG5Oa+B0CU0lfrhY/i9HrK1c0dNqaWlWgJdLRrn 8=;
X-IronPort-AV: E=Sophos;i="5.26,523,1459814400"; d="scan'208";a="288950790"
Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 24 Jun 2016 22:29:19 +0000
Received: from [10.41.57.187] ([10.41.57.187]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id u5OMTIv6005948; Fri, 24 Jun 2016 22:29:18 GMT
To: "John G. Scudder" <jgs@juniper.net>
References: <m8h688tnbwxkug7d8u82j25c.1466634873538@email.android.com> <952977D8-B35A-4C1A-8526-9D616BD0F0B6@juniper.net>
From: Enke Chen <enkechen@cisco.com>
Message-ID: <cb0f8e65-5ec8-8820-3078-f0a20ecf5d41@cisco.com>
Date: Fri, 24 Jun 2016 15:29:18 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:45.0) Gecko/20100101 Thunderbird/45.0
MIME-Version: 1.0
In-Reply-To: <952977D8-B35A-4C1A-8526-9D616BD0F0B6@juniper.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/QxKg-V9M6N-ofnz7vmfNFR_C7j8>
Cc: "idr@ietf.org" <idr@ietf.org>, "rtg-dir@ietf.org" <rtg-dir@ietf.org>, "draft-ietf-idr-ext-opt-param@ietf.org" <draft-ietf-idr-ext-opt-param@ietf.org>, "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>, Susan Hares <shares@ndzh.com>
Subject: Re: [Idr] Routing directorate QA review of draft-ietf-idr-ext-opt-param-04
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Inter-Domain Routing <idr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/idr>, <mailto:idr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/idr/>
List-Post: <mailto:idr@ietf.org>
List-Help: <mailto:idr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/idr>, <mailto:idr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Jun 2016 22:29:22 -0000

Hi, John:

Please see below.

On 6/24/16 11:43 AM, John G. Scudder wrote:
> Hi Matthew and all,
> 
> Thanks for the review. Some comments below.
> 
>> From: "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>
>> Date: 6/21/2016 6:10 AM (GMT-05:00)
>> To: idr@ietf.org, Susan Hares <shares@ndzh.com>, jgs@juniper.net, rtg-dir@ietf.org, draft-ietf-idr-ext-opt-param@ietf.org
>> Subject: [Idr] Routing directorate QA review of	draft-ietf-idr-ext-opt-param-04
> ...
> 
>> Minor Issues:
>>
>>  
>>
>> 1) Section 2, Protocol Extensions.
>>
>> You have labelled the existing Length and Type fields as 0xFF. I assume the meaning of the second is still 'Type' since that is
>>
>> what any implementation would reasonably interpret it as, and that is the registry you are using a code point from. So it
>>
>> might be better to say in the text above the figure at the top of page 3 that the length and type fields in [RFC4271]
>>
>> are set to 0xFF.
> 
> Is your proposal to use the diagram verbatim from 4271, but say in the prose that the type and length are 0xFF? I'm fine with whatever seems clearer to folks.
> 
>> Also, you don't explicitly define what a receiver should do with the length field if the type is 0xFF. Does it ignore it,
>>
>> or does it check that it is 0xFF and treat the OPEN message as malformed if it is < 0xFF?
> 
> This is a good question, and TBH I don't recall why we specified a value for the legacy length field instead of simply saying it should be ignored.
> Maybe Enke remembers? Right now I'm inclined to say it should be ignored on receipt, but I'm open to discussion. I guess even if we make that change we can still spec it be sent as 0xFF, for purposes of debuggability, but this is not a big deal.
> 

Here is what RFC 4271 says about the "Optional Parameters Length": 

         This 1-octet unsigned integer indicates the total length of the
         Optional Parameters field in octets.  If the value of this
         field is zero, no Optional Parameters are present.

If the "Optional Parameters Length" field is 0, then the Optional Parameters
will not be parsed and thus the new length field would not be reached.

I am not sure, but that might be the reason that we have it as 0xFF.

It needs to be at least 1 for the "Parm. Type" field to be parsed.  Once the
"Parm. type" is parsed, and if its value is 0xFF, then the two-octet length
field follows.  The procedure is more than just "ignoring" the field. 

Thanks.  -- Enke