Re: [Idr] WG Last Call foir draft-ietf-idr-bgp-extended-messages (11/12 to 11/26)

Robert Raszuk <robert@raszuk.net> Sun, 19 November 2017 22:04 UTC

Return-Path: <rraszuk@gmail.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 B5110120454 for <idr@ietfa.amsl.com>; Sun, 19 Nov 2017 14:04:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.699
X-Spam-Level:
X-Spam-Status: No, score=-1.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 mhvsJR3_WMsw for <idr@ietfa.amsl.com>; Sun, 19 Nov 2017 14:04:53 -0800 (PST)
Received: from mail-wr0-x236.google.com (mail-wr0-x236.google.com [IPv6:2a00:1450:400c:c0c::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B83AB12009C for <idr@ietf.org>; Sun, 19 Nov 2017 14:04:52 -0800 (PST)
Received: by mail-wr0-x236.google.com with SMTP id l22so6447396wrc.11 for <idr@ietf.org>; Sun, 19 Nov 2017 14:04:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=NGjQbKcd99ej1zMenAwN4uz5oWDdWl1dRC4ZFfoNG78=; b=X2HeNkES2EXKmW04d26tJ3V/rJBUO77eZesrhE82vkECFPjFX3a8aHspzRBUTz9dvd cx/HdiI+vQDVB84eR3obAAa5CvxTW29dOTH08P8Rk/AWxuImVlpgIHy9vBeGh1BEzFSh coHIQLsxAQoPDtiw80xdR3L55m2FqOGtnNNzvdLgedu3uQQOE2k4SF2Ok5CHHkDmH+4M 6pfJA3WXPuyrLh30M+xDBHSVYAa4p2N3riG9gGEksnMC5iucjRsRvmCpRBTb3CUED+1x k3Pns77S7v6+pnDwvmqJgddlgYir+S7UVU4EB+kks+aECNL3y/9A3U6kTuFP5r1mkKcZ IKZw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=NGjQbKcd99ej1zMenAwN4uz5oWDdWl1dRC4ZFfoNG78=; b=OnirnvJbd5a3FHXaj58oq9mSIwYBlgbMpNT4nKDmztf+ltVvp9Tbfv0h4RaCapMgBB KS724+GqFPxHzq1k28iwrQQ7csA/dNinAIHw7GltMPbGu401l89fzIER3EoesNKQbxij eSM7E511dNk28Fs1B22PtuHb6mBLl3pgSMEZx/WD83pM6VE4EMjfkMktF7n6MFf51BF+ vs7PSiA9gFmd2YGALXKxKr4eoEKhAPrYf/Vyz+L1WPG+csBajEC7zw5P0Vk1PjZwv4SC jBYkSUyyd5x5S5PPY9gyNZyCdnWznhLAbsv5t24SoGdxxDPpfdDfqLCeVdr51RRjJGMm IDMw==
X-Gm-Message-State: AJaThX53QtnK13X5EgeFF5ZgtbXaFoOHqXfs1vRm8+A7YrukhOd0xGB8 joYNLL/EF99myOZok26C1YsjAoWx+lg0ujiArCc=
X-Google-Smtp-Source: AGs4zMaOEfWNVxL20XngituQraTN+0A3MhRXgUA/Ju5PUb/k2Iw8a4Z7/rW/niemNrG1QCOUc6rt3LMuZjxKkOv6OoU=
X-Received: by 10.223.183.39 with SMTP id l39mr1554440wre.175.1511129090859; Sun, 19 Nov 2017 14:04:50 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.28.54.217 with HTTP; Sun, 19 Nov 2017 14:04:50 -0800 (PST)
In-Reply-To: <20171117185505.GD16801@Vurt.local>
References: <000901d35c08$3f12d950$bd388bf0$@ndzh.com> <CA+b+ER=PnW0-Qr9K4KTY4OAQC6-PQqRcbtc4yABXeRoz0xhw5A@mail.gmail.com> <43b50b8982fe411fa275b294c210edfa@XCH-ALN-014.cisco.com> <13899_1510805003_5A0D0E0B_13899_270_1_53C29892C857584299CBF5D05346208A478F0F5B@OPEXCLILM21.corporate.adroot.infra.ftgroup> <5de035082ecf4b458c53dd543ace3835@XCH-ALN-014.cisco.com> <CA+b+ER=C+e5ri-0QJGnvNmsJ3Zm=_qrMYqAKTxc1YLSwmNJVgw@mail.gmail.com> <20171116121715.GF18459@Vurt.local> <CA+b+ERn_jhUhRUFh+z-d4NDfpmdVbNBmQQ8YtKex2=WC9HwFCw@mail.gmail.com> <20171117185505.GD16801@Vurt.local>
From: Robert Raszuk <robert@raszuk.net>
Date: Sun, 19 Nov 2017 23:04:50 +0100
X-Google-Sender-Auth: JZFudKfRBJuDCty65XpWFuD9JLc
Message-ID: <CA+b+ERm11_r7bjZVHDSW6FHas1ZkYJtkSZhsCJF=ve1bWY_KPA@mail.gmail.com>
To: Job Snijders <job@ntt.net>
Cc: "Jakob Heitz (jheitz)" <jheitz@cisco.com>, Susan Hares <shares@ndzh.com>, idr wg <idr@ietf.org>
Content-Type: multipart/alternative; boundary="f403043868bcaba838055e5d28bf"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/yVX-Mbh9rnK_W2P-OZtKmdZZRT0>
Subject: Re: [Idr] WG Last Call foir draft-ietf-idr-bgp-extended-messages (11/12 to 11/26)
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.22
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: Sun, 19 Nov 2017 22:04:55 -0000

Hi Job,

The new proposed text is an improvement, but it still does not describe
what a BGP speaker should do when receiving any existing attribute (say
extended community) packed with RTs exceeding in total 4K and needs to send
it to "old" peer.

IMO we do need to define the recommended behavior before we progress this
to RFC. Just like we did so in migration to 4 octet AS in rfc6793.

Possible options:

1. Drop the update (bit ugly as such drop will be silent .. other then
local syslog/error report)

2. Drop the big attribute and insert defined here standard community or
some other marker indicating MSG_TRUNCATED info.

More ?

Thx,
R.

On Fri, Nov 17, 2017 at 7:55 PM, Job Snijders <job@ntt.net> wrote:

> Hi Robert,
>
> On Thu, Nov 16, 2017 at 02:28:51PM +0100, Robert Raszuk wrote:
> > > How is a new BGP message type any different than negotiating through
> > > a capability whether an extended message can be handled by the peer.
> >
> > Because it is not about what your peer can handle. It is about what
> > *all* BGP speakers can handle and what to do when you get to narrow
> > street with this truck.
> >
> > it is mainly about not breaking what works today as discussed already
> > when someone will send 5K of Large Community Attribute.
> >
> > Maybe rather then new message the draft could simply say that none of
> > existing BGP Attributes (defined before this RFC goes out) MUST ever
> > exceed 4K in total and only the new attributes will be allowed to be
> > big if they want - then I am happy to keep all in current UPDATE msg
> > type. And the new fat attributes specs as Bruno suggested must
> > describe on their own how to handle peers with only 4K messages.
> >
> > Peace ?
>
> This is an interesting angle. Your proposal allows for the specification
> (and hopefully more code) to start shipping, and at a later point the
> flood gates can be opened (for 'old world' attributes) if the WG deems
> tjat appropiate.
>
> Proposed text:
>
> ----
> OLD:
>     A BGP announcement will, in the normal case, propagate throughout
>     the BGP speaking Internet; and there will undoubtedly be BGP
>     speakers which do not have the Extended Message capability.
>     Therefore putting an attribute which can not be decomposed to 4096
>     octets or less in an Extended Message is a likely path to routing
>     failure.
>
> NEW:
>     A BGP announcement will, in the normal case, propagate throughout
>     the BGP speaking Internet; and there will undoubtedly be BGP
>     speakers which do not have the Extended Message capability.
>     Therefore putting an attribute which can not be decomposed to 4096
>     octets or less in an Extended Message is a likely path to routing
>     failure.
>
>     It is RECOMMENDED that BGP protocol developers and implementers are
>     conservative in their application and use of Extended Messages.
>     Future protocol specifications will need to describe how to handle
>     peers which can only accomodate 4096 octet messages.
> ----
>
> Kind regards,
>
> Job
>
> ps. Since I don't think we can say "we'll never need larger than 4096",
> I think it is important to get this one shipped. The curious thing is
> that we'll need to have code deployed in the wild, _before_ any
> application can start using it. The WG LC is about a reasonable proposal
> to bump the limit in a way that is incrementally deployable (e.g.
> capability negotated).
>