Re: [Anima] some questions about GRASP objective-values and discovery

Brian E Carpenter <brian.e.carpenter@gmail.com> Sat, 25 June 2022 03:46 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 63604C15BE7E for <anima@ietfa.amsl.com>; Fri, 24 Jun 2022 20:46:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.981
X-Spam-Level:
X-Spam-Status: No, score=-3.981 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.876, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 GwlhjtBW_AF1 for <anima@ietfa.amsl.com>; Fri, 24 Jun 2022 20:46:21 -0700 (PDT)
Received: from mail-pl1-x630.google.com (mail-pl1-x630.google.com [IPv6:2607:f8b0:4864:20::630]) (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 AB5EEC159489 for <anima@ietf.org>; Fri, 24 Jun 2022 20:46:21 -0700 (PDT)
Received: by mail-pl1-x630.google.com with SMTP id m2so3657843plx.3 for <anima@ietf.org>; Fri, 24 Jun 2022 20:46:21 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:from:subject:to:references :content-language:in-reply-to:content-transfer-encoding; bh=r1I+GYyn/Hp4LLrhoYb0061UQeH5xfS8MMY+YShMTO0=; b=B6U30lZ0vZH6CCUgL9hlEXFYhbpcpGeHLq3eGm0QwKhi7TIeXbA/fLSDajf0x1EDHZ 4PtonquNM3fa3eNiBDE6BmdBSSoyREsNRIKe+2yJI/mSPVJSALoJsCycwUjsSFpJCZEp 5+2y4hzycSkq9r8e28nPHR8r5vSTO1rZ4Yj942Yax94z9+SJ5DRWDX1ikHhzNQkrBzPn U+6gdhknkNihqlASIJtFd2O9T8/40dzHoK9xoW/xLEcCmolPEwf9JLRpldjcF+5KB6x5 ZmJ6Qb2WkQ3D2Qgwp8y+yCQknvny426Q9Trhcsp7HbG31vwQLRivjqXUE4nqTAmAA28k 0qhQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:from :subject:to:references:content-language:in-reply-to :content-transfer-encoding; bh=r1I+GYyn/Hp4LLrhoYb0061UQeH5xfS8MMY+YShMTO0=; b=a7gFVZm5+LqYgwAJM0pbCarSiuEqs+G38hJutOoYLNtJ4XRuiBmhTOBMmUUyMCkQxL hoJEbBZ8MwmBdyGL0vvna1sL+AGspS3FjEHiDyOVg6iq1n1j/jGIbA1KAkjckwXG4oCu Q38eqkIUArCvXKIwz9IDClwOZoppYLxY/eDHXmL1qThVU6aRrP15fsJzH/b8Ar1flBIj DlfkJ0dq/WuSQwJn4+0PQ1DR9C8DhH7tejgvSBF/Ceg5cViN6BJDrzgLmjOzABTnpTmb 4zszk3GoLrCPNXwp8F1PqcC6YHK21pGTITcR0/FPCKebaeBQ5YG6LnxR1n9KSoSMO08o /OSw==
X-Gm-Message-State: AJIora+efNhOE+Fhh0TNI9Z3ugl1jhKwlrNyiWiuOkPxdWkyEh5GVMvo 5vvewBV5SLAGRj4IYJZE7H1x+CQ4H54CWyCW
X-Google-Smtp-Source: AGRyM1tlg58KKHNmGF7CHPmNiQLce/x3tPx8G/9eIWQbQf6aFDABp89oN4PvYPNvy+PCWZR0Trq6vw==
X-Received: by 2002:a17:90b:1e0e:b0:1ec:b2a6:c9d0 with SMTP id pg14-20020a17090b1e0e00b001ecb2a6c9d0mr7748943pjb.230.1656128780503; Fri, 24 Jun 2022 20:46:20 -0700 (PDT)
Received: from ?IPV6:2406:e003:1124:9301:80b2:5c79:2266:e431? ([2406:e003:1124:9301:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id k22-20020a056a00135600b0051be585ab1dsm2554446pfu.200.2022.06.24.20.46.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 24 Jun 2022 20:46:19 -0700 (PDT)
Message-ID: <2a3f44fe-2155-e1e4-caae-9f93a834fcdd@gmail.com>
Date: Sat, 25 Jun 2022 15:46:16 +1200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, anima@ietf.org
References: <31116.1656114257@localhost>
Content-Language: en-US
In-Reply-To: <31116.1656114257@localhost>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/hYPY5vxwMTg6myuYSzU0wxCJcdc>
Subject: Re: [Anima] some questions about GRASP objective-values and discovery
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 25 Jun 2022 03:46:25 -0000

Hi,

The question of a registry for the value field of a GRASP objective never came up before the GRASP RFC was published, as far as I remember. What we actually have in the IANA Considerations is:

"To assist expert review of a new objective, the specification should include a precise description of the format of the new objective, with sufficient explanation of its semantics to allow independent implementations."

In other words, Specification Required. We simply didn't cover the case of updating that specification. I don't know if there are other comparable cases in the IETF universe, but common sense suggests that if the specification of an objective is updated, it should go through expert review again and the citation in the registry should be updated. (https://www.iana.org/assignments/grasp-parameters/grasp-parameters.xhtml#objective-names )

Personally I'd rather do that than create a sub-registry for each case, which would in any case have to cite the updated specification, so the sub-registry wouldn't serve any real purpose. Simply, the citation in the registry would change from [RFC8995] to [RFC8995], [RFC9xxx].

If that's the way we want to go, we may need a very brief RFC that updates the IANA considerations of RFC8990. (If GRASP is a roaring success in the market we might need something as complex as RFC3864, but I doubt it.)

Regards
     Brian Carpenter

On 25-Jun-22 11:44, Michael Richardson wrote:
> 
> (Heads up to Brian and Toerless, and maybe Carsten)
> 
> Based upon review feedback and discussion among the BRSKI design team
> (now on Tuesdays, btw), we have moved the bulk of the discovery mechanism
> from draft-ietf-anima-constrained-join-proxy to draft-ietf-anima-constrained-voucher.
> 
> First, this represents a somewhat significant re-organization.
> I think that Rob mentioned the document would be returned to the WG for
> a possible second WGLC.
> 
> Here are two diffs:
> pull request:  https://github.com/anima-wg/constrained-join-proxy/pull/30
> 
>     https://author-tools.ietf.org/diff?doc_1=draft-ietf-anima-constrained-join-proxy&url_2=https://raw.githubusercontent.com/anima-wg/constrained-join-proxy/discovery-fixes/draft-ietf-anima-constrained-join-proxy-11.txt
> 
> pull request:  https://github.com/anima-wg/constrained-voucher/pull/231
> 
>     https://author-tools.ietf.org/diff?doc_1=draft-ietf-anima-constrained-voucher&url_2=https://raw.githubusercontent.com/anima-wg/constrained-voucher/discovery-in-cv/constrained-voucher-17.txt
> 
> 
> Second, we tried to get all of the GRASP objectives sorted out right.
> To this end, we are introducing two new objective-values to the
> AN_join_registrar objective, and one to the AN_Proxy objective.
> 
> In RFC8995, AN_proxy was defined:
> 
>     objective = ["AN_Proxy", objective-flags, loop-count,
>                                            objective-value]
>     objective-value   =  any       ; none
> 
> The example showing:
>   [M_FLOOD, 12340815, h'fe800000000000000000000000000001', 180000,
>               [["AN_Proxy", 4, 1, ""],
>                [O_IPv6_LOCATOR,
>                 h'fe800000000000000000000000000001', IPPROTO_TCP, 4443]]]
> 
> Here we show the objective-value as being the empty string.
> Empty string costs 1 byte, and I think it could equally well be a CBOR NULL.
> In contrained-voucher, we will do stuff like this:
> 
>          [M_FLOOD, 12340851, h'fe800000000000000000000000000001', 180000,
>          [["AN_Proxy", 4, 1, ""],
>           [O_IPv6_LOCATOR,
>            h'fe800000000000000000000000000001', IPPROTO_TCP, 4443],
>           ["AN_Proxy", 4, 1, "DTLS"],
>           [O_IPv6_LOCATOR,
>            h'fe800000000000000000000000000001', IPPROTO_UDP, 5684]]
> 
> a) I kinda wish we had put "HTTPS" in instead of "".
> b) Why waste so many bytes when a small integer would do!
> 
> Oh... but then we need another registry.
> And then one for AN_join_registrar.    We already have a registry for
> objectives, but a new one for objective-values?  Seems like a lot if we do
> this in general.
> 
> So please advise on what to do here.
> It's not the place for RFC8990 to tell us what to do, but I kinda wish it had.
> 
> I think that BRSKI-PRM will need a new value too.
> Note that I thought about a XxY mesh of objective-values such that the
> Registry could say what kind of voucher-requests it supported, but I decided
> that we had already decided that Registrars' had to lump it, and that pledges
> should just try, and if they get a 406, then go on a different Registrar.
> 
> --
> 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