Re: [dtn] Important side issues from ACME Node ID Validation draft

Brian Sipos <brian.sipos+ietf@gmail.com> Fri, 20 August 2021 19:35 UTC

Return-Path: <brian.sipos@gmail.com>
X-Original-To: dtn@ietfa.amsl.com
Delivered-To: dtn@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 920833A25DD for <dtn@ietfa.amsl.com>; Fri, 20 Aug 2021 12:35:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LY7EHnJhTBZk for <dtn@ietfa.amsl.com>; Fri, 20 Aug 2021 12:35:46 -0700 (PDT)
Received: from mail-io1-xd30.google.com (mail-io1-xd30.google.com [IPv6:2607:f8b0:4864:20::d30]) (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 0BD313A25DE for <dtn@ietf.org>; Fri, 20 Aug 2021 12:35:46 -0700 (PDT)
Received: by mail-io1-xd30.google.com with SMTP id b7so13637796iob.4 for <dtn@ietf.org>; Fri, 20 Aug 2021 12:35:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VLS2N/FjjUmLqBbJVgOz+8Y4TOgbQxXIZggu+wGbpSw=; b=L/4Eoeuj8qVGZjoZeFwWeY+CBV0FJVA2KokmipGb/S+2QwngpyMu7xnu8Wng48dlpC VT8eR6Lw60Par3zAhfC0gyb3my8o8L0w08ILTiZsYfc1dtGAPYYCgLlVdm9G77I8Sh3n 36F0qBbYfqWEH/eiNoIJfZbpg4FtSkgRXEzY8MNzAgCln3m2Y2zJRYeUTRqFUkwIs4LG XjavhBNrRR2APpvJ6kWFV7SRrk4iwSiyNyRRott20EXit6wM7WR3fFPji7ZmybvzXU6/ HGcEpdEKMUPw1DN55v45oPMApUXarcqY2W3tFHpLT9jI5RVj5KSYIqJngFPXybhqV5FF E8kg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VLS2N/FjjUmLqBbJVgOz+8Y4TOgbQxXIZggu+wGbpSw=; b=OlaGtH1qTaE3KwJDg99re2k/GCgWv0V7X+p/xQad2mbDCApjt9f6JXrkr7JYaaEBrd JSeXypItdWrZWpSg280CKlb+G14OHbHWHHPsoDmidJ+6JJcB26YtOJPHj3sHZQFrOPfu T8uVE20qjFmRlJkBPRgo7U7qrkN4/S+YNWJfJQFIODLDhAQpwzPunj+01OlOYBbyR+zu beP+xa1DqaXEaeVfRYeoEVmSr2qXeRCn8VIwmNQELdB3imLiqK8tu4qg9omCy7aHlP4Z 0e2JXdckpCmX5Xd6uLf7rtFdbdc3lqClUO9QuojTF6wc5DymO7YPi06cdQJwlhb/QC1T WfMw==
X-Gm-Message-State: AOAM531iZdenF8imq/N6mwbHukBnJW6elcxP/Vm4680+xUpBmxNC10hJ c6RiGA+RnITpTsEcLGvyvtv15vuwYhiWUwYwWjA=
X-Google-Smtp-Source: ABdhPJzRQUtyGYYj1E2/04/uIIhc7OKdt/qQyzxZwk1rKybrNAHykPbvNmBV3USeF1o4iv/0ABZ2tJGdCjHADVUzurU=
X-Received: by 2002:a05:6638:25c3:: with SMTP id u3mr19366178jat.52.1629488143344; Fri, 20 Aug 2021 12:35:43 -0700 (PDT)
MIME-Version: 1.0
References: <CH2PR13MB35583FF57B027B71BCE2FCAB9FE89@CH2PR13MB3558.namprd13.prod.outlook.com> <CD0FA713-E227-4C9B-A691-54E8127ABE41@gmail.com>
In-Reply-To: <CD0FA713-E227-4C9B-A691-54E8127ABE41@gmail.com>
From: Brian Sipos <brian.sipos+ietf@gmail.com>
Date: Fri, 20 Aug 2021 15:35:32 -0400
Message-ID: <CAM1+-giHHM0-YC=QnO6t2nd0D25CVSfW9EP+p7XWefK2cVi10w@mail.gmail.com>
To: "R. Atkinson" <rja.lists@gmail.com>
Cc: Brian Sipos <BSipos@rkf-eng.com>, "dtn@ietf.org" <dtn@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f32dac05ca02c507"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dtn/0K1mltV2UN2B1ho8CtcU6PGBD4Q>
Subject: Re: [dtn] Important side issues from ACME Node ID Validation draft
X-BeenThere: dtn@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Delay Tolerant Networking \(DTN\) discussion list at the IETF." <dtn.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dtn>, <mailto:dtn-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dtn/>
List-Post: <mailto:dtn@ietf.org>
List-Help: <mailto:dtn-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dtn>, <mailto:dtn-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 20 Aug 2021 19:35:52 -0000

All,
After further discussion in the ACME WG (security area), based on a need to
avoid the requirements on DNS-name/IP-address and to avoid both valid and
invalid assumptions made by tools/libraries about SAN URI contents, the
strong recommendation is to avoid the SAN uniformResourceIdentifier
entirely in favor of a new SAN otherName type-id OID which is used just for
DTN EID (and thus Node ID) claims.

Unfortunately, this would require editing of a portion of the TCPCLv4 draft
now in the RFC editors queue, and a new IANA registration for the OID
under the "SMI Security for PKIX Other Name Forms" IANA sub-registry [6].
Is this late edit an acceptable path for the document?
It would avoid many potential interoperability issues that were brought up
in the ACME discussion and require only slight change to a DTN
implementation to use a different SAN type (but identically encoded value).

[6]
https://www.iana.org/assignments/smi-numbers/smi-numbers.xhtml#smi-numbers-1.3.6.1.5.5.7.8

On Wed, Aug 11, 2021 at 11:20 AM R. Atkinson <rja.lists@gmail.com> wrote:

>
>
> > On Jul 26, 2021, at 21:04, Brian Sipos <BSipos@rkf-eng.com> wrote:
> >
> > The second issue is unfortunately more technical; the "dtn" URI scheme
> has been set in stone and is already in use, but the PKIX profile in [4]
> specifically requires that when any SAN URI which includes an authority
> part (the "dtn" scheme does, it is the node name) that authority is either
> a DNS name or IP address. And we know that a Node ID is _not_ going to
> contain a network-level name but some other name. This technically breaks
> the profile in [5] as well as [2], which both use SAN URI as Node ID
> authentication. Because neither RFC5280 nor RFC6125 require to dereference
> the SAN URI and the DTN PKIX profiles explicitly avoid the URI-ID
> definition of RFC6125, the only risk is really that some application may
> inadvertently try to DNS probe the node name (or something like that). I
> don't yet know how much of a blocking issue this will be, and it's
> unfortunate that it wasn't noticed earlier.
>
> Brian,
>
> DNS Operations folks consider “noise” DNS queries (such as an application
> trying to use DNS to resolve the node name or something similar) to be a
> significant operational challenge — because the volume of “noise” DNS
> queries already is high.
>
> I imagine the DNS Operations folks would be greatly unhappy at the
> prospect of the DTN URI scheme being the cause of additional “noise” DNS
> queries.
>
> A prospective change would be to update the PKIX profile in [4] to make
> clear that a dtn URI is neither a DNS name nor an IP address - ever.
>
> In short, this looks like a real-world operational problem that will need
> _some_ form of solution, even if different from the prospective change I
> outlined just above.
>
> Yours,
>
> Ran
>
> _______________________________________________
> dtn mailing list
> dtn@ietf.org
> https://www.ietf.org/mailman/listinfo/dtn
>