Re: [Sidrops] Benjamin Kaduk's Discuss on draft-ietf-sidrops-6486bis-09: (with DISCUSS and COMMENT)

Job Snijders <job@fastly.com> Tue, 22 March 2022 17:40 UTC

Return-Path: <job@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 F1D923A0D61 for <sidrops@ietfa.amsl.com>; Tue, 22 Mar 2022 10:40:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.109 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=fastly.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 TWfO82r0F70l for <sidrops@ietfa.amsl.com>; Tue, 22 Mar 2022 10:40:49 -0700 (PDT)
Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 E486F3A0E69 for <sidrops@ietf.org>; Tue, 22 Mar 2022 10:40:47 -0700 (PDT)
Received: by mail-ed1-x536.google.com with SMTP id b24so22560005edu.10 for <sidrops@ietf.org>; Tue, 22 Mar 2022 10:40:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastly.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=lnBz2yzt/yoxRv/5h0ZMzF1k032cseiN3hx3pZJNAhU=; b=OfXM/KwRwn9yrcpJEsCk8LzQ2sWmjF0u+UINaSRzQ1TwzdP92IgV8eyxLsXtaz1Ubb +bL3G0CxWK3OyY9OEIuoUquPYJDsH7C8O9oyKvY1U0tKqRR7d69SqmkT+g3NgMjisESS cUcCt5/ZaKQtk0gpkihooNBbcrYo7GRwNYy7s=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=lnBz2yzt/yoxRv/5h0ZMzF1k032cseiN3hx3pZJNAhU=; b=zEG3TPG+xurqb7R4EUwPJeuskIY83Z9BDtBUMpp5BYmzfW4hsklz3rcHNXbkkwQqga go2bSTodNVsUuX0WSO1nop3cz44ohUWdRrDU7K5wJ3bGvYwhnxEnNbE0lMh+qIYCYZfj TL7/IpqXZcRAzeqtXuxPyChY+A7vKNiCut+S0zLaOc5VSnJndofecGU2OvPDj9rTcV/x i5U0ccnCkBDl6U0MS6Cxkz7Qt6PSgYpW1H/gO48lMmuHTVikxLehEqxsIvtjAviw+r6q 13/6UZIl99xfD6HXtnj00O0Qu5yE59fBaZapynzb/1b7G6P5mctX83qZTq80SAYXyqLu WINg==
X-Gm-Message-State: AOAM533PwCAE5OwcWI2+mjoQfPLoJBTp0BRrXa89nUf2MMK59tq6r4Ij MmdQC7eulL6doOyPQqIbSftlNg==
X-Google-Smtp-Source: ABdhPJyRi3PVCzBEIocc3AMwhGC5qKDTx1nq84NrbKGWQForHz1mgtUq1JA6cjM4dDjshvHiK8492g==
X-Received: by 2002:a50:875c:0:b0:419:29a:4c35 with SMTP id 28-20020a50875c000000b00419029a4c35mr25954545edv.188.1647970845294; Tue, 22 Mar 2022 10:40:45 -0700 (PDT)
Received: from snel ([2a10:3781:276:2:16f6:d8ff:fe47:2eb7]) by smtp.gmail.com with ESMTPSA id hp12-20020a1709073e0c00b006e02924bf20sm2441389ejc.117.2022.03.22.10.40.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Mar 2022 10:40:44 -0700 (PDT)
Date: Tue, 22 Mar 2022 18:40:42 +0100
From: Job Snijders <job@fastly.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: The IESG <iesg@ietf.org>, draft-ietf-sidrops-6486bis@ietf.org, morrowc@ops-netman.net, sidrops@ietf.org, sidrops-chairs@ietf.org
Message-ID: <YjoKGlTeiU75vKuc@snel>
References: <164366773060.21391.16732854790829264927@ietfa.amsl.com> <YgZTmoUhfxlsQKMJ@snel> <20220225235526.GY12881@kduck.mit.edu> <CAMFGGcCOz6vHziHwf3=ocnppAQTZUi7cUmcEvEL+WdD94VMEfw@mail.gmail.com> <20220321205626.GY13021@mit.edu> <YjmtmsbpaxnMNu86@snel> <20220322111953.GD13021@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20220322111953.GD13021@mit.edu>
X-Clacks-Overhead: GNU Terry Pratchett
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/n4DmtaoYiT0Rjdq95dHd0vDMPvA>
Subject: Re: [Sidrops] Benjamin Kaduk's Discuss on draft-ietf-sidrops-6486bis-09: (with DISCUSS and COMMENT)
X-BeenThere: sidrops@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 22 Mar 2022 17:40:54 -0000

On Tue, Mar 22, 2022 at 04:19:53AM -0700, Benjamin Kaduk wrote:
> On Tue, Mar 22, 2022 at 12:06:02PM +0100, Job Snijders wrote:
> > On Mon, Mar 21, 2022 at 01:56:26PM -0700, Benjamin Kaduk wrote:
> > > On Sun, Mar 20, 2022 at 02:44:02PM +0100, Job Snijders wrote:
> > > Thanks for the updates and explanation of the context.
> > > 
> > > I just wanted to check: the -10 still contains in §4.4 this text:
> > > 
> > >    Note: Although it is RECOMMENDED that the thisUpdate and nextUpdate
> > >    fields in the manifest match the corresponding fields in the CRL
> > >    associated with the manifest, RPs SHOULD NOT reject a manifest if
> > >    these fields do not match.
> > > 
> > > Does that pose a potential for interop failure that we should be concerned
> > > about?
> > 
> > I think you are correct observing this discrepancy. The following is
> > perhaps better:
> > 
> > NEW:
> >     """
> >     Note: Although the thisUpdate and nextUpdate fields in the Manifest
> >     eContent MUST match the corresponding fields in the CRL associated
> >     with the Manifest, RPs MUST NOT reject a manifest solely because
> >     these fields are not identical.
> >     """
> > 
> > The above description should provide clear guidance to both CAs and RPs
> > on where we are / we're heading, without needlessly cutting off some
> > existing deployments [1]. 
> > 
> > Thanks for catching this, if this aligns with your understanding -11 can
> > be uploaded.
> 
> This would certainly resolve my concern, yes.  I am not really in a
> position to speak to whether it reflects current reality, though :)

As there are two sides of the coin:

On the CA ('sending') side there are indeed numerous CAs which produce a
"mis-aligned" timestamp values, I anticipate that over time this number
will reduce.

As for the RP ('receiving') side, it is my understanding that the
world's most widely used [1] RP implementations nowadays all consider a
Manifest nextUpdate which is in the past (aka 'stale') to be a hard
error (in the default configuration).

FORT: https://github.com/NICMx/FORT-validator/blob/ce8ed0b9b112d7eebd0330745fb8aac7e73f1e5f/src/object/manifest.c#L73-L77
OctoRPKI: https://github.com/cloudflare/cfrpki/commit/8721e758ee24fb37ee2df81d482d9a453ed52ae3
OpenBSD: https://github.com/openbsd/src/blob/7f8722a4d0c042401934f19a69408a62d0f71ebd/usr.sbin/rpki-client/parser.c#L400-L411
Routinator: https://routinator.docs.nlnetlabs.nl/en/stable/data-processing.html?highlight=stale#stale-objects

Kind regards,

Job

[1] Routinator, OpenBSD rpki-client, FORT, OctoRPKI, popularity gauged
from operating a RPKI Repository as part of the global RPKI, and looking
at strings in the HTTP User-Agent to identify the RP implementation
https://dataplane.org/statistics/rpki.html for a view specific to the
ARIN Trust Anchor (keeping in mind that other Trust Anchors might see
other stats!). Aside from the ones I mentioned on this shortlist, some
other RP implementations can be observed in the wild, some of which
aren't actively maintained (such as the RIPE validator).