Re: [Snac] Host Requirements for SNAC Use?
Esko Dijk <esko.dijk@iotconsultancy.nl> Fri, 25 August 2023 15:33 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 68150C1519A2 for <snac@ietfa.amsl.com>; Fri, 25 Aug 2023 08:33:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.109
X-Spam-Level:
X-Spam-Status: No, score=-2.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_NONE=-0.0001, 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 kW4J9HlLk6XG for <snac@ietfa.amsl.com>; Fri, 25 Aug 2023 08:33:28 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2133.outbound.protection.outlook.com [40.107.21.133]) (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 AAF1EC15152B for <snac@ietf.org>; Fri, 25 Aug 2023 08:33:21 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YFnmTEtHn9yIsZWg8UWT2nIvy6PWDaj+Brg1sdIRDl52N+aiu4erJIsyfowtnG2C2C8dfeOSYO3NyR5hJ21mGfKj6ZJwg4LgZowGxOG/u7ucdIiZ5MMMeWidXhkUXVMWZC9Lt+YokawEQ0WmFUkRtg8GA9fdyciF+Sz9BtSB2FHNoQkD3rPsjn7j2H4nR8BcrZIPPT9hZd9x0k/OokMplC+EuojM+wHFd4Pv4GDSbTfy1ipgksov2yWDXORsqJsliubqW/Xj9YjTScTNWquFnIOy176S7IvnpOo04GYUzNUgGzvQ99dt7HzckHTB6FjS3xRXC7pZAo0fNGN+BcoKSw==
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=m+NK608G/XQIrTf8FW/NhQLc5VqkYuAw6PacX7lWWtE=; b=DOnF4OEMI/H1bKcXkz5eNJIVo4yIlVpzkhRwEWK6iKgPDTQmYihlvr2NkHUt+gzvL9/51XcEqFGj0mk7Y6lExlGXb5MHigxhi7/ErTnelYF8eZZZYURz6jPhaKwIb8kB17WNqxFQ3/5qrG97n6gHp+FAEou889XNYpdXJSpc0GC2Wb7b3VD70KFyOdKRR6jRDPNOojb0Wn0UVdpmqgRzKWLZ0/ru7hhEncnbYkPM8rEp3Muj72jnYE0khIzg3sVfm6C8/CbEVwBJFLQGfT1Zu0HUVNA8hsZDVLa/kBXURBMl2EwVtRiZoc1ejiVzsJGrpxhs5WUO+tGxBF6LKt9WPQ==
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=m+NK608G/XQIrTf8FW/NhQLc5VqkYuAw6PacX7lWWtE=; b=dVT6mAr1LRt/0vuR/ca8qzCg7ql12rL3VNNmTLXU3IBC5eGnz20czUZvU8mAfZhR9yHS6gh720gl1SHriwZvXnvakJ0vlLvkuN572F63xAYzSymQqDxXwva96NB4LUNoCAMMk21vxcG8qt4ekkIQsU5MdWRIFFHyLE+O7Cjwa6s=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by PAXP190MB1470.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:1bd::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6699.27; Fri, 25 Aug 2023 15:33:18 +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; Fri, 25 Aug 2023 15:33:18 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
CC: SNAC List <snac@ietf.org>
Thread-Topic: [Snac] Host Requirements for SNAC Use?
Thread-Index: AQHZ05OCxwQfrEU8XUWuwgzWFCPp16/5TC7AgAHV0gCAAAehkA==
Date: Fri, 25 Aug 2023 15:33:17 +0000
Message-ID: <DU0P190MB1978FACC9B1BBDF7C036029EFDE3A@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
References: <20230820182355.GA4872@unix-ag.uni-kl.de> <DU0P190MB1978ACB9522FD82E21D33619FD1DA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <20230825145816.GB26200@unix-ag.uni-kl.de>
In-Reply-To: <20230825145816.GB26200@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_|PAXP190MB1470:EE_
x-ms-office365-filtering-correlation-id: 676a504d-e233-48a9-14a2-08dba5809b1c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: PvOKaNnhMKCTG0CfOYH4n+x0LPOtfQWkZAgvYHCFxSaTdmPlZfME6sMymdX9SCckhx2KHFhluCl7gl49TGA2LOB97/DVTTi5Et4gVbpvujlPOfd1xO2qGHHRIvOKYMZLhP/8Jmq3ERGDJZprmzT2uwn0+E8soprZo481kST3oAFFBvQJaEho0jj1jo3DtjszKccNxaXPFt+e9+yRk5SDX8oapy8627s9s0OVZvJnwS0+wr02LYLCd5/TdIGAcGVxJGR9EW1ygWHnhSQjBtYT9CI4jN/eNuPCFETGL+XXcP5FWsyGWcUyS2m561bfAilZ79MB5jcs9L6Fu4XApqwcrys13bQ8vEdfdfdq9p58Uuc0K0qWb1H+TPHWXhmYjTcbtjGEJ/z4yyCKNcHWsueRE+hUYPKSHwiP6Q29R3QYo9G6V/Bd+rSUpf7eyRVe2U5cArHygzybFxjbRiRy206f94C2x6UkcC7tik7hGl0kmh4wdSqJNsE+60FAhiQ0QW6RtrnADNRYaMa38fFFlKoM/U4seWDDl00IlQzkNWwWyzwl8NJvA+nGNKFGClsqHNLkhyu1aeYsU8PPQtVVFH6x4Jkr+1p3ynUZUP9QwnA03xltVmNUq8y3C8MJZn/dingJ
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)(39830400003)(346002)(136003)(396003)(366004)(376002)(451199024)(186009)(1800799009)(64756008)(66946007)(7696005)(66446008)(6916009)(76116006)(66476007)(66556008)(316002)(122000001)(478600001)(55016003)(44832011)(38070700005)(38100700002)(71200400001)(41300700001)(53546011)(86362001)(6506007)(9686003)(2906002)(8676002)(4326008)(8936002)(52536014)(5660300002)(66574015)(83380400001)(33656002); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: c9ux4L8u253Hs1kNBzEvCsZwbNZ2caKvBwnuZXjQ07Xx51BOyU91BsGnSK8cRu/okEt8F3BDnODgaUCYwAyeIc4DK0cGTy/z5nn8lKwcqDM+p3VD4mUBNKNaOWsyP+40V9quJE7JumKzyR8dOvvAB7QGBXV48zb6Sv0yg7ZlWHnOjH0bVBTkU7d7lHYlSUzv7jEyAg8r+rk9TPAHV30vFCTeIxsGATGmJKaghHgo9RryvCKpGuNIWj19tGprZUnGGofmYVxWio+rq9RBHYYmX5bHyEEOXFgmomu7MTM1QS4zIuXnFdWzmxNCFCpQoCw1SxaG/tNXzKkV7BBFywPVRngmH95YDZnQqAw5qt1cXSAh9w6TX+PS+cBU6mLpOYCLPeHw2ErRY0W8SoPyyEfJ7cNQm5dRLa7lmPZHXv8+RsMRDq5ubcUwJqU1U6JCoqyk8d6oVHOQdc2HaXrsn4I/XPEWjwlw/JgpLLqR12tlUmErvkEOqOqpiTFRsKGzJfS04MAVo/tqvMVkelSAuGYzX339Pv6PnIgpWqiR8kUBW2/h03VaV7qGzvo1CLl1uRJwlDIaHvjZDT2gsdepggT0RuSYD6pIly0I7XOeg74goOgmUObxalnrcwcx6dmmXUfUxdhbJXcDh0wOj275ZRy1FnuOTY/IGxWdBhl+WpUZtD37Uoa6hjmlRG9DvhMNQM/Vyzzq51scw1YaVWoTaSQmEiZ574PBp/0K6IcoxkRJ7NDTuecXKzQdaYYvWb0QqWl3+OkWUDwegqF1TYRl0eLMPP8MiCeUgGoYryQnfWkDktkM3tzB/6ByMfM4R01hkfskKl1HW/bWtqO/dgvuW7AtddTIyly8LoBYjthEMbfWSI1VxVLCzoRcMlWNfrTZfpCJYHFskbRWDTlr6YthSJlGkR3bsak3JE+H1Gji4XtVZQZgIGlZ5JVB/zJ7D1kmgYLDIqcRO8wlQP6+NTTnNr0PmQ1lvnbb5R6+GOvp9PTDOMqVQm1Z8z4QYDPyTzBxp5mqaULhIomos99HkWTwOfUBqr3TxfjmbDJlccki+nVwpj7t8IB1siFoeWb/jNP4H0IzH7egrE082zvL9uZYADTDjJxVgkJd/Kj6cj9B0dL6QOfs+ApgvV3g5y9fHmziIOQtSQYKnBr6UiXG5I+CAItEmklvrWdQdNhZIa4rE4q/eKlBHBWYZRtu8mYs7S2qMYO3xh/geaq9pOJNScDH3dgpeBws1zMQx/RgOrDJusP0hlXyUWNU0L475kwwsmeYAZ3JlenQCF9sX4blyveQIDwGw2FDZi07BbgeEkYZGBvffztjk53IDWCtEzfbLEBVZrIk2z2HGnyhNqAJMNK2MqGtr89D98ZOSqfYOI9nnGspYEGnwRBaKFq+OiEbWMZ0wt7y7vzsaLjd28xJ7CUIdo17HH38t5KCwqHfSur3kuShm6wx1sQBl9s7nny8tCucGU3IYF7i4W1QkVqfMjcNpt8RszKy5QKG1IsY7Rk5EGkXnKLq255R4bgBRfRPnaG9BED+ssLpKFmPwdbCBURSZcvrRahlmLsIHkfco7d6lhjiIy+nLC+w1/nUey2/QRn2EmwEUjf7q4l7NJUfs4iO/VYM9mGVSBcs29Ug5LAqn4cmRgvFEtAJmHpuftPP3t5ExPtLcoD+v0AcaAFfgi3T5jSsOA==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
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: 676a504d-e233-48a9-14a2-08dba5809b1c
X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2023 15:33:17.9521 (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: nsD5jm1b8K/KhzdWnDIC29Uz1VUz/0Zn/lHcg0X5tMgLgQs7TWv6dgqK59YhNGM3t+0zehpi7uceGhPZVotdEiqgc/bA5m7O5yZVNuBT/P8=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXP190MB1470
Archived-At: <https://mailarchive.ietf.org/arch/msg/snac/t_RLOGuO9x1-e5iF9iAzsgkeULU>
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: Fri, 25 Aug 2023 15:33:32 -0000
Hi Erik,
Thanks for the responses. Given the expected behavior of home routers you mention it seems wise to specify the scope for SNAC-simple to be Type C IPv6 hosts.
> I would suggest to require a stub router to use a Low Preference in the
> RA, but a High Preference for its stub network prefix(es).
By the way, is there any potential issue that the stub-router-provided ULA prefix would somehow interfere with IPv4 connectivity? I'm assuming here that IPv4 provides a default route (e.g. via the home router/ISP) while the stub router does not provide a default route.
That way there is no wrongly provided impression that the stub router has IPv6 connectivity to the internet. So, the Router Lifetime field would be always '0' for the stub router. (Which we may clarify in the draft)
There's somewhat related text in the draft:
The stub router MAY advertise itself as a default router on the stub network, if it itself has a default route on the AIL. In some cases it may not be desirable to advertise reachability to the Internet as a whole; in this case the stub router is not required to advertise itself as a default router.
But it doesn't mention the case of itself advertising as default router on the AIL. That seems not advisable; e.g. if stub router 1 decides to advertise default route then stub router 2 may think there is a default route and will follow the above rule, with unwanted consequences ...
Esko
-----Original Message-----
From: Erik Auerswald <auerswal@unix-ag.uni-kl.de>
Sent: Friday, August 25, 2023 16:58
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: SNAC List <snac@ietf.org>
Subject: Re: [Snac] Host Requirements for SNAC Use?
Hi,
On Thu, Aug 24, 2023 at 11:25:51AM +0000, Esko Dijk wrote:
>
> 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
I was looking for existing methods for a host to select the correct
gateway when there are more than one. RFC 8028 is one example.
> [...]
> > 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!
I agree.
> 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.
I would not expect an existing home router to look at any RAs from
inside the home network, much less to populate its routing table with the
information from those. As such, the home router would either forward
the packet via its default route, or drop it.
> If that is the case, we can still support Type A/B hosts although with
> some degraded performance/latency.
I doubt that to be the case.
I think that a stub router following the new SNAC ideas could learn
routes from RAs received on the AIL, and use these to forward packets
towards the home router or even other stub networks. But as fas as I
know this is not common home router behavior.
This might be nice to avoid breaking Internet connectivity when adding a
stub router to a home network But for reliable connectivity to the stub
network, the host would still need to select the stub router as gateway.
> > 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.
If the stub router sends an RA with a non-zero lifetime, it advertises
itself as a default router. An RFC 4191 type B or C host would evaluate
a default router preference and should thus prefer the home router if
the stub router uses a Low Preference (unless the home router were also
to use a Low Preference), but an RFC 4191 type A host does not evaluate
the Preference.
I would suggest to require a stub router to use a Low Preference in the
RA, but a High Preference for its stub network prefix(es).
> 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.
I have read RFC 6724 again, and I think I made a mistake. RFC 6724
expects that the first hop gateway is selected via destination address,
and then describes how to optionally choose a better source address for
use with this gateway. This does pertain to RFC 8028, but not to SNAC.
> [...]
> But this Type A/B host problem is there independent of the source
> address selection. Or am I missing something?
I think you are correct.
> 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.
I would expect independent stub networks to use different 48-bit ULA
prefixes. In general, a single stub network should suffice with using
a single 48-bit ULA prefix, but current implementations may not restrict
themselves to this since it is not seen as necessary.
> 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.
I think we cannot rely on many features to be consistently present in
existing home networks.
Currently, SNAC implicitly requires RFC 4191 type C host behavior.
This could be made explicit. I think that would improve the draft.
I do not see a rationale for the requirement of a single ULA prefix in
draft-ietf-snac-simple-02. It seems logical that a stub router would
not need more than one ULA prefix, and one such prefix might be nice.
It might help in troubleshooting. It might help keep RAs sufficiently
small. It might help keeping routing tables small. It might work
together with source address selection to help selecting the stub router
as first hop gateway (but that is not described in RFC 6724, but a rather
different idea). With no explicit reasons for a single ULA prefix, the
requirement could be reduced to a SHOULD or even dropped from the draft.
The current motivation to drop the single ULA prefix requirement seems to
be that an existing stub router implementation does not limit itself to a
single prefix. I find this reasoning quite weak. I wrongly interpreted
RFC 6724 section 5 rule 5.5 to help select a gateway after selecting the
source address, but it works the other way around. Thus I do not have a
strong reason for a single 48-bit ULA prefix any more. I do think that
it would be neat to have just one 48-bit ULA prefix per stub network,
but that is insufficient for a MUST, I'd say.
Best regards,
Erik
--
The computing scientist’s main challenge is not to get confused by
the complexities of his own making.
-- Edsger W. Dijkstra
- [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