Re: [Idr] BoQ

Tony Przygienda <tonysietf@gmail.com> Tue, 25 July 2023 18:13 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 A4F57C14CF18 for <idr@ietfa.amsl.com>; Tue, 25 Jul 2023 11:13:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level:
X-Spam-Status: No, score=-2.094 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vSQDZnFScvrM for <idr@ietfa.amsl.com>; Tue, 25 Jul 2023 11:13:40 -0700 (PDT)
Received: from mail-il1-x136.google.com (mail-il1-x136.google.com [IPv6:2607:f8b0:4864:20::136]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C931CC14CEFD for <idr@ietf.org>; Tue, 25 Jul 2023 11:13:40 -0700 (PDT)
Received: by mail-il1-x136.google.com with SMTP id e9e14a558f8ab-348dfefd1a4so4940685ab.1 for <idr@ietf.org>; Tue, 25 Jul 2023 11:13:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690308820; x=1690913620; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=v2ffZqczYG+G2sfPMmY4Gr/f/Vt8XD6IquicvFfjfiY=; b=j6NpmEi9pW9kXa+G56s/DqxYg47yGjVE0jFkvpXxH5dARiIXSeo9fHhOZkYSfcYBbv E9qgucVtkvGaeSvpeYDEYYRCvzT9p7xoWO+/vfnYhQ54b4OnkMnt2Mr+cLkhEjRQna4c fDTwWzQFxAjOTaMmO4akYOz9nL3TK0g2Bct5Ijpwov3me4vuSX/0bglQieG3LnY15hF9 a3AIVOG4fehwMSPiEDDgSeJhSQIPNchC9AhquL1+PnhawXgnWvtA1Vg6SC2kUKZN2kDo +s+TDQX16jv8dZBSqmWuOvgwzzU96hUDGunj+UdBD77t41qegk54G7n+IchiG4SNUWzh 0Saw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690308820; x=1690913620; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=v2ffZqczYG+G2sfPMmY4Gr/f/Vt8XD6IquicvFfjfiY=; b=jtYM2oOJZ9uW0i+mM8X+WA7L5v6OviaMpvfrBTgaW98M39o62D4aSHX1EX8r6GiTM/ bFPu89OonZvtKq6w3uLd9T8L4O1/d4kT88dvAfpta99XDAoX2yaqx7sEch+9+aXlsGPT I2To9nOcVzgayt6/ie1nMEegrjpP+foCJGBfDF4cvb74k9D+7K+qxXTFvgkhVWtD3mAJ gzvMfSsp8YhMZgxNW3vpOMO0FQcLKLtMYuzlw5lM8NkPdQrI8YlDHSWznVuFle543iVo hXMkf53saKKfrv6GP5s7Tnx1yemePDf+VlkkxGh1zNuFuhlhafvkkuDqHXd4ZZg8MDBz V3tg==
X-Gm-Message-State: ABy/qLZl8/lcPbknEwCu+ur3fxS91INkHE8smMKweCDnupVAK/2PInPK 1aMDfDZUotRlFCBr56MJIYZ67cEKegU3kj36PASd4J83nFI=
X-Google-Smtp-Source: APBJJlFJHt+HcGLzfio9Cyzgns5+hT0wzL+zAx3fAezFoPPuIOGV3Jx7HZB1r3O2CFd5RDQno6zhhCZuQ4MXEOex97w=
X-Received: by 2002:a05:6e02:ed0:b0:348:d756:8cc8 with SMTP id i16-20020a056e020ed000b00348d7568cc8mr3453838ilk.9.1690308820027; Tue, 25 Jul 2023 11:13:40 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MME=R=AKQQsuW56SSHN_9XfDF28GAySX1wWhuG=juC7X-g@mail.gmail.com> <20230725171826.GA30410@pfrc.org> <CAOj+MMEAnaX4bVSTE-yBOj0aGaWJDfQ_SR=8-=mr0DMrSUCFjg@mail.gmail.com>
In-Reply-To: <CAOj+MMEAnaX4bVSTE-yBOj0aGaWJDfQ_SR=8-=mr0DMrSUCFjg@mail.gmail.com>
From: Tony Przygienda <tonysietf@gmail.com>
Date: Tue, 25 Jul 2023 11:13:03 -0700
Message-ID: <CA+wi2hO0hKWBuRN806s=ohTrv87ODCTVsyZqCoc+_JtQk4N9RA@mail.gmail.com>
To: Robert Raszuk <robert@raszuk.net>
Cc: Jeffrey Haas <jhaas@pfrc.org>, "idr@ietf. org" <idr@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000c74f99060153b009"
Archived-At: <https://mailarchive.ietf.org/arch/msg/idr/EKvKnWQxf20jdfBAIfQ_8ZOXZ8o>
Subject: Re: [Idr] BoQ
X-BeenThere: idr@ietf.org
X-Mailman-Version: 2.1.39
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, 25 Jul 2023 18:13:41 -0000

I mentioned on the mike as well that the "asymmetric" is really "almost
asymmetric only", i.e. keepalives still go both ways to prevent a single AF
F channel being stuck. And the caps have a "nit-picking" table to
differentiate whether they're C or F or mix and stuff for AF can be
negotiated differently. Tedious? yeah. useful? yeah AFAIS. The tedious work
of exception-per-cap-and-so-on is the usual cleanup of a 20 years of merry
mess of just piling in new stuff ;-)

As to ACK'ing TCP, well, you don't have an idea whether stuff is on the
wire, in mbuf or whatever really unless you go and look at windows acks on
the raw TCP frames. Which AFAIK in BGP no'one does except maybe window
shuts. So in a sense you are in the same place with QUIC. magically shows
up on the other side reliably and unless we run out buffers no'one knows
whether the data really is at a moment.

The interesting discussion I have with Jeff is about the "implicit
serialization" (that I think someone mentionted on the mike) that we had
with single session and lost now and implications of that. And lots other
comments like running tls over quic without encrypting whole channel (big
perf hit) and whether "fall back on tcp" even makes sense since that will
generate complex FSMs. And whether the concept of session layer of quic is
useful for bgp here.

interesting work, draft is bit of hodge podge of evolving though but
reading carefully you can kind of figure out what it will ultimately be.

--- tony



On Tue, Jul 25, 2023 at 10:24 AM Robert Raszuk <robert@raszuk.net> wrote:

> Hi Jeff,
>
> Excellent.
>
> One more question ... In today's BGP we do rely on TCP to ack reception of
> datagrams.
>
> If we move to quic and if we endorse session asymmetry (which indeed for
> some SAFIs may be a pretty cool feature) which element in new protocol
> stack would provide ACKs for received data by the peer ?
>
> Many thx,
> R.
>
>
> On Tue, Jul 25, 2023 at 10:18 AM Jeffrey Haas <jhaas@pfrc.org> wrote:
>
>> Robert, thanks for the questions.  As mentioned at the mic, we have a lot
>> of
>> details to clarify in the draft.  A meeting of the authors last week in
>> particular illustrated we need to develop a clean taxonomy to discuss the
>> PDU communication between two sides to help clarify these procedures.
>>
>> On Tue, Jul 25, 2023 at 09:58:47AM -0700, Robert Raszuk wrote:
>> > Hi Jeff,
>> >
>> > Can you elaborate a bit more on the proposed split of control channel vs
>> > SAFI channel/sessions when we think of BGP over QUIC ?
>> >
>> > The reason I am asking that is after realizing that such split may be
>> ways
>> > more difficult to accomplish without lot's of changes to BGP4.
>>
>> For the most part, not very much.  The high level behavior is that when
>> there is asymmetric communication where a unidirectional stream is
>> expecting
>> a reply of some sort, or a message from the passive side of the stream,
>> the
>> control channel is used and the response is directed to that particular
>> stream.
>>
>> This means that we have mostly boring BGP-4 with an active and a passive
>> side.  The state machine is significantly similar to the BGP-4 one for
>> each
>> of these unidirectional streams, but not 100%.  We will be publishing
>> clarifications to cover the point, but had decided it was better this IETF
>> to start socializing the idea.
>>
>> > Also each SAFI between any two peers can negotiate different set of
>> > capabilities as well as peer with different set of addresses
>> (interfaces vs
>> > loopbacks).
>>
>> That is correct.  It's largely considered a feature at this point.
>>
>> As an example, A->B for ipv4 unicast can signal add-paths and B->A for the
>> same family may not use it.
>>
>> > For keepalives - the same - you mentioned it would run only over control
>> > channel - but this may not be best idea.
>>
>> Sorry if this point was unclear, and its text we need to work on
>> significantl in the document for clarity.  Holdtime, and the associated
>> keepalives, from an active to a passive side is still negotiated.  The
>> expectation is that the timers for the function channels is signifcantly
>> longer than the control channel's hold timer.
>>
>> The motivation is we want to know if a given function channel is "still
>> alive".
>>
>> We will similarly be discussing sendholdtimer considerations for the
>> unidirectional function channels.
>>
>> > Last how about use of BFD ? It seems it would be useful to
>> > consider micro-BFD on  a per SAFI session (if they peer to different
>> set of
>> > endpoints).
>>
>> We've not discussed BFD at this point, but I find it likely that this
>> resembles traditional BFD use for BGP: A single session protects the boq
>> connection.
>>
>> > There are clearly number of benefits, but the less surgery on current
>> BGP
>> > code base is required the better and easier to deploy.
>>
>> This is our intent.
>>
>> -- Jeff
>>
> _______________________________________________
> Idr mailing list
> Idr@ietf.org
> https://www.ietf.org/mailman/listinfo/idr
>