Re: [Sidrops] what to do when the CRL is hosed?

Nathalie Trenaman <nathalie@ripe.net> Mon, 23 March 2020 10:34 UTC

Return-Path: <nathalie@ripe.net>
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 CB5EA3A0746 for <sidrops@ietfa.amsl.com>; Mon, 23 Mar 2020 03:34:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 Oe2W7zVnza3p for <sidrops@ietfa.amsl.com>; Mon, 23 Mar 2020 03:34:46 -0700 (PDT)
Received: from molamola.ripe.net (molamola.ripe.net [IPv6:2001:67c:2e8:11::c100:1371]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 75AAE3A0404 for <sidrops@ietf.org>; Mon, 23 Mar 2020 03:34:46 -0700 (PDT)
Received: from allealle.ripe.net ([193.0.23.12]) by molamola.ripe.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from <nathalie@ripe.net>) id 1jGKPs-0006WZ-Ni for sidrops@ietf.org; Mon, 23 Mar 2020 11:34:44 +0100
Received: from sslvpn.ipv6.ripe.net ([2001:67c:2e8:9::c100:14e6] helo=[IPv6:2001:67c:2e8:1200::f50]) by allealle.ripe.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from <nathalie@ripe.net>) id 1jGKPs-0000Uj-Jg for sidrops@ietf.org; Mon, 23 Mar 2020 11:34:44 +0100
From: Nathalie Trenaman <nathalie@ripe.net>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\))
Date: Mon, 23 Mar 2020 11:34:43 +0100
References: <20200224151532.GD19221@vurt.meerval.net> <20200224211531.GB60925@vurt.meerval.net> <20200225090338.10464b1a@glaurung.nlnetlabs.nl> <9cc3a6a5-f9c8-23df-588e-48dee5db62d4@verizon.net> <3B7006DE-5366-47E7-9CD6-AF392F9ED0CC@nlnetlabs.nl> <6602d1a7-ecbf-73a0-21d8-1254fb2aff97@verizon.net> <20200226173935.GE72144@vurt.meerval.net> <2db8d19a-6f91-d2fc-36c3-65742ba77e6c@ripe.net> <8B09B96B-432C-4190-9DE0-DC2004AAFCC2@nlnetlabs.nl>
To: SIDR Operations WG <sidrops@ietf.org>
In-Reply-To: <8B09B96B-432C-4190-9DE0-DC2004AAFCC2@nlnetlabs.nl>
Message-Id: <CC64461D-4F34-4367-AD9D-D42B2A476363@ripe.net>
X-Mailer: Apple Mail (2.3608.60.0.2.5)
X-ACL-Warn: Delaying message
X-RIPE-Signature: b23882c8c47abee4cf35af21618ca92a1cd9bfd5a623028df74a6498570934e6
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/PqDMGuHGzf2x9GVkimds5Qx-b3k>
Subject: Re: [Sidrops] what to do when the CRL is hosed?
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: Mon, 23 Mar 2020 10:34:49 -0000

Hi,

> Op 27 feb. 2020, om 10:50 heeft Tim Bruijnzeels <tim@nlnetlabs.nl> het volgende geschreven:
> 
> Hi,
> 
>> On 27 Feb 2020, at 09:59, Robert Kisteleki <robert@ripe.net> wrote:
>> 
>> 
>> 
>> On 2020-02-26 18:39, Job Snijders wrote:
>>> I think the entire repository should be considered invalid if a single
>>> file is missing but was referenced in the manifest. One can't produce
>>> rules based upon false or incomplete data, and one can't protect against
>>> hijacks using unsigned data.
>> 
>> I'm not sure that'd be wise. Knowing you're missing something does not
>> invalidate the other bits that you can verify. Exactly what you keep
>> using can depend on what's missing (a CRL, a CA cert, a ROA, ...) though.
> 
> I am not saying that I have the complete answer here, but I think it's worthwhile to discuss this further - if the WG is willing to consider updates to the manifest RFC.
> 
> It gets complicated.
> 
> ROAs at the parent level have the ability to invalidate announcements by children that run delegated CAs. If their CA cert is missing, then this can impact ROV to the point that announcements by children are considered invalid.
> 
> In such cases it might be better to mark objects the ROA objects as invalid so that ROV yields not found. It is probably okay to recurse any other CA cert and use ROAs found under it. Probably, because probably they are more specific, and ROAs there would not invalidate covering, presumably, less specific announcements done by the parent (yes, lots of assumptions here). For BGPSec certificates things get more complicated, because at the MFT level they are indistinguishable from delegate CA certificates. Also BGPSec does not have a soft-landing, so invalidating certificates (rather than ROAs) might be quite harmful.
> 
> Note, I think this should be applied only to *missing* objects as that indicates either a failure to publish things properly, or possibly a partial withhold attack where the RP receives incomplete information. And even then, there may be ways to recover if an RP still has prior copies of all missing objects (check hash).
> 
> If objects are found and accounted for, but they turn out to be invalid, then I believe that other objects should not be impacted.
> 

I would still welcome discussion on this. For our Validator, we currently issue warnings if there is something wrong with the CRL. Some other RP (validator tools)  invalidate the chain, one ignores the CRL. This is not a good situation. 
From the mailing list, I didn’t see a clear consensus (yet?) for RP (validator tools). Any ideas? Thoughts? Did I miss something?

Thanks,
Nathalie