Re: [Idr] WG Last Call on Extened Message Support

Claudio Jeker <cjeker@diehard.n-r-g.com> Tue, 12 March 2019 13:26 UTC

Return-Path: <cjeker@diehard.n-r-g.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 E0C9F1277CC for <idr@ietfa.amsl.com>; Tue, 12 Mar 2019 06:26:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham autolearn_force=no
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 GKoSl0n7MsyX for <idr@ietfa.amsl.com>; Tue, 12 Mar 2019 06:26:17 -0700 (PDT)
Received: from diehard.n-r-g.com (diehard.n-r-g.com [62.48.3.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5B01B126C87 for <idr@ietf.org>; Tue, 12 Mar 2019 06:26:16 -0700 (PDT)
Received: (qmail 27527 invoked by uid 1000); 12 Mar 2019 13:26:12 -0000
Date: Tue, 12 Mar 2019 14:26:12 +0100
From: Claudio Jeker <cjeker@diehard.n-r-g.com>
To: Randy Bush <randy@psg.com>
Cc: Bruno Decraene <bruno.decraene@orange.com>, Interminable Discussion Room <idr@ietf.org>, Susan Hares <shares@ndzh.com>
Message-ID: <20190312132612.GA34314@diehard.n-r-g.com>
References: <16873_1548768802_5C505622_16873_491_9_53C29892C857584299CBF5D05346208A489AE8F1@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <024a01d4b7d8$f7925b90$e6b712b0$@olddog.co.uk> <4052_1548770128_5C505B50_4052_60_1_53C29892C857584299CBF5D05346208A489AEA6C@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <01a201d4c3ce$b6e6df10$24b49d30$@ndzh.com> <17281_1550132953_5C6526D9_17281_161_1_53C29892C857584299CBF5D05346208A489D3D92@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <00c901d4c489$8f311830$ad934890$@ndzh.com> <31634_1550226311_5C669387_31634_352_1_53C29892C857584299CBF5D05346208A489D6640@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <021401d4c9f9$8629c0f0$927d42d0$@ndzh.com> <5261_1550853971_5C702753_5261_459_1_53C29892C857584299CBF5D05346208A489E3592@OPEXCAUBM43.corporate.adroot.infra.ftgroup> <m2r2befmzq.wl-randy@psg.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <m2r2befmzq.wl-randy@psg.com>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/FSUMSLlt3dZiLLVG8BdY6heDFaM>
Subject: Re: [Idr] WG Last Call on Extened Message Support
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 12 Mar 2019 13:26:19 -0000

On Sun, Mar 10, 2019 at 02:17:13PM -0700, Randy Bush wrote:
> i found your and susan's extended messages rather hard to follow and
> therefore hard to apply to the once simple draft.  i have done what i
> could.  simple comments, without quoting so much that it is impossible
> to decode, appreciated.
> 

I appreciate the new paragraph since it seems to be very clear:

   If a BGP update with a payload longer than 4096 octets is received by
   a BGP listener who has neither advertised nor agreed to accept BGP
   Extended Messages, the listener MUST treat this as a malformed update
   message, and MUST raise an UPDATE Message Error (see [RFC4271] Sec
   6.3).

but it seems to be contradicting section 5. Error Handling a bit:

   A BGP speaker that has the ability to use Extended Messages but has
   not advertised the BGP Extended Messages capability, presumably due
   to configuration, SHOULD NOT accept an Extended Message.  A speaker
   MAY implement a more liberal policy and accept Extended Messages,
   even from a peer to which it has not advertised the capability, in
   the interest of preserving the BGP session if at all possible.

As somebody who would be implementing this I'm rather confused and in my
opinion the interpretation of these paragraphs is to open.
I would prefer if it is clear that only if both BGP speakers advertised
and agreed on extended messages they will accept them. Any other
combination should result in RFC4271 behaviour and a payload longer than
4096 octets will be treated as an error. Adding more optional behaviours
increases (testing) complexity and honestly I would prefer to keep this
as simple as possible.

I was hoping that draft 28 would also include something along the lines of
Susan's proposal to be explicit about how to handle over sized messages
(treat as withdraw or attribute discard as per RFC7606). For me this is a
requirement to be able to implement this into OpenBGPD since without this
defined the error handling is unclear.

-- 
:wq Claudio