Re: [Snac] Relax the requirement on a single 'root' ULA prefix generated by stub router?

Esko Dijk <esko.dijk@iotconsultancy.nl> Thu, 24 August 2023 11:49 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
X-Original-To: snac@ietfa.amsl.com
Delivered-To: snac@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 29BC5C14CF17 for <snac@ietfa.amsl.com>; Thu, 24 Aug 2023 04:49:58 -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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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 (1024-bit key) header.d=iotconsultancy.nl
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 WSfNbzGL_A6B for <snac@ietfa.amsl.com>; Thu, 24 Aug 2023 04:49:51 -0700 (PDT)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on2109.outbound.protection.outlook.com [40.107.13.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 68E12C137383 for <snac@ietf.org>; Thu, 24 Aug 2023 04:49:16 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fr1p0QyjGJS4TRW64F3KVo5ijhaR3Q7c82MAOCDLvImZ1cytG8nLT1OpCRXK5wIkWmNOibAeJx0P14+fXfue1CiQaOI6dJhsMgfwz9Dzc2UM2I7BZHQTukdypTkV/nSxACfFbEKUFTOngjHRru/VacHzna3MZD8hSpFYst+oA4oVWf0myB6vxXKZuFFtFU4prGfeh8nO+WVrRF6iaeqgROVOyiAW2I2B+FhujAn76n8gRWRlOXg8BHHH3q3JYeT+dX1eCX8xdb5RMJJebJSsI6+3L81Cpo2T9wK9rLScJcVTPym39G8p7te55+NYhBSd9yIc9u9Znak922cmx6v9YQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aHIpHhbSSIUywfVz3fgWE+V/YPqW4vzX46zZj1GaqrQ=; b=bZh5R8va/9l2SHGE/BtCd1aHC+X2aNOTu7qS4hrqh5LJt56ck4NYoxik/TArPfzF/Hc1q9neDw+sMvV9F25AEsSvw8YkJgAf19kcz9/Xtoc3kXJN8lqRG0tpOnhOju0T0h3p+8+H20Xs4kIPWWiBW31P82nHLdcGkf/Y/88TQw/gzqttSHu+r5XdcmxP+Z2d1pvci2/cuPhvMyKs7RVLvZ/O0Rznv3agminDRJBdEaoPEiYlssscb8ZIadpPYA6EYderdl+4e8NN3bBNttW9u+znnNfgDzbIXAkphdn3d8JKWI/itfPiPd2F+e4xZqwg197OEcHp71e6jpg2TKPseg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=iotconsultancy.nl; dmarc=pass action=none header.from=iotconsultancy.nl; dkim=pass header.d=iotconsultancy.nl; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iotconsultancy.nl; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=aHIpHhbSSIUywfVz3fgWE+V/YPqW4vzX46zZj1GaqrQ=; b=kLH9BuQ2skEEevgrUu9G+rIEdCrQDCSGrXDt0DbKcv+RsjKXOVl0S1tpByN8Q0JC6MZkrRg8Fk398JN9ab+0zUdR9ORUakzQubDwjyxcY0/ME5n8xg5DPPovCyHHQdYg3It5t+cgCbUeZTg8e6zCJXjOhv57Khw8ujXOgs40FBw=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by DB9P190MB1322.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:224::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.27; Thu, 24 Aug 2023 11:49:12 +0000
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::6cab:dca2:fbc5:20d9]) by DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::6cab:dca2:fbc5:20d9%3]) with mapi id 15.20.6699.027; Thu, 24 Aug 2023 11:49:12 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: Erik Auerswald <auerswal@unix-ag.uni-kl.de>, SNAC List <snac@ietf.org>
Thread-Topic: [Snac] Relax the requirement on a single 'root' ULA prefix generated by stub router?
Thread-Index: AdnKsSUesLngfGwPQAO5dX2mQ9seiAAyxSqAASmr8YABl0yh8A==
Date: Thu, 24 Aug 2023 11:49:12 +0000
Message-ID: <DU0P190MB197890A2C768BDB86C0632D5FD1DA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
References: <DU0P190MB1978F18F16051B3ECEE03159FD12A@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <20230810111719.GA13659@unix-ag.uni-kl.de> <20230816092035.GA11872@unix-ag.uni-kl.de>
In-Reply-To: <20230816092035.GA11872@unix-ag.uni-kl.de>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=iotconsultancy.nl;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DU0P190MB1978:EE_|DB9P190MB1322:EE_
x-ms-office365-filtering-correlation-id: 553a294d-28eb-4693-eb5e-08dba49822a8
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 7apHG/lyKmp7VilnZGL2UO0gG7PPxHDHIL4LI+qHzExwUeZFmD9cnPWqXm/24j7O/AJg+XT4zKzuwfOco4ijkRE5kulPeWHn3j1uiaN4vNKMIY6J/E2VzWWPg+wb0W32vE6P9DsJ2mik04HtpCB7Hp9vIozHLXBZKV3brwdMG4z+1GWxopDW9z4TsQwxOzBj7AQ0wfDQFLAGYvVp0WUlnIhYtGP59IFl+KruedK5grJ9EUQ7evYHLXOFAG8EqN0bRvzdsQ/UxPpYH68VjutYyKOjvQ/fj0jP44GAwbbuLkMpOIpROFecml+Tfbz0J/dRH1am8Ex83RxxuZqpBBq2h4mH+4BDQHYPN43ukugybmezo/YeBQm7+goWMR+T09clExBY+TExM4HMmQiuESEcrtiPvdqJBKFrSzHOr0Ma/BVT+cX14XqCHiR6jtAQqGnvBBBWjcfRllPmLoPw/XgleCV/5DJjuFuuANoTw2cewwWAM/b2+IqzpNIAstTCVPuTXu5l77iuLr/tQ1APnyc+p1eQMWSg0B2TRdPW4PH6taqA6WX7M05ueDcM+NTzT/lczhZhI89KahBlByJa02eAWcG4Xx4WCLmnzboUjQg2yxQ=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DU0P190MB1978.EURP190.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(366004)(39830400003)(136003)(396003)(376002)(346002)(451199024)(186009)(1800799009)(66446008)(64756008)(66946007)(76116006)(66476007)(66556008)(316002)(122000001)(478600001)(110136005)(55016003)(44832011)(38070700005)(38100700002)(71200400001)(41300700001)(53546011)(86362001)(2906002)(6506007)(9686003)(966005)(7696005)(8676002)(8936002)(52536014)(5660300002)(83380400001)(66574015)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: msYPD+cJ6XSavZVu8iWmY2dZUyWdwtwtVOPSYG7so215FPMULFwXdqfz5OX1mwGUXHntjK0AafzvVH+aj/LMosHe+DhUW+UMlU20Lviekxeki2UjSzV3DGUQopj55ufGAZNer8uKOhY8J1q3KqOWqNmCjNkfWcqVPNYg1cBFD3ECMIqQnfRyZIE19fwEr+SXZdpPLTjYNYxaW8X6SbTHtBdz4MiShHMFc7+HPCOHn1YK9+aXkDljGtGAFAUT+RqJn//xFf1pJVyELihBa2/eeqYX8zsDqBQp8DhSZ7YO266tkNgAYt14VW3lPQWsr0dlKI9MKmcGrXIO2Aa+zqb2j4tsIXGsBahU6DXT4h+5Qxv+cnOaErBvKOvQwPz8s7UILtqfIwp4VGHmcYt6QQWFkpoZcc1mCHdqK1C7h4s4TtTL+ICrpPjEZoE5r22guElgkJhBUDUAJdtTNw/1xeIQ3T/cK4dl53QyWDDZGpXuC35kPsyHjr2AXFft6hMXF9nsTGSBMR8rLAXcOkhizPMjT542Drozqqik08//SWS86NJGNEp07EgnkSs5WqJsMOiYySSnWkrYlRuqR3rvgInmYGkUVTSgtbwBDp+jEVC2t0EVSflsDUbpOa07qYZiL/5OKmbCKhE1YawDiDx9mEq8kNjq0iwI+0XwX3NKb7pl0ZIxQruBcKdSovIMy8fq/oDr/TpJ4rNBSNTzmfS0w6A+XENOWOFXdvEcroLAoou9lygQxqo6SE+a6jFLB+M13DHGqiaQxOctaoarYXvQNrBkcQTNnbBdzlhSJnZPVGAiTj+r8m3LgvSBwiRTh2+eRnn70mesSSpK9pkGf0L0fjNVG+1iNZ39Ll7HIj+3pLw7fm0J1/FS/Tph4qIBevSFmaI2xhoFa8xMyEqfaDDKdqlBSPuaIBFXhHTClPabyh7/nXKMivT54u7iVzOVRf35iV+V4ZYPIZRcoQEBXip+nGcKc3nCqUNlK/CHeMZecFAZ4XaFFq/dT0dIwk03XqEBnqmC6D0BtZJzHJHObbTSuRuwpAj9MRkRqegQyGfiOJxxFcdFYIvp+GTvCxxacqryqcnk0uos1gdG44fzLVJPhEID5OgOMw80yG+16441/fOuXpIk+OQqIFIRddTT2giJkrM0o7DpRYKqICt7tWow74d2QAEApjEd1ZcD4RyiloWP5sln6QeVpDnewZPu8xpNo7yqrumki4OyK3yEdxU9VIXfOINFQqu/PQdEAvTFtlbRlORSEzrVoVQpAJz9MKipU6qX33v97cXFgCyD20N+y3ZAwT2ecdPAbBlxcZiP/Y0vcGlPd5LTCKLnFgQLLv9AbO4m6In5mXugwWxe+0ZojReU2Nh78o4rnKQm60zEfe3lll8QRZkNLj9zsqHgN7oIaJQOCqzzX6dTPIldR/kX9m5Rg+lMtpcZ6f04fNM7Ion0ZEGzz8N9ehaUukdmyZ8TXgKlDix5/Ozx/c6UqcSHmZWQnUcUgQe52njoq+lv9nY948vb6yXItlDs4bBMmcRaeRomEx3CEVgyRCzuYrCUrRDLJJC1VpaYjUogJodpEZ2CpNU6SBENaFisWO4rC411vDQ2yNOJQbHUSQoput7IhvuSUKo9pNgvfwDaQlMc6GTuagdVZftzl8bkFOiOf+lRfv4xNjWq2kIKP2A5mxZ/Kl2xdA==
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: iotconsultancy.nl
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DU0P190MB1978.EURP190.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 553a294d-28eb-4693-eb5e-08dba49822a8
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2023 11:49:12.6515 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 58bbf628-15d2-46bc-820b-863b6774d44b
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: csi/T5ompObt24hvp/reNS4RcE6haijkBUjQvg4AG/H8L+F2ELn9I3jiJpCBi+Z2/M0IJzMe8zrVmVzn6yVBYgg51+xlrS03x35zHLZReuI=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9P190MB1322
Archived-At: <https://mailarchive.ietf.org/arch/msg/snac/KpAlSlcJf-6MFwBoB1yd1JGvK3E>
Subject: Re: [Snac] Relax the requirement on a single 'root' ULA prefix generated by stub router?
X-BeenThere: snac@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Mailing list for discussing problems relating to the automatic connection of stub networks to existing infrastructure networks. " <snac.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/snac>, <mailto:snac-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/snac/>
List-Post: <mailto:snac@ietf.org>
List-Help: <mailto:snac-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/snac>, <mailto:snac-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Aug 2023 11:49:58 -0000

Hi,

Thanks for the summary of points.

> A host implementing the RFC 6724 section 10.6 procedure would detect
>    the stub router's 48-bit ULA prefix on the AIL as local.  

If there are say N stub routers, each with own stub network, there would be N different ULA prefixes.
Suppose the AIL on-link prefix has been assigned from a global IPv6 prefix from the ISP.  The default router (e.g. home AP) provides this AIL on-link prefix, which is non-ULA.

Now the Host would use a global IPv6 source address and ULA IPv6 dest address for its packet.  If the host is "Type C" (see other email thread) then that should just work, right?
There is no source address selection problem at least because there's only one to select from.

In another case, it may happen that the ISP / Home AP only provides IPv4 internet. In that case one of the N stub routers assigns an AIL ULA prefix.
However it's only one out of N, so there may be N-1 other ULA prefixes that could be used as destination IPv6 address, that are *not* derived from the same base as that one AIL ULA prefix.
Similar to the global address case above, the packet delivery should just work, or not?
Why is the "local ULA prefix detection" needed here?

We assume also that the case of one auto-assigned ULA prefix and one GUA prefix on the AIL is not applicable, since the stub router only assigns the ULA prefix if there's nothing else already assigned.

Esko

-----Original Message-----
From: Erik Auerswald <auerswal@unix-ag.uni-kl.de> 
Sent: Wednesday, August 16, 2023 11:21
To: SNAC List <snac@ietf.org>
Cc: Esko Dijk <esko.dijk@iotconsultancy.nl>
Subject: Re: [Snac] Relax the requirement on a single 'root' ULA prefix generated by stub router?

Hi SNAC WG,

On Thu, Aug 10, 2023 at 01:17:19PM +0200, Erik Auerswald wrote:
> On Wed, Aug 09, 2023 at 11:06:23AM +0000, Esko Dijk wrote:
> > 
> > One issue found during implementation is that snac-simple-02 requires
> > a single ULA prefix as a 'root' to derive further ULA prefixes from
> > for the stub network and the AIL.
> > But in practice it may be desirable to use 2 ULA prefixes for these
> > respective cases. The proposal is to relax the requirement to allow
> > such use.
> > 
> > Issue is created here:
> > https://github.com/ietf-wg-snac/draft-ietf-snac-simple/issues/31

There have been additional comments on this GitHub issue from Esko Dijk,
Michael Richardson, and me.

> Using a single ULA prefix may allow to implement the example procedure
> from [RFC 6724 section 10.6.][1], specifically the following part:
> 
>   | Since ULAs are defined to have a /48 site prefix, an implementation
>   | might choose to add such a row automatically on a machine with
>   | a ULA.
> 
> [1]: https://www.rfc-editor.org/rfc/rfc6724#section-10.6

To *me*, the gist of the additional GitHub comments seems to be:

 - Thread gateways may create a random ULA on-mesh prefix.

 - Thread gateways may create a ULA prefix for the AIL based on the
   "Extended PAN ID".

 - Those two ULA prefixes are unrelated and thus most likely different.

 - A stub router is intended to provide connectivity to the stub network
   for hosts on the AIL.

 - In the era of RFC 3484, ULA were dangerous, because they could break
   IPv4 Internet connectivity, as described in RFC 5220 section 2.2.2[2]
   (I experienced this problem first hand, thus I do not consider it
   purely theoretical).

 - RFC 6724, among many other things, fixed the problem described in
   RFC 5220 section 2.2.2.  This fix affected the usability of ULAs[3],
   because ULA are considered to *not* be local by default, unless
   either configured or detected, e.g., via the RFC 6724 section 10.6
   procedure[1], as local.  The need for local configuration when ULA
   are used is actually explicitly stated in the Proposed Standard RFC
   4193 section 4.5[4].

 - The RFC 6724 section 10.6 procedure automatically detects the *local*
   48-bit ULA prefix by looking at a ULA active on the host.

 - A host implementing the RFC 6724 section 10.6 procedure would detect
   the stub router's 48-bit ULA prefix on the AIL as local.  If the
   stub network were using the same 48-bit ULA prefix, the host would
   consider the stub network local and prefer the corresponding ULA
   for communication.  This would not work if the stub network would
   use a different 48-bit ULA prefix than used on the AIL.

 - Allowing the use of different 48-bit ULA prefixes on the same stub
   router would go against the assumptions underlying the Proposed
   Standard RFC 6724.  It seems to me that new IETF work should avoid
   needlessly breaking existing IETF Proposed Standard specifications.

 - The currently used requirement for a single 48-bit ULA prefix, as
   currently required in section 5.2.2 of draft-ietf-snac-simple-02[5],
   seems to me to be consistent with current Proposed Standard RFCs.
   As I see it, relaxing this would not be consistent with current
   Proposed Standard RFCs.

[1]: https://www.rfc-editor.org/rfc/rfc6724#section-10.6
[2]: https://www.rfc-editor.org/rfc/rfc5220#section-2.2.2
[3]: https://blog.ipspace.net/2022/05/ipv6-ula-made-useless.html
[4]: https://www.rfc-editor.org/rfc/rfc4193#section-4.5
[5]: https://www.ietf.org/archive/id/draft-ietf-snac-simple-02.html#section-5.2.2-1

> My impression was that ULA generation in SNAC was intended for local
> IPv6 connectivity inside a site.  I might be worth it to provide
> compatibility with existing specifications that cater to ULA use for
> IPv6 connectivity inside a site.

In this case, I intended "site" to mean, e.g., a home network with a
single AIL, to which one (or more) stub router(s) is (are) connected.
This was not intended to pertain to extended sites with many internal
gateways.

Additionally, if more than a single stub router is connected to the AIL,
a host on the AIL that uses RFC 6724 section 5 rule 5.5[6] would avoid
connectivity problems.  This is also described in the Proposed Standard
RFC 8028 section 3.3[7].

[6]: https://www.rfc-editor.org/rfc/rfc6724#section-5
[7]: https://www.rfc-editor.org/rfc/rfc8028.html#section-3.3

Best regards,
Erik
-- 
To have our best advice ignored is the common fate of all who take on
the role of consultant, ever since Cassandra pointed out the dangers of
bringing a wooden horse within the walls of Troy.
                        -- C.A.R. Hoare