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

"John G. Scudder" <jgs@juniper.net> Mon, 27 June 2016 18:53 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 50DE312D77F; Mon, 27 Jun 2016 11:53:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, 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 wvgQMECmOdGd; Mon, 27 Jun 2016 11:53:10 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0786.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::786]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0868912D78A; Mon, 27 Jun 2016 11:53:09 -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=FcESR+/kKqhIbi0WXdMtQuXXSanNHxXHO4qFenThp4o=; b=aFnxIAa2yRoQXhEXGeQZ1uf/FlJI+x2ByjrBhG2wtt3P1vXVU6jBaM4IZOcMWoA6AGrnFGMDjPIO1GUO8lsbuPvfOELh4nIw6ypDWEVlzOokrdPU0xTWHnQyMt0fGU/1YMtFLqFuWUd23eDRVDX0f0YMIKztZUl84xSo3EeYCJs=
Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=jgs@juniper.net;
Received: from plangevin-sslvpn-nc.jnpr.net (66.129.241.13) by CO2PR05MB2502.namprd05.prod.outlook.com (10.166.95.148) with Microsoft SMTP Server (TLS) id 15.1.523.12; Mon, 27 Jun 2016 18:52:50 +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: <bbc25621e7a641b7b96e8b22d06c20c6@XCH-ALN-014.cisco.com>
Date: Mon, 27 Jun 2016 14:52:43 -0400
Content-Transfer-Encoding: quoted-printable
Message-ID: <19F86A8D-2414-42BB-B289-ED84AB945DEE@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>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
X-Mailer: Apple Mail (2.3124)
X-Originating-IP: [66.129.241.13]
X-ClientProxiedBy: CY1PR19CA0037.namprd19.prod.outlook.com (10.162.38.175) To CO2PR05MB2502.namprd05.prod.outlook.com (10.166.95.148)
X-MS-Office365-Filtering-Correlation-Id: dbd4fec2-10e4-47cc-6f67-08d39ebc3de8
X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2502; 2:/QVpoUSJXbHQ2GlTH0LIFK1XF8iqasCG0FltOwY0fuDs2+0TiPfzkHpCho0NrWyXbJsCt45I6wCcdlMBzAZ+dtIwBOUbpI/hqV0cyFzUlnIWSRNyTlwH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UmQe/6tnRbHA4QkJ+rc/cw/BUmID3s/4Os85Yj9MUS/0l3jTZW41PssWi7Y0AJKklGx1m2qJFaaWh8PVOCZLED48yhrytjudyKQtd6xJQ2PFcA/TmNGaGpwxjgmbmDxDWu5FD82P4OtZ3/XXRGZNH8LKctuZ/cfjDbxdpA7isu13PiRys
X-Microsoft-Antispam-PRVS: <CO2PR05MB250210EBC83E0577248AAA71AA210@CO2PR05MB2502.namprd05.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:(82608151540597)(95692535739014)(138986009662008);
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:CO2PR05MB2502; BCL:0; PCL:0; RULEID:; SRVR:CO2PR05MB2502;
X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2502; 4:jvuvTHmo38FLBi3yfyj7KOzrgDDpjMP9RCuOv34yLGvpzgtv+3ddXdSEeT3bn5pqeDbedX4crg7yeJpMGAjb33GodUiWz8MUZptFv/YeVv0IUlLIVN0EFTAd79m8zw1i7u6EyM/4gEDtOAMlrhN/eZXoNeyAmyxRWhZz/lT/nu7L73QltW3wol0iW2awmLDJOGQhzalZd4k4NaE7/ziRZmrooxHUsyPwDNz9EhYG96/cqHs/zTxl+3C6000SJLphPMKXxNxomf0c8vPiQwQmM+l9atOcB7fWuo0+F2BNE1M4czwp+wKg7Q0EPDf+Qf4tvV2SW6myjjxIoHGmSc727+64U4g0UA0f4H0cxWXmFllkEBi8bwKcBOCJgPz9ER8nTJkQ8h77PfWFFV/l/8xylKX+RKp3fEfGv/OWKT6apfse1q9mGufVa88ugnZQXfJL7IPRSmPekIjMpKl0LjClawpC/di8XBifLHREsWmdrB7EA5zmGMj1LjfK78vTs7W5
X-Forefront-PRVS: 09860C2161
X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(7916002)(377454003)(52314003)(199003)(13464003)(24454002)(189002)(50986999)(50226002)(7736002)(6116002)(66066001)(93886004)(68736007)(110136002)(19580405001)(53416004)(105586002)(81166006)(57306001)(101416001)(86362001)(47776003)(69596002)(19580395003)(7846002)(97736004)(76176999)(305945005)(8746002)(82746002)(2950100001)(81156014)(46406003)(33656002)(83716003)(189998001)(2906002)(23726003)(77096005)(8676002)(92566002)(36756003)(42186005)(586003)(97756001)(106356001)(230783001)(50466002)(4326007)(3846002)(42262002)(104396002); DIR:OUT; SFP:1102; SCL:1; SRVR:CO2PR05MB2502; H:plangevin-sslvpn-nc.jnpr.net; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
Received-SPF: None (protection.outlook.com: juniper.net does not designate permitted sender hosts)
X-Microsoft-Exchange-Diagnostics: 1; CO2PR05MB2502; 23:ljYHrOUyqxlrKy0BrbI0I4czgQ6nv6/8heeVxMLYm5WpbI/abWgppuI0w/9z/HiZMkgI7/Slmuno+SEO+BZRRb+RhFJlIwjjcBz7YhMgRZA16IuOOFeSul01y1uAiV3PU1HhLlkWR6Nm/8U+vQySezPqJacPT3mE2mKvqCh89ki1EjYzNi1SsM8SujXZusUlL8+dTiEJcOMQyCNBqDvDNZgR+KiAjmk/q5OoW8NZT5ewqoaHcI3Ei4+qpGXnOPGWAWKMhcwkwUejHhfceMdE+AV7fPs6ODtjIGOsZ0pfh/xr/x6NZ8IoCBJpFvuhENZgKkRzr4AFSDO6YdtvhW7iurASSD1bua4KDvIx08EJyMaqmGYle/IOnSiY6ucg/txYeOYmBSRjOc5mE8UwZFv2iU+nZ472G5a3iHcxaDTpRYGd3KzRxzloWSc0nOLMKhLb7bGP2dD6WBCukqPpRRSDTB6obfwFhT/Y9ulPL2fzAt4RaQnGhbDwSOHy9WptVBQYulu27zlkkem/B68Vi0Jqt7vgZusKI7losNtfdyoL2MRFyRQSpfv0vwEneGl/fBTYTa5oJCCMdZKxj/VsfESE9mjcROS7IovtiqVB5nVIkQL3ThPVeWnLZ+So6LF6zVE8QNiuCY33KowkK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J6TeKrp2MKL8=; 5:8i4ViUV3EfKT3CqPBOpaz/woenzyLVkJIiXPT83pqc+CheEOLkqR/QudDQph2R4smCDjvYeqcy+//PHkp3TkZ42/Gl6RBgguyZ9Nrm7yC/7X6Lp3xoidgKJwwOdzfIabY33C7izKAuYnDuMTtXT7bA==; 24:rOh197Kkd6v7+Qe42dgq6U0Lo18i/8N8OB6jA5IAqX5td/7DYf+yuZnqUw0dqyJ+VLskYQPDUyd3BiyDe5qzmnjcntqI+vLj7A7PGhMngq0=; 7:fLU6E3mr4e2aJOvZQh/lwGaCtlwOxSfSCIpAcGu5vV+UPLrtRbsarHHHPxGLRej+QhCQ5uVF76LORsi7M93OGM559YNsa+dMRbYnGE21UJV2k0nzxgMb0TNy8omfg7/FUH4+Yt/FjXuX/FOegsMdwHUIv0YXFtirbIDEJDv21dx8WoypU9u5FDcZ/ogUfI5n0dsJ7DarJvmZGyrs5I4ERbUtH1Gb3JXg6jzDxpgzZpEBLoww7PTDcy+eJ6bMB5Z0Jx6PkvyGD4HP3zIufgGnxw==
SpamDiagnosticOutput: 1:99
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: juniper.net
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2016 18:52:50.6504 (UTC)
X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO2PR05MB2502
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/KCD_S4yr_y5c_Id_8wwH7oh-C0M>
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: Mon, 27 Jun 2016 18:53:13 -0000

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