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

"John G. Scudder" <jgs@juniper.net> Wed, 29 June 2016 02:19 UTC

Return-Path: <jgs@juniper.net>
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 25F8112D8A1; Tue, 28 Jun 2016 19:19:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.903
X-Spam-Level:
X-Spam-Status: No, score=-1.903 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=junipernetworks.onmicrosoft.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 teXAE5vwvvIo; Tue, 28 Jun 2016 19:19:05 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0142.outbound.protection.outlook.com [65.55.169.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6178412B049; Tue, 28 Jun 2016 19:19:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=junipernetworks.onmicrosoft.com; s=selector1-juniper-net; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=PTCpci7pV3H4VV1quCM8ZJIgGRukv1GOoGM28c270CA=; b=aWgCE2vA9jZf0CadbFsFoDGbNbpoG0qflokmK3hGUNqvpuA+lsNLIyrOaGQ/aYvYx7frk1E0dQEylU5oFlatMUdeonGzBAzLkAps7cLXDF7mCNvUmLIIUaZtS1lJ5S5keZhBoSHBeznrVeWPxMLvFn+01JyDIUutdgmLoc78mG8=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgs@juniper.net;
Received: from plangevin-sslvpn-nc.jnpr.net (66.129.241.13) by CY1PR05MB2507.namprd05.prod.outlook.com (10.167.10.134) with Microsoft SMTP Server (TLS) id 15.1.523.12; Wed, 29 Jun 2016 02:19:02 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: "John G. Scudder" <jgs@juniper.net>
In-Reply-To: <e1ae19ad1e8446f9a7f46e2f607ce807@XCH-ALN-014.cisco.com>
Date: Tue, 28 Jun 2016 22:18:53 -0400
Content-Transfer-Encoding: quoted-printable
Message-ID: <AE4382C0-3A92-4BBA-AA41-8573C4402E90@juniper.net>
References: <m8h688tnbwxkug7d8u82j25c.1466634873538@email.android.com> <952977D8-B35A-4C1A-8526-9D616BD0F0B6@juniper.net> <cb0f8e65-5ec8-8820-3078-f0a20ecf5d41@cisco.com> <56a07f338f5d4a1f8dfd539040b1002e@XCH-ALN-014.cisco.com> <2FBB796F-76B7-4F5F-B183-62A1FCA30313@juniper.net> <bbc25621e7a641b7b96e8b22d06c20c6@XCH-ALN-014.cisco.com> <19F86A8D-2414-42BB-B289-ED84AB945DEE@juniper.net> <e1ae19ad1e8446f9a7f46e2f607ce807@XCH-ALN-014.cisco.com>
To: "idr@ietf.org" <idr@ietf.org>
X-Mailer: Apple Mail (2.3124)
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: YTXPR01CA0082.CANPRD01.PROD.OUTLOOK.COM (10.165.216.50) To CY1PR05MB2507.namprd05.prod.outlook.com (10.167.10.134)
X-MS-Office365-Filtering-Correlation-Id: 02e635e5-9038-4d0f-226f-08d39fc3bd3a
X-Microsoft-Exchange-Diagnostics: 1; CY1PR05MB2507; 2:hHVqvzG0qX00/vt5NumRuaZ4q44r4cJX5PLir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y9qYJJex3B+Jj/AeykT0TInI7M9wPcmxYEQvDyktBGszaXHsGCYo+xVY6IJGUDZ3+JCA1HERSWxH0Ee3pdQ9dCtG9Afdc1BvYQ/CziwZM2s61DNIXDdzQQlPc8uQwuY8rg8mO6DDaxKMNh2DYwFCybnaudjwRcW3XKsNE6grsPMPbgNaSi+vcTkxb/nommDvAjTN0lqa7H2gw6jWHbtz+vqF1+zlrvcCMd4iMGtljOp1riVF/Cy95asxO5dwS
X-Microsoft-Antispam-PRVS: <CY1PR05MB2507941D9818DB69B1EE14C9AA230@CY1PR05MB2507.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(138986009662008)(82608151540597)(95692535739014);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:CY1PR05MB2507; BCL:0; PCL:0; RULEID:; SRVR:CY1PR05MB2507;
X-Microsoft-Exchange-Diagnostics: 1; CY1PR05MB2507; 4:StVHSlwVPbBv8xoqKhXprHELrasOVfNvBChQ5Gc4vdqBVTWdOJropDasTALQozS6utm7Ir2Nqu3b4y3XxdWDgay1gBkIa4pFdumGjyrK1+S/2gCbQTCaac0v2VStcKUOR+KoI7vnkwUcHGfKu0p1CclFlX+Tn7RESZzzGzRR1IvRaAXTJBjY+Bkn6aTgLT5qanybEh5eSpUr97uvjuu7RUmP+jNXcDYwJdsvVFN6UbcbQKN423VXEC6r6FQL6MOVLpU0ot4Zc6RRk7GoyOELyN3TqmV3iO+3PsFtFvXl+3p4i20zevSpE2n3VV/O6d4tM/FIKtzL2d4HHIxrq77C+LI5d81Idnv8g388jSu/w/W99Q44P1Y5acqWqQLkptBIVmcFkX4IE4kaDmisPFbupAAvFCTiWZhnX4bUF8ge6cjVxMDZ0z9qvVBmsPdLvthXZz3RQYIdc1xA81USsm4K7nyXq0HtC1TzSLyLJjgCTIQDGQ1ZXRA+jcBUlKCzX04L
X-Forefront-PRVS: 09888BC01D
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(52314003)(199003)(189002)(377454003)(13464003)(24454002)(230783001)(33656002)(36756003)(50226002)(6116002)(3846002)(68736007)(23726003)(82746002)(8746002)(101416001)(76176999)(50986999)(19580395003)(19580405001)(97756001)(57306001)(47776003)(2501003)(305945005)(7736002)(66066001)(7846002)(92566002)(189998001)(77096005)(105586002)(83716003)(46406003)(86362001)(2950100001)(81156014)(8676002)(81166006)(1730700003)(69596002)(2351001)(106356001)(97736004)(586003)(5640700001)(4326007)(2906002)(110136002)(53416004)(50466002)(93886004)(42186005)(104396002)(42262002); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR05MB2507; H:plangevin-sslvpn-nc.jnpr.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; CAT:NONE; LANG:en; CAT:NONE;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; CY1PR05MB2507; 23:FIhVCqY9Bg6DHOjPU6XHcMnugBvrLu8Pp0JR7qhcTRyHNC+dyg7VUuK2CeSue14baznA7qQq0Jgpka36u9Q/TwmzQpubRjgtFUMrjhv7kzx87K0D6sYvPdbcUWiVE405H7nIvvEvrBSJdsvo2nt9w9Mn9lmhnRMmlPs0LSCyOIfsbd+gSqRF7I6aTLTp6l3OupK7D7vGzRzcRZpnHiJwwr9ny/ZnOkxbUUUkx8PMc+7txL38g9lr2iSGiYJGGvYxaKK0yXSuikKOhhqNdzOVAZu73JlHQvavvJE4dCuxlWMMMViLR+DsSmiJvN+2sGN/QpMbRBU/1GRdDfXAE7KodBR3JT5LD0F/cTLsJBglWl6rYub1/TfkBogzN4lPZBtlxx18Y9WsP7X/y0Hy7ylrn+oVuEa2a9WD3tRkxWi7pMYAPCAIT35DplHOsHI47++4g93lkOBx4G8EuOETMbAKJOTURqd9t52nPUAB7Xe2ss+MzmHhNQIydcFgxhHUdEbVtp78fXqlN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QbfMHWWv7n6s31/Pa1X6PCcZVvoJTmDYg7vBr70/H7zACbM8tGX5lUcU1zFSUn7YZzKSk+VWf5/hGqq8Q09Ar38scdp3zPJOzVn1WlhKTdRqiItcp7DaQZ6RFRwA5A/+fjwTdYygUoajStSZszg83bF/y4wFW3yL2lAUesdeE1Nlgt/ePxvOP3b41f0nJZpzbYm3GfsLiBK3We953dyPC5i6m/OAxnxCBcmBkc6OF0Q=; 5:QKptUjNP180LT4ZJGHjsB/AGXugVBJzQ8WiYXCREVK2seGzBUUrrnm0pbV3nYilZYvj+7A1MaujupAcsSogzCaZ2ETTSrlBEsGSxE2cPgeYWa1JQHj5L+hWkcTx9nawd06X2aGfjFLK9F5qx6v3jew==; 24:Um2O6wdxkfCgIcisR5lxZk/s6X1w6wAKC8MGoqs4F4IxycowMILvBXReZbi4yxKNAgh24Cth/2213+NExeu9IR4mv9z9bCIi+0gpNbHMkN8=; 7:pN8gkXabHykGbp2dWS4KyKFsVqDHgzk3OHF4c2bHiDFP2BRpOYlwO2o7SthN2ynrBEdCO+bHqRF/2d0Lt9Mjxw/MyXOtia7zUMf54Qp8wMOxrRcvK9vj4bwTEaFopYISOawU5v92BVcynsi0frDECD0rwx+VMviPBVzwIcVVO+clgPtG4d7wYBDQBQcVARqqbcKCx2xpiVU4rDgi5TcKzu2uKzceHub/8M+/gXhoninJbaJHm9z+YutfU7d2iJPT
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jun 2016 02:19:02.0395 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR05MB2507
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/-v5LEm3KP-Ftc_cNRJ1_ehhwsbs>
Cc: "Bocci, Matthew (Nokia - GB)" <matthew.bocci@nokia.com>, "draft-ietf-idr-ext-opt-param@ietf.org" <draft-ietf-idr-ext-opt-param@ietf.org>, 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: Wed, 29 Jun 2016 02:19:08 -0000

[removed rtg-dir from cc, seemed excessive]

-05 posted which I believe addresses all comments to date. Please take a look. I've adjusted the diagram per (my understanding of) Matthew's comments. I'm ambivalent about it -- I'm not sure it's clearer, but I did manage to increase the page count :-o. I could go either way, if you have a distinct preference please say so.

--John

> On Jun 27, 2016, at 3:24 PM, Jakob Heitz (jheitz) <jheitz@cisco.com> wrote:
> 
> Fine. Works for me.
> 
> Thanks,
> Jakob.
> 
>> -----Original Message-----
>> From: John G. Scudder [mailto:jgs@juniper.net]
>> Sent: Monday, June 27, 2016 11:53 AM
>> To: Jakob Heitz (jheitz) <jheitz@cisco.com>
>> Cc: Enke Chen (enkechen) <enkechen@cisco.com>; idr@ietf.org; rtg-dir@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
>> 
>> On Jun 27, 2016, at 1:26 PM, Jakob Heitz (jheitz) <jheitz@cisco.com> wrote:
>>>> -----Original Message-----
>>>> From: John G. Scudder [mailto:jgs@juniper.net]
>>>> Sent: Monday, June 27, 2016 9:25 AM
>>>> To: Jakob Heitz (jheitz) <jheitz@cisco.com>
>>>> Cc: Enke Chen (enkechen) <enkechen@cisco.com>; idr@ietf.org; rtg-dir@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
>>>> 
>>>> On Jun 26, 2016, at 7:39 PM, Jakob Heitz (jheitz) <jheitz@cisco.com> wrote:
>>>>> 
>>>>> "An optional parameter with parameter type of 0xFF MUST NOT appear in the
>>>>> list of optional parameters other than in first place and if it does appear,
>>>>> then the optional parameters length MUST be 0xFF."
>>>> 
>>>> And it's a fatal error if it's not?
>>> 
>>> Absolutely. As you say, the session is not up yet.
>> 
>> I don't really mind doing this. I also don't mind not doing it, since it's basically a superfluous check -- the
>> Optional Parameter Type is sufficient to fully determine that the message uses the extended format. My slight
>> preference is for not doing it, since it's a few more lines of code (for the check), for a condition that is
>> exceedingly unlikely to occur, and doesn't matter if it does occur. So why spend the code?
>> 
>>>> (Remember this is before the session becomes established, so the principle of service survival above all that
>> would
>>>> applied in the error-handling spec doesn't apply.)
>>>> 
>>>>> There is really no reason to entertain other combinations and I don't
>>>>> want to have to write code to handle them.
>>>> 
>>>> Is there some reason insisting that the non-extended length field be 255 is better than ignoring it once you've
>>>> determined by inspection of the non-extended parameter type that the extended encoding is in use? The logic would
>> be,
>>>> if the (one byte, non-extended) parameter type = 255, then use the extended encoding, and ignore the one byte
>> non-
>>>> extended length field.
>>>> 
>>>> If we made this change, the spec would say, MUST send non-extended length as 255, MUST ignore on receipt if the
>>>> following eight bits (the non-extended type field) are 255.
>>> 
>>> To Enke's point, can we make the non-extended length at least 1?
>>> Legacy speakers...
>> 
>> Yes, you will see my suggestion was to make the length 255 on Tx (as you and Enke point out, it has to be >= 1, so
>> might as well choose 255 as any other value, and it jumps out nicely in a packet dump). Up for discussion was
>> whether to enforce the value on Rx, or ignore. You've spoken in favor of enforcing it, although I'm not sure what
>> the reason for your preference is.
>> 
>>> In addition: An otional parameter of type 255 MUST NOT appear in the
>>> list of optional parameters other than in first place.
>> 
>> Good point, thanks. I'll work something like that in.
>> 
>>> Should we set a maximum length of 4k?
>>> There will always be smaller boxes wishing to speak BGP that will never support extended messages.
>> 
>> I'm inclined to leave this alone -- if you can fit in <= 4k you will. If you can't fit in <= 4k, a peering with such
>> a box isn't going to work regardless. So either it'll be fine anyway, or it won't work nohow.
>> 
>> --John