Re: [Idr] BGP Auto-Discovery Protocol State Requirements

Tony Przygienda <tonysietf@gmail.com> Fri, 19 March 2021 10:39 UTC

Return-Path: <tonysietf@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 C9B283A0D58 for <idr@ietfa.amsl.com>; Fri, 19 Mar 2021 03:39:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 nw2pvmA5kj80 for <idr@ietfa.amsl.com>; Fri, 19 Mar 2021 03:39:31 -0700 (PDT)
Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 CC8693A0D5A for <idr@ietf.org>; Fri, 19 Mar 2021 03:39:31 -0700 (PDT)
Received: by mail-io1-xd35.google.com with SMTP id r193so5527785ior.9 for <idr@ietf.org>; Fri, 19 Mar 2021 03:39:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xEeUi9ugkPxaeO5Fzbr0mgStHimSQ7+ziWBRJHoqFW4=; b=QuthGgH4vHQngJnb71oNjTCPbN9/KoG3yCDd7l9eWiQ5YCNVxwXFgD6xdTY66+dfIt LV0zTabR2tWGQA6bXhGrZkqHZZ+CQHsvEzQhh1ItRnfh+CheD5R+5v6o2PjJQ710YvUw +nub+YKHmW6OZmzDDDs6JumZi9123MI8ftk6UOivkKpj1jjDvCBX51JnpjgZskNv1dnt 8G4eSIAdcUDd/FEzychfVnPrxcdX2gMTiA0WuQs1t4kMr/5kcuw+59ip2iJeu3CRKLwV K9dEMNky0N+VKAllxIYs58MgPu9RJIe8RsMDjK5h8v4/kzVVyOGmxMvfOlMfM5BFhQxn /7YA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xEeUi9ugkPxaeO5Fzbr0mgStHimSQ7+ziWBRJHoqFW4=; b=qkU6AnPVFjGRqJhlztjvbOA7Sp8LtS4oiAskFDnuP0SVoQ522ThkQtJunwHkiPO9aU C/58dnC+l5SCMJq/cpU4pRkLX8ay4r0xuj9wmQDoECuh9QP5CLti2n08xEAYJ0lXwtrO zmStvO8psImQarvoprpbRfJP13G2gY2KA9Ds3vt0BGUaJ2I2gehr6Ayn0rxWiVbjXKpv ARKKuwdSsTd3A2FJqX9taKtI3BwgerzOY/FCo3Q1kAG7rxpviSUqY1+T96MKJcItfuvL QpsaYVomcAZGPmj1T9K/ipe7zmBRPqUKDoVWDRGx7sc/S2YDZNyjPkBCVp7Y/SGEDfUk 7q7A==
X-Gm-Message-State: AOAM532tUwW+VxQrRIEsdgw59KDQmNyF1llc1lIxv2PO39Or5BpcqQjS 6aEWaveV0vaNM+hNKCW1+FY24rGsw77P1aj2Lpg=
X-Google-Smtp-Source: ABdhPJyjc8z4b4nTK+HSJ1uoHyrUguNRHVH29bLkMZXFqhBfpMIJC4CdGvfxOdMGgk0mJ1ZmgRmdqHCPKaD3Xd6joDo=
X-Received: by 2002:a5d:8149:: with SMTP id f9mr2233628ioo.191.1616150370650; Fri, 19 Mar 2021 03:39:30 -0700 (PDT)
MIME-Version: 1.0
References: <20210316210203.GC29692@pfrc.org> <20210318191936.GF29692@pfrc.org>
In-Reply-To: <20210318191936.GF29692@pfrc.org>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Fri, 19 Mar 2021 11:38:54 +0100
Message-ID: <CA+wi2hM6WNrYRCsOvTCSFr3E+_eiE6FPvdxh0A6Oqs6_p3uh2Q@mail.gmail.com>
To: Jeffrey Haas <jhaas@pfrc.org>
Cc: idr wg <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000bf0da505bde154ba"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/m2UF57HUtgsQhi3wZbFrNbz2nac>
Subject: Re: [Idr] BGP Auto-Discovery Protocol State Requirements
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: Fri, 19 Mar 2021 10:39:34 -0000

Once you go to version number the issue of underlyng transport behavior
starts to come to the fore. UDP & sometimes L2 can misorder, _badly_, from
experience. In most extreme cases in virtualized environment I saw UDP
being buffered & misorderd up to 5 seconds delay. That''s surely extremely
and until seen bits hard to believe but here you are and you start to look
once your adjacencies with 3 sec lifetime start to bounce & do _really_
weird stuff on AF negotiation (since one node talks to the other being 5
sec in the past ;-)  I debugged that one by establishing a baseline clock
using reflected numbers in hellos because otherwise none of the logs made
any sense ;-)

-- tony

On Thu, Mar 18, 2021 at 7:58 PM Jeffrey Haas <jhaas@pfrc.org> wrote:

> Further off-list conversation with Tony Przygienda offer a related
> observation on the BGP Session State: They serve as the "offer", and the
> management of its lifetime is to a large extent the critical detail covered
> by the "retry" behavior.
>
> This potentially creates an option between 1 and 2 below.  A BGP
> Auto-Discovery listener that is implementing "discover at OPEN" mostly
> needs
> the hint that "something has changed" for the parameters that may be
> discovered at OPEN.
>
> A version/generation or similar field in the auto-discovery protocol would
> suit this purpose and permit a "discover at OPEN" BGP Speaker to minimize
> the load upon the auto-discovered device.
>
> This would permit the entire set of BGP Session Protocol State to be
> omitted
> from the protocol, as long as "discover at OPEN" was acceptable.  It also
> addresses the consistency issue noted in section 3.6 of the
> autconf-considerations draft.
>
> ---
>
> Note that the majority of proposals analyzed for BGP auto-configuration in
> Appendix A published some subset of the state in the BGP Session Protocol
> State requirements.  Authors of those proposals may wish to comment on
> their
> reasoning for that state in their protocol.
>
> -- Jeff
>
>
> On Tue, Mar 16, 2021 at 05:02:03PM -0400, Jeffrey Haas wrote:
> > Once you have the capability of bringing up a BGP session, you have to
> > decide if you even want to.  There are at least two design choices, each
> > with specific consequences:
> >
> > 1. The implementation is willing to determine if a peer is acceptable or
> not
> >    based on the information exchanged in the BGP OPEN message.  Call this
> >    "discover at OPEN".  A further implication of this mode is the
> >    implementation must be willing to service incoming sessions that may
> drop
> >    just so they can figure out if they find each other mutually
> agreeable.
> >    This becomes a scaling discussion.
> >
> > 2. The implementation wants to know the properties of its potential peer
> to
> >    decide if it wants even try to bring up a session.  This enables "peer
> >    selection".
> >
> >    The good property is that the peer sending such messages doesn't have
> to
> >    service sessions only to immediately drop them.
> >
> >    The bad property is that this increases disclosure of some BGP
> >    information to parties that may not eventually be permitted to peer.
> >    (Security consideration.)
>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>