Re: [Sidrops] rfc8210bis further review - question 4

Job Snijders <job@fastly.com> Sat, 09 March 2024 16:32 UTC

Return-Path: <jsnijders@fastly.com>
X-Original-To: sidrops@ietfa.amsl.com
Delivered-To: sidrops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 91201C14F60E for <sidrops@ietfa.amsl.com>; Sat, 9 Mar 2024 08:32:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.103
X-Spam-Level:
X-Spam-Status: No, score=-7.103 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 (1024-bit key) header.d=fastly.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 diIH5kVXIMSN for <sidrops@ietfa.amsl.com>; Sat, 9 Mar 2024 08:32:49 -0800 (PST)
Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) (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 C2D23C14F5EB for <sidrops@ietf.org>; Sat, 9 Mar 2024 08:32:49 -0800 (PST)
Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3c23b34befaso462931b6e.2 for <sidrops@ietf.org>; Sat, 09 Mar 2024 08:32:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; t=1710001969; x=1710606769; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=W1ZQvY3fNla6Q19JCszBI0QgDrBwLr1CACYSgjyDCMM=; b=oKwXJYR+EtZpVJCuGYUDMtxkUrDCoXD1vEqr+DLdRfRtUQ8amYaU/XoG4sC9J5oSlt syN68sOc8u1ihRFTq3xMm6181S7FgVMllrTWcp0iLYdnmhB1sL0mFB3avbt+zH/jJR7s UBzFPIoUhuCicLufZT7WNLbskq807BbG6v96k=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710001969; x=1710606769; 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=W1ZQvY3fNla6Q19JCszBI0QgDrBwLr1CACYSgjyDCMM=; b=XT2FqhC+2GOYMDejFrGvdEjg2vy7ieOeNbFOS3yDOxX6NYHPfIapPmMwg1anBlE4vf JbqlBSFduocZ8AeRHIheOVWQfft6KfPgyaTWJjPvoPV9RYWz++oIPnZ1dXF23CVZG1+w ifIDqpf+WHFygPpKwNMsBFrDBFHpbeyVqd0NHV7xrD3atz5o8z7sa2q7AXHmxJ4jKj24 34yCEtvFv0LELZ2y/7Dq6U/SB4AR/2q1FNQ3Kz4cII5xbf519YEMQMZsbh0+13xepneu YTsOe+zb+IJg8HGEaPf5p2h3/vaQjiDu1QzAq76L+Xr5j+a7o5ZqgLdJVPZSdKk2dode LyqQ==
X-Gm-Message-State: AOJu0Yz50hmo5Ho3H7rd/XvROTzx5Wpg9/thF3HC/TiNwe/p/H4/Jyhh njuiSz734gZWvGSB5jBJIl6tl5nLGNnDI2GHQfvB+xSWBYAS1J7v+xFMf090YQqxZxg3BblAF75 omOp0DjX1HXCSA+CqyLEyH9rwJnv/ECX5/zTa/bV8BD+lZCKfoZY=
X-Google-Smtp-Source: AGHT+IH2fDIonij/0nURp7ZeKKtHp+s61jJOSNd5EbCzksx+7Z5V7r/ul672hfn9OPwFzwRSfOwuqkEuyY657tiLUzg=
X-Received: by 2002:a05:6870:2a49:b0:220:9f66:4fe8 with SMTP id jd9-20020a0568702a4900b002209f664fe8mr2570714oab.59.1710001968818; Sat, 09 Mar 2024 08:32:48 -0800 (PST)
MIME-Version: 1.0
References: <ZexJxZYsgNGth_Q7@snel> <ZexN0VtykWRlmGvq@snel> <ZexXrjeni3FRaZ3-@snel> <ZexbncnxQFnMipa1@snel> <ZeyM+Aev0Q9/MmUE@diehard.n-r-g.com>
In-Reply-To: <ZeyM+Aev0Q9/MmUE@diehard.n-r-g.com>
From: Job Snijders <job@fastly.com>
Date: Sat, 09 Mar 2024 17:32:38 +0100
Message-ID: <CAMFGGcBAKQMdWt5B396enhA=V8vadp64SMO5AL5fX7YnubdJcA@mail.gmail.com>
To: Claudio Jeker <cjeker@diehard.n-r-g.com>
Cc: sidrops@ietf.org
Content-Type: multipart/alternative; boundary="000000000000eac5ad06133cdb20"
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/V6w5Z8ZhMLKQFwi3zDoqklsQRxU>
Subject: Re: [Sidrops] rfc8210bis further review - question 4
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: A list for the SIDR Operations WG <sidrops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidrops>, <mailto:sidrops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidrops/>
List-Post: <mailto:sidrops@ietf.org>
List-Help: <mailto:sidrops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidrops>, <mailto:sidrops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 09 Mar 2024 16:32:53 -0000

Hi Claudio,

Right this should be mandated: an expectation should be set that valid ROAs
on the same manifest, or multiple VRPs in single ROA end up in a single RTR
delta. Similarly, VRPs shouldn’t take effect until the End of Data marker
is been received. Hoping for the best as information drips in is a needless
complication.

Section 11 needs work, the race conditions it warns about can be avoided
with more stringent and precise guidance.

Kind regards,

Job

On Sat, 9 Mar 2024 at 17:23, Claudio Jeker <cjeker@diehard.n-r-g.com> wrote:

> On Sat, Mar 09, 2024 at 01:52:45PM +0100, Job Snijders wrote:
> > Dear all,
> >
> > Question 4
> > ==========
> >
> > Section 11 "ROA PDU Race Minimization" talks about how 'an initial full
> > load' might cause issues, and therefor the cache should send the PDUs in
> > a specific order and also try to group the PDUs together in a specific
> way.
> >
> > But this protocol also has an 'End of Data' marker, which is a strong
> > signal that the router received a complete and full load, after which
> > the router can commit to using the received data and commence
> convergence.
> >
> > It seems to me that a potential for race conditions is avoided by
> > recommending/mandating the router to buffer up the cache's response
> > until it sees the End-of-Data marker. And of course that caches don't
> > needlessly sprinkle ROAs for the same prefix across different Cache
> > Responses.
> >
> > Issues in 'time delay' can be avoided by framing RTR as a
> > delta-delimited (not time-dependent) protocol, which it of course is.
> > Reading RTR PDUs off the wire straight into the route decision engine
> > without waiting for the End-of-Data marker is what may cause issues.  I
> > expect that the router can do various pre-processing while reading &
> > waiting for the end-of-data marker, so I suspect promoting the
> > end-of-marker to be the pivot point, doesn't need to cause additional
> > delays.
> >
> > Thoughts?
>
> This is roughly what OpenBGPD does. We added a timeout for good measure
> for the case that a RTR cache went out for lunch while serving a delta.
>
> So in OpenBGPD updates to the ROA and ASPA trees are atomic both for each
> RTR server and for the startup config itself.
>
> >From my understanding not all router do the same and so following the make
> before break rules in section 11 is good.
> --
> :wq Claudio
>