Re: [Anima] Discovery of proxy/registrar insufficient (GRASP and more).

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 05 May 2022 17:38 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BCA0C14F735 for <anima@ietfa.amsl.com>; Thu, 5 May 2022 10:38:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, 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 (2048-bit key) header.d=sandelman.ca
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 bsdCn8pGguqF for <anima@ietfa.amsl.com>; Thu, 5 May 2022 10:38:01 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 13B9DC14F732 for <anima@ietf.org>; Thu, 5 May 2022 10:37:59 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 5679A38BC2; Thu, 5 May 2022 13:51:09 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id x8HPZbEWlGmU; Thu, 5 May 2022 13:51:07 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 8CC9D38BBE; Thu, 5 May 2022 13:51:07 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sandelman.ca; s=mail; t=1651773067; bh=gXNIra2MWI6pvkqrGw4TVdCdIqqlsXSeHE0sd2vIrcE=; h=From:To:Subject:In-Reply-To:References:Date:From; b=PzfzDsNLAwpv19wHx7/JY4EKweCwvco4SPOx54nIr+54jBJQQXaGyaP+ErFBe+KNx yBviVnMsBp0NA+czpl3/o/u7DMLuXLNDJ6lC8czzw2Xjz4/HMumHoCh1KpGgYRDNBJ xPnGe8+OKjF4yh1BWM/0WKcVxv8Q+yBcOb+kX87V13lIfSyhNF+YR/9XRfmoo+UEAQ 4EUMkWl+qFFxXqAjprXy0ckRfN3DOR7i+b96klIzvc7i0RxQFh89cWAwOTF0u4cCoW 1zwJSq2HpKguYhgTpqfmgTtyPWUm2DrxbDRIwb1iYDuhDj+hC8DR1u520r2dHkZG24 7WJRQNQdFFHmw==
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 370E63D2; Thu, 5 May 2022 13:37:55 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Toerless Eckert <tte@cs.fau.de>, Peter van der Stok <stokcons@bbhmail.nl>, anima@ietf.org
In-Reply-To: <YnB1xCDivSMMTQPq@faui48e.informatik.uni-erlangen.de>
References: <YlWUA7xhMU2XtJsz@faui48e.informatik.uni-erlangen.de> <388791.1649870361@dooku> <Ymc57cpieDGAcn1X@faui48e.informatik.uni-erlangen.de> <e37c18efd6a17554eee9f2602dce2e9b@bbhmail.nl> <YnB1xCDivSMMTQPq@faui48e.informatik.uni-erlangen.de>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 27.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 05 May 2022 13:37:55 -0400
Message-ID: <21797.1651772275@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/5BQe2e0DJwzsPpItz-aISZCa0A4>
Subject: Re: [Anima] Discovery of proxy/registrar insufficient (GRASP and more).
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 May 2022 17:38:05 -0000

Toerless Eckert <tte@cs.fau.de> wrote:
    > Here is what i think, please reject points if you have arguments against them,
    > otherwise i'd assume you agree ;-):

    > 1. "AN_join_registrar" and "AN_Proxy" where defined in RFC8995 for use with ANI.
    > To me that means those objectives indicate that by default those objectives
    > will provide ANI/ACP certificates.

Agreed, but remember that RFC8994 also defines SRV.est for renewal.
(I sometimes think that RFCs ought to have a commentary, much like the Torah
(old-testament) has the Mishnah which is a series of commentaries.)

    > 2. There is no need to introduce new objective values just because we use a new
    > protocol (EST-coaps instead of EST-tls). Instead, that should be done via
    > the objective-value. RFC8995 already nicely uses "EST-TLS" for "AN_join_registrar".
    > I have no idea why we did not also do this for "AN_Proxy", but we just left it
    > blank there. But we can easily assume that Empty ("" as in the RFC8995 example)
    > is the same as "EST-TLS".

I agree completely.
I would go as far as Amending RFC8995 to say that "EST-TLS" should be inserted.
I'm not sure what document to that in.  Perhaps we should plan to write an
ANI/ACP Updates document.

    > 3. I think the GRASP announcements MUST indicate what mode the Registrar
    > supports. Stateful or stateless. Or if it supports both, then just have
    > GRASP announcements for both and let the Proxy pick.

Yes.

    > 4. I think by using explicit objective-values to indicate the protocol we are
    > also future proof when we come up with even more protocols like CMP or the like.

Yes, do we need a Registry for this?

    > 5. The constrained proxy draft describes three discovery options:
    > (a) Proxy Discovers Registrar
    > (b) Pledge discovers Proxy
    > (c) Pledge discovers Registrar.
    > In ANI/ACP, we do not have case (c). I do not see how it could ever happen,
    > so we should not introduce it.

That's my position.
I explained at:
  https://www.ietf.org/archive/id/draft-richardson-anima-registrar-considerations-05.html#name-join-proxy-southbound-inter

that the Registrar should announce it's own TLS (and DTLS) ports using
AN_proxy.   No actual proxy functionality is necessary.

    > 6. To me, this means the ANI/ACP service discovery for use with constrained proxy are:

    > Proxy Discovers Registrar:

Proxy Discovers Join Proxy.

    > objective-name:  "AN_join_registrar", protocol UDP, objective-value: "EST-COAPS"
    > objective-name:  "AN_join_registrar", protocol UDP, objective-value: "EST-COAPS-JPY"

The third one makes no sense.

    > Pledge Discovers Proxy:
    > objective-name:  "AN_Proxy", protocol UDP, objective-value: "EST-COAPS"
+   > objective-name:  "AN_Proxy", protocol UDP, objective-value: "EST-COAPS-JPY"

Here it makes sense.

    > 7. Until there is sufficient proof of the opposite, i will claim that multihop
    > ASM IP Multicast in support of admin-scope COAP group communication via ff05::fd
    > will not exist in the mayority of target deployments of constrained proxy.

I agree that multicast is unlikely in many LLNs.
I don't agree that we need to do something for GRASP outside of ACP.

> 9. In result, i would suggest:

Not sure how this differs from #6.

    > Logic for Pledge is simple: If it can discover a registrar via "brski-rjp"/"EST-COAPS",
    > then it uses that. Else it has to look for "brski-jp"/"EST-COAPS"

No, this is very wrong.
RJP is only for Proxy<->Registrar, and the pledge NEVER sees that.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide