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

Brian E Carpenter <brian.e.carpenter@gmail.com> Thu, 05 May 2022 21:05 UTC

Return-Path: <brian.e.carpenter@gmail.com>
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 AAFA3C1594BF for <anima@ietfa.amsl.com>; Thu, 5 May 2022 14:05:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.952
X-Spam-Level:
X-Spam-Status: No, score=-3.952 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, NICE_REPLY_A=-1.857, 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=gmail.com
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 3klrN1p_9rQx for <anima@ietfa.amsl.com>; Thu, 5 May 2022 14:05:02 -0700 (PDT)
Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C6129C1594BC for <anima@ietf.org>; Thu, 5 May 2022 14:05:02 -0700 (PDT)
Received: by mail-pj1-x1033.google.com with SMTP id c1-20020a17090a558100b001dca2694f23so5029962pji.3 for <anima@ietf.org>; Thu, 05 May 2022 14:05:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=YcP8zlJ60lGYWnwxnKKBAimQqxBZe/m/XZ29iG47slM=; b=N6sqADRZ099qemdUpKWTAh8GhlBBPwh7g6nFOunyDEdAT3u70nLwmL1x24XEYslE1s 8iSYJ5RvA3ZQneZSZcVa8aIQNX3nQ/8mf2YRQxujgZSK6dwfRcDBLj0GHaqSKWgAD7b9 9fzHtp7L93XpHhhUtXg1bp1nLcLoOunfnDVUJTAc9r2o5U6wjh6UqtbW6G5og0u+XlGG g2FKolNRzRPXpJzbXvsauqvI1BO7T6XSZ+kAY9/e9mtHDk2T7wk1iJjbhySItIZ3C2+E z0tSUo5VK8QwCHUpd3Cx9RinCPLOq3XaJ42PsBlW2K1Zh4gENPbBj3xM1fc2fP94GcTz cJRQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=YcP8zlJ60lGYWnwxnKKBAimQqxBZe/m/XZ29iG47slM=; b=n9BLBtT2l1pc3tz29VvMeltaRZc13c3Ybj9K2wHcRUPlINN4UnEN8xThKXDm0MJLjQ HrNlKjE7Iv9BrofvMlBzTFWCOrgftopabkFE7FyF+Er/5M3bwgovDcwnXnCShjsZ0/8m ZM2NxnCeSKSjCO9pNVB7EdNzVqb0jwGy+vVix9hz7IIB4Bz6UziQrqV7qXnJhv2Qey7k pb7nLUaXgpGVkxnblvxD9Bn0ZNBSBB0ThkspLKALelx66QlDUuYnITBy3MmAx5kWquG+ JxXZ5A4xqGXZOVuPcV2pcHC4sO6r5HwGQPRik1yKg77BpHw993+AymfBU1ajQJ/QiR4I 7ysA==
X-Gm-Message-State: AOAM530lr4bV0dGQ3bQnmSltGph+SB2KiFkEHeZsa9BKxx+5BH4HoltF v4xFX01N4IUcSfRNYZJOAIUZvGeSZOsgrg==
X-Google-Smtp-Source: ABdhPJwYyb9UHQdY60c6SHuyUekgoST1AzFd0iI2TDwkzXTYzqCP5qku1fsd9+xDhc/wLrDTzPEGTA==
X-Received: by 2002:a17:90b:3889:b0:1dc:cac6:f03e with SMTP id mu9-20020a17090b388900b001dccac6f03emr201859pjb.23.1651784701847; Thu, 05 May 2022 14:05:01 -0700 (PDT)
Received: from ?IPv6:2406:e003:1005:b501:80b2:5c79:2266:e431? ([2406:e003:1005:b501:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id y9-20020a17090a134900b001da3780bfd3sm246392pjf.0.2022.05.05.14.04.59 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 May 2022 14:05:01 -0700 (PDT)
To: Michael Richardson <mcr+ietf@sandelman.ca>, Toerless Eckert <tte@cs.fau.de>, Peter van der Stok <stokcons@bbhmail.nl>, anima@ietf.org
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> <21797.1651772275@localhost>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <40e97088-ffb2-c01d-3e35-406ebef88a4a@gmail.com>
Date: Fri, 06 May 2022 09:04:57 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <21797.1651772275@localhost>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/vCBiclMd39JtUTcp39elaJchwyk>
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 21:05:03 -0000

On 06-May-22 05:37, Michael Richardson wrote:
> 
> 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.

You can define that a null value is equivalent to "EST-TLS", if there
is existing code that will break otherwise.

     Brian

> 
>      > 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
> 
> 
> _______________________________________________
> Anima mailing list
> Anima@ietf.org
> https://www.ietf.org/mailman/listinfo/anima
>