Re: [Sidrops] nlnet rp and rsync

Russ Housley <housley@vigilsec.com> Tue, 12 May 2020 14:07 UTC

Return-Path: <housley@vigilsec.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 5E0043A0A52 for <sidrops@ietfa.amsl.com>; Tue, 12 May 2020 07:07:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=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 bBsCaSHay5lM for <sidrops@ietfa.amsl.com>; Tue, 12 May 2020 07:07:20 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 569113A0A68 for <sidrops@ietf.org>; Tue, 12 May 2020 07:06:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 95FCD300B3C for <sidrops@ietf.org>; Tue, 12 May 2020 10:06:21 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id p6x20XbCW2bs for <sidrops@ietf.org>; Tue, 12 May 2020 10:06:20 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-72-66-113-56.washdc.fios.verizon.net [72.66.113.56]) by mail.smeinc.net (Postfix) with ESMTPSA id 134B8300A91; Tue, 12 May 2020 10:06:19 -0400 (EDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.14\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <20200512114521.5787a957@glaurung.nlnetlabs.nl>
Date: Tue, 12 May 2020 10:06:21 -0400
Cc: SIDR Operations WG <sidrops@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <A0077555-A858-4002-B4F6-A9D3790B25DD@vigilsec.com>
References: <m2mu6f42ji.wl-randy@psg.com> <B23AED42-5983-4E14-897A-03A51FCDDC42@nlnetlabs.nl> <m2zhae3hrh.wl-randy@psg.com> <20200511123331.5c2d604a@glaurung.nlnetlabs.nl> <73D1F29B-7F54-4022-975C-477B3A9E7CC5@psg.com> <20200511125957.09b5f5e5@glaurung.nlnetlabs.nl> <m2y2py3emb.wl-randy@psg.com> <FA1358BC-54C0-476B-A8A0-238D2F4EFE74@vigilsec.com> <20200512114521.5787a957@glaurung.nlnetlabs.nl>
To: Martin Hoffmann <martin@opennetlabs.com>
X-Mailer: Apple Mail (2.3445.104.14)
Archived-At: <https://mailarchive.ietf.org/arch/msg/sidrops/2gQcc03Um3u0GM8YLdcn4ucVPFM>
Subject: Re: [Sidrops] nlnet rp and rsync
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, 12 May 2020 14:07:22 -0000

Martin:

>> A client can use any of the protocols that it wants, but it seems
>> like unnecessary fragility to pick an alternate and then refuse to
>> consider rsync.  This seem counter to a graceful transition,
>> especially if there is a transition from RRDP to RRDP2 in the distant
>> future.
> 
> The decision to not fall back to rsync if RRDP succeeded once was
> actually made with publication point operators in mind. With most
> relying party software now supporting RRDP and preferring it over
> rsync, an operator will see most traffic via RRDP and only very small
> amounts on rsync. Given that unlike with HTTP where lots of tooling and
> services for reliable, scalable operation exist, you are basically on
> your own with rsync, they are likely to only provide a minimum service.
> Now, if the RRDP service becomes unavailable for whatever reason, all
> relying parties hitting the rsync service is not going to end well.
> 
> Since the absolute majority of these RRDP failures are of a transient
> nature and will be resolved by the next validation run, just skipping
> the publication point this time seems a reasonable choice. This could
> probably be improved by remember how many times it failed and switching
> back to rsync after, say, five failures, but I am not sure this is
> worth the effort.

That seems like a desirable improvement.

> As an aside, switching between rsync and RRDP isn’t free. Because an
> RRDP server can essentially publish objects for any rsync URI it wants,
> you have to keep separate trees for rsync and each and every RRDP
> server. So falling back to rsync actually means either downloading the
> full copy or updating a severely outdated copy. It’s not that big a
> deal in the grand scheme of things but worth noting.

I understand that rsync and RRDP offer a very different interface; however, rsync is still the mandatory-to-implement protocol.  And, you clearly already have the code in place to support it.

Russ