Re: [Snac] Host Requirements for SNAC Use?
Esko Dijk <esko.dijk@iotconsultancy.nl> Thu, 24 August 2023 11:26 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 B404AC15199F for <snac@ietfa.amsl.com>; Thu, 24 Aug 2023 04:26:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.109
X-Spam-Level:
X-Spam-Status: No, score=-7.109 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_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 U-7cu4yLW7Nr for <snac@ietfa.amsl.com>; Thu, 24 Aug 2023 04:26:13 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2103.outbound.protection.outlook.com [40.107.22.103]) (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 07E74C131C6C for <snac@ietf.org>; Thu, 24 Aug 2023 04:25:55 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bIvDpZYQkbWC3UyZRhJuZ+p2MIW8hZja3/9EyF8hGwpJuckFIgLwwXkQsYs1zh83vQz7Cm8izomkG3GfBusqonFiMX5Nim1MHqKpsaJMRa5JR1b/vZeoRHFJDg43+Thk2tXtO7wO/zjfOx1icpe2MiyGr+LmTEbmp604TTAa+C2tK+YslL6BrxBJVHZKpcm/5DnH2IM42b0hWK5JPPLvhOaBuFsIjdViS2k4TjjlMoZCV1FUxFtvPtt0wD4O/e181Br+4ru3dAoZl5/HSjoowKLsRrMejWr4Q4FrU8wRHpOND4dIpFPJMTJ3NTTb5vXQ+D0k0D9HJAEIEmli1sC1vw==
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=sDI8mfwUPMJQ7lnjxcvK4ZoPBKJlDBgD9u8gVRyTi7U=; b=Mqbf6SCN4F2fsOnMxV0kfTMTSrkh9/1OrV8+zAr1p92CBfUNLt7L5EIc9gVrvikxSrZYrFdGC89XWbp35XEFhY4dFjjBXdd0yfsavzAk4IaUbIJRX3FMyEZoNkWJvoBqAxQqCHSExsoifNMp0QlwxwJwClUY6uCDejyGZlqZnpdNGhHr8flNS18ibawUpggoYokJDoLFW5r1heii1kGsnobmVaLCtFRdT4pMfVCS/tk8LPtbA1rjfTLzw/be1K6PdMpylxQglA9rmKnwkTacTchFU5X1mWOXKFxATitg6dtH5LlhYgwZ7rCKRXiQdqu+KOX/r2+SmOVuUZvTL5REaQ==
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=sDI8mfwUPMJQ7lnjxcvK4ZoPBKJlDBgD9u8gVRyTi7U=; b=BtPnd4/qAKstRHXd5yY1bWYni/osccE+8CmHHW23qzO0unk0VW0PHHy6LPu6/7qCjOXUOyChiGJR7C9Vd1CE1E+L7sHjP5p6WRxZbtslsCqkq8MAKRopbGi/wQ3iwheYGScTfipijYfuOQl9oO9LyzfzqH+aUDv1zsvWF6TL4dE=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by AM9P190MB1219.EURP190.PROD.OUTLOOK.COM (2603:10a6:20b:26a::11) 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:25:52 +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:25:51 +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] Host Requirements for SNAC Use?
Thread-Index: AQHZ05OCxwQfrEU8XUWuwgzWFCPp16/5TC7A
Date: Thu, 24 Aug 2023 11:25:51 +0000
Message-ID: <DU0P190MB1978ACB9522FD82E21D33619FD1DA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
References: <20230820182355.GA4872@unix-ag.uni-kl.de>
In-Reply-To: <20230820182355.GA4872@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_|AM9P190MB1219:EE_
x-ms-office365-filtering-correlation-id: 682c0f8d-8644-4f7e-e076-08dba494dfab
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: wwgfrA8tSEzFRirfXMtSD02NEcW6ZgHIFXR3u4qI7PfRtY+ZvR4klP4bOxK9FfglD1NW46VLMfTOg+8vpJOcyjidlUwW5zwrhb5GZsl6xJ9FsYuf8dNQN6d2MX8Qfu5g0B6Ce8jMfWlxsiFb5g7iI8/7VQXypHT35Gtlyfl8PcVKnrqq//N9pVhwxe91Dj56scgmEi05EBGage2c9KAU/zPGevw0qJtOFe/sKHqnAO8bd00j33cIFHuV9jJhkFvi99CijQjtUmUDHqmEyJOPRgkQQ9wp+netzIBVvfFL+hQFHA01EL/BMwge6xqIEnDlrKWqTehN9pfdCLz/AYEvMa4CiAy7E7BEdE5Ifb3HU41IVwZ5kWhd9ijr6vA1wUafZdCgAGiENb8icB0w1Z1qlbHsUMvAzwiNZe/sS5+SA60nQ3jDUxSvZrsi/J5ahqxySSucJB3U1B0ySX46Qk/rKHHpZg+PsO2RG+/RYjIhP7FjF+RoQJIo1RgQ2hKgcvgOWAUWMsaZcyhGD1RsrDZ5UIJZnXz5nVlf3hcK/R4seYzJPk+DGweSQUZkp2bckctC7Yqg3bRpvuQ1+ebZeaitiEWzcxiO6ueliX/cYMJtDeQ=
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: W81cXZrzhmtxUSYRedn6JIpY2s8gGoXjTxnrMU5zZYfDXx7zUpnUnPCpqsPIonTKnjwYkyot+vbUKvcfeA7g3tidJ383vTkJTQ9tNUu9YnqeVLOaxzRcCeong5d0LzTnS/HA05RQ7PxZrTgLEBV03DQOH5tlc8Ia+jYw86kmlP7r8rt1uTe52K4djLOxN3Rc1LtjxgM6hrJcSow4HsL86hy3gOOjqyLzRU4uWdYXq5WKE2mtNqJhrH+GQg/6EEi80l/6laUNys5daTHtGCWmLt3EIyhv8jL0stb6WfEdxM/ICg9vJAdU0heFe2cmH7kAr0sOOU6c3+8j2IRX9VOFvavndOGp555cD+S3/7NDenkG3n+fbigHA2/paWPV1ImGrvlHgkFjK9FbiCyjt5zYVXoKfWYQxYSMYs0rAQWX/K/9DVEE6w/5jXahcpwNiublbBbmClHqKXQqr5qzknybT6kcWPC+liBfLENKn6lECd50TqRUyHaPqxVRvUGAQ3VHYoxlyOpxKQt+H+n2/rL9cZHLFmdby9jQ6xaAZ7DolBcvXU8kMJrxXKlZ88rOYS7SG5KfeTDYsO6tOCQkzWYZOmamr3DiZT/ghnKpUd9RctwJ+ryTNAR6KbiVtTFjmVY2G0vzXoRFbfUwsP+TW6bsGZv9sHReOIW8aGYp4DBbn4CfFN0y2jxbeN7yHz2JUEMV85IQM5oyg5my1mi1PBJnjOXR9wc8UP7y1rojGHnGKYh/qFQWnTlxEoG97ZlCFHgy6uZdM/QNhbWa67ada+EX8IZVIC5FTwZOimruiLkRxXFnQw52F5rMaekEagDhzLVKr4Bj6WC59BBd+3WOxplMs9FKgPVbDhQ6RHlE/Px+HSznweWk6Sxv+IE4uL0eReAg4ssmLG1bvGEQRU4L4Q7urQUsbPMxJSWL8iwWkpM4qMi8ymcHsgN09nE5cR68aKv+w+Wm0qq5RQ++tEsPkV+pSgs6iDwaHgzmbUGYK5T0d2o9JLs9o0IsGKZkQ/DQXlD+4GL8o+nzWpMJODyeV5mbKQsj6SxOH91Sr+zowVZQtk/r6HlhosNZWhul6lVZEeck+gNcdgyCWkyOLqc5qYrH5gQYtxyNYGzLik5RoPptaPhT7cN4l+gZsVLc6y7KgfPylH7qeyjUB2M1m7Iru7/Jb7gEbEajaC08oJ9Xphiy3pQDGVVO/H+87q06S6H4xYEbFO2ZXOQV6ixQAedEmKaaIMmVMF7MkhkXr8rWKUYbpmxYly6WvvxqcR8CiXZ2I6UFvufYtAZGgUgBJ8sc/bzFQqaObVvwHpU3qJhj54MZIkYxoC3glbn1WNWQqkwbN2QZzxEBDfZNHWcd5po8395Eai3g+pMXJEm8gSUo08gJZiohJWppARy0wiholZ7A2O0jkzu0xXyrwBjxpWqT5rYmrS9XkmJEnLuNLaacz8F0mKlhat6p/sQGojwt2mvPOgh9lLsSOjLbMIvyTULMXcuuS3TDszDbbovxkekZ7J9zquRG19UvN2gLQ/Te0wa2i1qiwioqYCS0wpVEzlkkljjuN0JSrToYy4yKGaWJq8dm76ggGbRUu1t2katwArUU+ky6N/QI1EDe652Lm+iCWCZ4zufy/0WyRrO60bJGCYxgvI7RmydpCs41kmTyBoNkBN7848wDHwsGtTm6sGFUyszlcA==
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: 682c0f8d-8644-4f7e-e076-08dba494dfab
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Aug 2023 11:25:51.7564 (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: roeBFzBugZkbHYJ/N6aaxnGyPFBmJoRhNx9EzZbl3IWDfwhm9kyBZIL0Uk4yTIkh+g3RtZm3AMvHtZrFSN5mnalEocAHxdgSya8CrkVzqi0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9P190MB1219
Archived-At: <https://mailarchive.ietf.org/arch/msg/snac/ZXCDdBUjFn39Vr6sc5lZiEqo4NE>
Subject: Re: [Snac] Host Requirements for SNAC Use?
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:26:17 -0000
Hello,
I can try to respond from my viewpoint. This could help to identify the open issues.
> BCP 220 also recommends (but does not require)
> adherence to RFC 8028 for first-hop router selection.
I don't see how RFC 8028 is relevant here. It has the following applicability:
IPv6 host in a network that has more than one prefix, each allocated by an
upstream network that is assumed to implement BCP 38 [RFC2827]
ingress filtering
The network/link (AIL) considered for SNAC-simple is a link with a single IPv6 on-link prefix. Either a global/ULA prefix allocated by e.g. a home router, or if that is missing, a ULA prefix allocated by one of the stub routers.
So there's not "more than one prefix" and I don't see immediately if any problem would occur if we would have > 1 prefix. For example the IPv6 host on the AIL would remain reachable from an on-stub-network host, regardless of the IPv6 source address that the host on the AIL used.
See also below for more info on this case for the packets in the other direction.
> RFC 8504 (BCP 220) requires adherence to RFC 4191 which describes three
> host types called A, B, and C. Only type C hosts can reliably choose
> the correct gateway.
This part I agree should be clarified in SNAC-simple. I assumed a Type C host for sure. And I would consider Type A and Type B to be even out of scope if required to keep the solution simple!
One question is: what if a Type A/B host sent an IPv6 packet to the ULA dest address of a stub-Host ; and the packet would be routed to the default router of the home network? (E.g. home router / Wi-Fi AP / ISP box)
Wouldn't that default router immediately discover that the correct route is to send it to the stub router, based on the RA RIO advertisements? So the routing is not most efficient then but it works.
If that is the case, we can still support Type A/B hosts although with some degraded performance/latency.
> If the stub router also uses a low
> default router preference there is some chance that the host will not
> use it to reach destinations not on the stub network.
I think we could clarify that the stub router must never ever advertise itself as a default router (or advertise a default route ::/0) on the AIL. This isn't in the draft yet.
Not sure if that is what you meant here? The existing mentions of "default route(r)" in SNAC-simple are pertain to advertising itself as default route on the stub network side, not the AIL side, I believe.
> If the host conforms to RFC 6724, and follows RFC 6724 section 5 rule
> 5.5, and it implements the procedure described in RFC 6724 section 10.6,
> and the stub router advertises a ULA prefix as on-link on the AIL, and
> the stub network uses ULAs from the same 48-bit global ULA prefix as
> advertised by the stub router on the AIL, then the host will use the
> stub router to reach the stub network, and will not use it to reach
> other destination. Perhaps this could be added to draft-ietf-snac-simple?
Given the above, even if the host would not follow rule 5.5, it would pick another source address, but still that address would be based on an IPv6 prefix that is on-link.
So it means the stub router can correctly route back to that prefix and use IPv6 ND to find the host back on the link.
And the IPv6 host if it is type C would still use the RA RIO advertisements to pick the next-hop router, regardless of its IPv6 source address.
The only question I have is for the Type A/B hosts - they might pick a default router instead and the question is there if it would route back the packet to the right stub router on the AIL instead of sending the packet out onto the wider Internet. (My expectation is that it would work, but ... )
But this Type A/B host problem is there independent of the source address selection. Or am I missing something?
Also keep in mind that there are in total 3 possible cases for a given stub router:
1. Stub router uses its generated ULA prefix to assign a prefix for the stub network; and also to assign a prefix for the AIL.
2. Stub router uses its generated ULA prefix to assign a prefix for the stub network; but another stub-router (there may be N stub routers in total, each with a different stub network) has assigned the AIL prefix.
That means the prefixes don't use a shared ULA prefix.
3. Stub router uses its generated ULA prefix to assign a prefix for the stub network; but another non-stub-router (e.g. home AP) has already assigned a prefix for the AIL.
That means the prefixes don't use a shared ULA prefix.
So we cannot rely on features that only work well when a single ULA prefix is used to derive the AIL on-link prefix and the stub network on-link prefix.
Esko
-----Original Message-----
From: Snac <snac-bounces@ietf.org> On Behalf Of Erik Auerswald
Sent: Sunday, August 20, 2023 20:24
To: SNAC List <snac@ietf.org>
Subject: [Snac] Host Requirements for SNAC Use?
Hello SNAC WG,
when looking at the basic idea of connecting a stub network via stub
router to an existing link (the AIL), in general a host on the AIL would
need to use the stub router as gateway to reach the stub network. If this
host already has IPv6 connectivity to the Internet, the stub router may
be added to that list. Now the host needs to determine which gateway
to use for a given packet. Both the IETF Proposed Standard RFCs and
existing host implementations allow to choose the wrong gateway, i.e.,
a gateway that does not have a next-hop to deliver the packet.
It seems to me as if some assumptions beyond the most minimal IPv6 host
implementations are required to connect a stub network via stub router
without additional configuration.
RFC 8504 (BCP 220) requires adherence to RFC 4191 which describes three
host types called A, B, and C. Only type C hosts can reliably choose
the correct gateway. BCP 220 also recommends (but does not require)
adherence to RFC 8028 for first-hop router selection. Among other
contents, RFC 8028 recommends use of RFC 6724 section 5 rule 5.5.
If the host behaves like a type C host from RFC 4191, and the stub router
advertises the stub prefix(es) as off-link, the host chooses the stub
router to reach the stub network. If the stub router also uses a low
default router preference there is some chance that the host will not
use it to reach destinations not on the stub network. Perhaps this
could be added to draft-ietf-snac-simple?
If the host conforms to RFC 6724, and follows RFC 6724 section 5 rule
5.5, and it implements the procedure described in RFC 6724 section 10.6,
and the stub router advertises a ULA prefix as on-link on the AIL, and
the stub network uses ULAs from the same 48-bit global ULA prefix as
advertised by the stub router on the AIL, then the host will use the
stub router to reach the stub network, and will not use it to reach
other destination. Perhaps this could be added to draft-ietf-snac-simple?
Since a host may decide to send packets for destinations off the stub
network to the stub router, it might be a good idea to require the stub
router to forward such packets to a default router detected on the AIL
(e.g., via RA).
If there is no IPv6 default router on the AIL, the stub router should
make it likely that connecting it does not break IPv4 connectivity to
the Internet. If the host conforms to RFC 6724, use of ULAs by the stub
router suffices. This, of course, means that the RFC 6724 preference of
IPv4 over ULA is required for safe stub router use. Perhaps this could
be added to draft-ietf-snac-simple?
Best regards,
Erik
--
Inside every large problem is a small problem struggling to get out.
-- Hoare's Law of Large Problems
--
Snac mailing list
Snac@ietf.org
https://www.ietf.org/mailman/listinfo/snac
- [Snac] Host Requirements for SNAC Use? Erik Auerswald
- Re: [Snac] Host Requirements for SNAC Use? Esko Dijk
- Re: [Snac] Host Requirements for SNAC Use? Erik Auerswald
- Re: [Snac] Host Requirements for SNAC Use? Esko Dijk
- Re: [Snac] Host Requirements for SNAC Use? Erik Auerswald
- Re: [Snac] Host Requirements for SNAC Use? Erik Auerswald