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

Robert Raszuk <robert@raszuk.net> Thu, 16 November 2017 08:00 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 1AE61129A89; Thu, 16 Nov 2017 00:00:08 -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 eg3ETfXUBmR4; Thu, 16 Nov 2017 00:00:00 -0800 (PST)
Received: from mail-wr0-x22f.google.com (mail-wr0-x22f.google.com [IPv6:2a00:1450:400c:c0c::22f]) (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 7D6A912947C; Wed, 15 Nov 2017 23:59:59 -0800 (PST)
Received: by mail-wr0-x22f.google.com with SMTP id l22so22580277wrc.11; Wed, 15 Nov 2017 23:59:59 -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=UTWkfs32R9kBlL9hvA438YjCQeLTrCKCh+VV1X6Mx58=; b=PsP4OxVa07KAPBJOfN7PwzsT9qA2og6lErhzSTmDin47zKhGNN1JizRxDijsY7Cgiq JreFTjLW5sxRSaJwo4U0ugw37Od2wEfPr8LZw0oxNQIKSvhdsqCTgRV5bAmmmzBTX2Ug aaASjMG4n8iMMVdYYrAfPAIRFoqLDflj05T0/h6oDscUAYtZO9S0KKE5pJfgJC0nX/7n kCkqKWcZ+hMnvvqHJBG0fit1UqEwjgQiN+Unxp5MO4Y1ijkiypfA0jtsJQkrBdraRHVx vxNH/1VfN28oGi+vuUyaY9vL6Kq7/8fk8tB7eUx61tYH9amYrcmfrC23ZF/cH1tezb7E ebVg==
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=UTWkfs32R9kBlL9hvA438YjCQeLTrCKCh+VV1X6Mx58=; b=mswTTYHZENWkDXZ0iP/x7Us5MT3naKchevWjXRqYdfD2Euu0JjADcMolv1HLanDC9M fijZOob5/JMtyOdB5u4dO3hgpYfO0LjRFVS6IfvLpoMMUoz3jLhenWXrS+e9vYRXACaU aJvJX3VfNea9LG8c60/LhvDV3+aB+ACsfUzy9HxwoHL2zxDMqLvt51NaY5vma2Al3Jag 0fWd0pjDnntl133Lpy9E9+T51PjOl0Lpnw1F54wae1sr2YZJ1qEp/ygUmknsH/jsIZah uOye4wXDCsNkdSkdOAPFG5SD1BH1u5n0tixIPrt4Xscc0Dy3CRwtm3SgBU+uS1XWFN3R Ssug==
X-Gm-Message-State: AJaThX6O5JTzX0OSIWuzpv+AVsGkXW++MEcMAP+u3RTb2VQHh3rIQ9bS at6xR+mfpgPPDkI/RSscEKQxULdRdR0o8iN/nDE=
X-Google-Smtp-Source: AGs4zMYRzexuQY4nTEdlZDKoGttcMXIXZN3qabHfJy6VcmhszJCr42/5qyoYqN/HL+iRrKR7+qmh4pSJstsFoyuk/rw=
X-Received: by 10.223.171.6 with SMTP id q6mr638825wrc.117.1510819197623; Wed, 15 Nov 2017 23:59:57 -0800 (PST)
MIME-Version: 1.0
Sender: rraszuk@gmail.com
Received: by 10.28.146.135 with HTTP; Wed, 15 Nov 2017 23:59:56 -0800 (PST)
Received: by 10.28.146.135 with HTTP; Wed, 15 Nov 2017 23:59:56 -0800 (PST)
In-Reply-To: <5de035082ecf4b458c53dd543ace3835@XCH-ALN-014.cisco.com>
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>
From: Robert Raszuk <robert@raszuk.net>
Date: Thu, 16 Nov 2017 08:59:56 +0100
X-Google-Sender-Auth: 5fIIAEsRPGPrR9h80s8vFGDBEjs
Message-ID: <CA+b+ER=C+e5ri-0QJGnvNmsJ3Zm=_qrMYqAKTxc1YLSwmNJVgw@mail.gmail.com>
To: "Jakob Heitz (jheitz)" <jheitz@cisco.com>
Cc: bruno.decraene@orange.com, Susan Hares <shares@ndzh.com>, idr wg <idr@ietf.org>, "idr-ads@ietf.org" <idr-ads@ietf.org>, "idr-chairs@ietf.org" <idr-chairs@ietf.org>
Content-Type: multipart/alternative; boundary="94eb2c1cb82c9823e5055e15012c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/3YEiWKa1p1hi6Wqs4sy7HDd2qQs>
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: Thu, 16 Nov 2017 08:00:08 -0000

Indeed this is the problem.

My main concern is not about use by new attributes/apps which may not fit
4k msg and which can define what to do when mismatch occurs.

My concern is on the lack of clear definition on what a BGP speaker should
do 5 hops away from the sender when it receives say Extended Community or
Large Community attributes of the size of 6k ? Maybe due to a bug or attack
or xyz ...

Sometimes it is save to drop just such attribute sometimes it is not even
considering currently shipping attributes. And regardless if the attribute
is dropped or entire update is dropped the real sender will have no clue
about it.

As far as proposing text .. one practical option I see which will allow to
introduce extended msg without risk of breaking current networks would be
to define a new BGP message type: "BGP LARGE UPDATE MSG".

You still have the same problem there of handling support between new and
old peers, but at least you are not potentially  breaking what works today
nor are introducing new attack vectors to existing deployments.

//R.




On Nov 16, 2017 14:09, "Jakob Heitz (jheitz)" <jheitz@cisco.com> wrote:

> The reason I went further than that is that with extended messages, it's
> not just about a speaker and its neighbor anymore, it's about a whole BGP
> space.
>
>
>
> We should probably go further still and say:
>
>
>
> BGP speakers that are not using features that specifically require
> extended messages MUST NOT use extended messages.
>
>
>
> Thanks,
>
> Jakob
>
>
>
> *From:* bruno.decraene@orange.com [mailto:bruno.decraene@orange.com]
> *Sent:* Wednesday, November 15, 2017 8:03 PM
> *To:* Jakob Heitz (jheitz) <jheitz@cisco.com>; Robert Raszuk <
> robert@raszuk.net>; Susan Hares <shares@ndzh.com>
> *Cc:* idr wg <idr@ietf.org>; idr-ads@ietf.org; idr-chairs@ietf.org
> *Subject:* RE: [Idr] WG Last Call foir draft-ietf-idr-bgp-extended-messages
> (11/12 to 11/26)
>
>
>
> I was thinking of something more along the lines of
> https://tools.ietf.org/html/rfc7606#section-8 e.g.
>
>
>
> § Guidance for Authors of BGP Specifications
>
>
>
>    A document that specifies a new BGP attribute that may not fit in a
> 4096-octet limit MUST provide specifics
>
>    regarding how to advertise a BGP message larger than 4096 octets to a speaker that does not support Extended Messages. In particular whether the removal of the attribute is allowed/advertised or not. Trade-offs are likely similar to the ones discussed in RFC 7606. In particular, if the
>
>    attribute in question has or may have an effect on route selection or
>
>    installation, the presumption is that removing it is unsafe unless
>
>    careful analysis proves otherwise.
>
>
>
> --
>
> “Multi-octet fields MUST be in network byte order.”
>
> Possibly a reference could be added, specifying this “network byte order”. (especially for a MUST)
>
>
>
> Thanks,
>
> Regards,
>
> --Bruno
>
>
>
> *From:* Idr [mailto:idr-bounces@ietf.org <idr-bounces@ietf.org>] *On
> Behalf Of *Jakob Heitz (jheitz)
> *Sent:* Thursday, November 16, 2017 3:24 AM
> *To:* Robert Raszuk; Susan Hares
> *Cc:* idr wg; idr-ads@ietf.org; idr-chairs@ietf.org
> *Subject:* Re: [Idr] WG Last Call foir draft-ietf-idr-bgp-extended-messages
> (11/12 to 11/26)
>
>
>
> Good point Robert. How about adding something like:
>
>
>
> Certain features used by some BGP speakers require the use of extended
> messages.
>
> Such features are indicated with a BGP capability.
>
> If a BGP speaker sends an extended message to a second speaker, but that
> message
>
> does not use a feature that requires extended messages, then the contents
> of that
>
> message may not be distributed correctly throughout the BGP space to which
> that content is targeted.
>
> This is because while the immediate neighbor speaker may support extended
> messages, every
>
> BGP speaker within the said BGP space might not support extended messages.
>
>
>
> For example, a certain BGP feature requires the use of a large BGP
> attribute.
>
> This feature is not supported by every BGP speaker within a BGP space.
>
> BGP updates with the large attribute removed might be acceptable to
> speakers
>
> that do not support the feature, even though functionality is reduced
> without the feature.
>
> If such a BGP update is longer than 4096 octets when the
>
> large attribute is removed, then it cannot be distributed to those
> speakers.
>
>
>
> To prevent the failures outlined above, a BGP speaker SHOULD not generate
> a message
>
> that is longer than 4096 octets if a feature that requires extended
> messages is not used.
>
> Furthermore, a BGP speaker SHOULD not generate a message that cannot be
> reduced to
>
> 4096 octets or less by another speaker that needs to remove the feature
> that requires
>
> extended messages.
>
>
>
> Thanks,
>
> Jakob
>
>
>
> *From:* Idr [mailto:idr-bounces@ietf.org <idr-bounces@ietf.org>] *On
> Behalf Of *Robert Raszuk
> *Sent:* Wednesday, November 15, 2017 5:56 AM
> *To:* Susan Hares <shares@ndzh.com>
> *Cc:* idr wg <idr@ietf.org>; idr-ads@ietf.org; idr-chairs@ietf.org
> *Subject:* Re: [Idr] WG Last Call foir draft-ietf-idr-bgp-extended-messages
> (11/12 to 11/26)
>
>
>
> Hi,
>
>
>
> I am concerned with the lack of clear description of what router which
> supports extended msg should do
>
> when on one side he receives an attribute bigger then 4K and not of all
> it's peers can handle it.
>
>
>
> IMO the below statement is true but a bit too vague:
>
>
>
> "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.
>
> ​"
>
>
>
> ​And the worst part is that the BGP speaker which in fact generated
>
> such attribute ​
>
> be it on purpose or by error will not find out that its propagation has
>
> failed one or N hops away.
>
>
>
> ​Today when one is trying to inject msg over 4K (say due to a bug) it will fail locally,
>
> generate syslog etc ... ​
>
>
>
>
>
> Any comments from authors and WG on that ?
>
>
>
> Thx,
>
> R.
>
>
>
>
>
>
>
>
>
> ​
>
>
>
> On Sun, Nov 12, 2017 at 11:47 PM, Susan Hares <shares@ndzh.com> wrote:
>
> This begins a 2 week WG LC for draft-ietf-idr-bgp-extended-messages
> (11/12 to 11/26).  Please note this draft has at least 2 implementations.
>    Please comment on whether you feel this draft is ready for
> publication.
>
>
>
> Susan Hares
>
>
>
> PS – the request for this WG LC is at:
>
> https://www.ietf.org/mail-archive/web/idr/current/msg18801.html
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>
>
>
> _________________________________________________________________________________________________________________________
>
>
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
>
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
>
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
>
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
>
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
>
> they should not be distributed, used or copied without authorisation.
>
> If you have received this email in error, please notify the sender and delete this message and its attachments.
>
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
>
> Thank you.
>
>