Re: [IPv6] [Snac] M/O Bit reflection behavior of draft-hui-stub-router-ra-flag-02

Esko Dijk <esko.dijk@iotconsultancy.nl> Tue, 16 April 2024 10:16 UTC

Return-Path: <esko.dijk@iotconsultancy.nl>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 274B1C14F600; Tue, 16 Apr 2024 03:16:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-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 aRJJpgqCVcdC; Tue, 16 Apr 2024 03:16:00 -0700 (PDT)
Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2109.outbound.protection.outlook.com [40.107.22.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 25FB9C14F603; Tue, 16 Apr 2024 03:15:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dTEhbpeM4jr2q0jsIQmAVoYCx0Vzjx5K0ZaHe7040Qwh+uULv4GNFRdzv1YSkBRqHwVr//3DiWtSUvzQrBaqFK0Le0noJE8qixD5Dlzu9cxofrbTOG6Yq3atEk5enHYD05cfqN3bWb6Q07tX/0yR502jacwQ2i6ApubOnnGAEzusQJSqe7ljEW4dqi7u2E0s98hYXFP45LDy5IHh2/AcfHP8Ki3jq6dElDvfHlYFGFVnEQ53kCnsdM7csQQw1oRay7JkquyOhkdQw5LtzDoFEIC90Kf2pRsSgl0dvbpZQgrzwKTzZHW7p9YxCi3ITDjbC4iKk+aoCCRKNLbR50iyUQ==
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=ybB7NrCFH9YwRaS6QkxAgNEMBOMz5b+Gi835k2yB03s=; b=GXPZpIqpWAIY579uWIQQOtxSytKUMBmcFtxh/fvNzfKyp1moO5+ceh+UI68tIHlSCSZylQPuUPZbEX1BERN98h5O505zpjrxD9p2OOlT6sE8NrA0RPCPQAoB9ScrEM/NVNqS8eVYNQClu0fttbmPwNHdUR/WpjoImJ4RCMznV7a9g4g0vFKof96+LBiqt32TFi3R5SWDIRoZtFUsOSRQUBbfPNzBfW0Kr0sUJyRh9QjBRAjd0niYqElXd4nrtCuR7xQtVp6Q44pACDEJ2ahUCvy+fsiI7NFwHBq2mtwaiQxmW5dO4k6m8+/W1Zqmz+2YshwnN5mjcVjiGnr6MewMrQ==
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=ybB7NrCFH9YwRaS6QkxAgNEMBOMz5b+Gi835k2yB03s=; b=IKhYyBQX7DvndWCKVBZ/r2g2uqiMVQS1GkY2nhqKLyh15qk5HB07dQNe22fwPeOWI+j3xhtMMuf5S7aBF+8I6DgpXAfPS3tnYHK54+18ljbxhZU/vHMWAtPcMNUmoE8KB7Y8ff1xuyRaER+558bwl+HtaOio4HgQ+YaK1Nm5FyY=
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM (2603:10a6:10:3b9::20) by PA4P190MB1119.EURP190.PROD.OUTLOOK.COM (2603:10a6:102:bc::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7452.50; Tue, 16 Apr 2024 10:15:53 +0000
Received: from DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::2058:88ab:2f5a:8c02]) by DU0P190MB1978.EURP190.PROD.OUTLOOK.COM ([fe80::2058:88ab:2f5a:8c02%7]) with mapi id 15.20.7452.049; Tue, 16 Apr 2024 10:15:53 +0000
From: Esko Dijk <esko.dijk@iotconsultancy.nl>
To: Ted Lemon <mellon@fugue.com>, Suresh Krishnan <suresh.krishnan@gmail.com>
CC: "snac@ietf.org" <snac@ietf.org>, 6MAN <6man@ietf.org>
Thread-Topic: [Snac] M/O Bit reflection behavior of draft-hui-stub-router-ra-flag-02
Thread-Index: AQHaebksvObjmtVkqECIksm6dlZYvbE/PIOggACTxgCAABRtAIAAUlwAgCqdkwA=
Date: Tue, 16 Apr 2024 10:15:53 +0000
Message-ID: <DU0P190MB1978F520A848CB9F32AA2385FD082@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
References: <D993DD7C-4133-4C9A-B9BD-D38A37CC8A4F@gmail.com> <DU0P190MB1978A6D7BBCE565E0C9018F7FD2C2@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <DU0P190MB1978D701C90820D8DB97CCEDFD332@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <46119458-8B82-4DE0-A5BC-C58F64436FDB@gmail.com> <CAPt1N1mXSPR=7XwyobZhOSZppFohjJd-8DirqM6QFYihQXbvDQ@mail.gmail.com>
In-Reply-To: <CAPt1N1mXSPR=7XwyobZhOSZppFohjJd-8DirqM6QFYihQXbvDQ@mail.gmail.com>
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_|PA4P190MB1119:EE_
x-ms-office365-filtering-correlation-id: 02d4b8e6-ee71-45e5-bd65-08dc5dfe32d2
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: w2AKXj5KAq5n5odV8UQt04BPuj1TMmtZ/+s1Gn/IbU+8IUX0edQFo7LDECRxP/QE4y6TE3h7BfDdshU+8IXdlbgmhYFY+lGCtPxVzCxIWFH0KnwFUm/We0KWTFRfOFLCwmMMEYJIwZU2N3/u6sh1B8ycxXRqH1Y/WEA3WZ+bMW8dtPoE/fffKivHMsLuvnaAZzOvhRUYJAYswLtBJ6Xp/9sxyB7IEiokok1AL0vHuDpL1yHkqpWJL1RdHi8lmPJgYEOXg8vN6XMHMpJV/d170Db5Ys9HR4sILr18HOpGN9bgKzgIcnJovJFb9af+OF28i1Q3ZX+pOovYrZ9wNdwUVW3A6CsWUOxkFlYIRGUK3MPizqoysV2oCIh1RX/v3EIFhm4B5dYPnvcPzByw0wLyKo4jYvofnHabmokQ3Rmfm5fH+DgSlR4VVjR/9FnKTbll1jy4B+6/wsRnlrhUJnDHduZCSigoh7zouVxwjBgBrW7uo+zYfFrhop87T292eJpfNerWB/X0A6vtOMVfApz13Wawz+A9Z1oeYq8Aa32ErCrUcQYyOzdx3a3TNrcvFnbJ5rj/C23WGqPMF9XoU3n+DeNPELMjEwgvq873AIV0zo+LBO8kV4HRPyiHiqzN8ni5oZ9YhCqXWUTqUp6eWvFBLwvXEmqiY71FCI9fi18zak4gYeTy8XfN7I01oMwn32mewbuG+ET9saVpiM6cWXIrS70nP4Dy99UlGXiQ4ArhQBw=
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)(366007)(1800799015)(376005)(38070700009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: k85cGNeUhElFlJWidLEAmzxl0L42OVPo3OK2QeTAHa4d9ByA9l7Qn8tC2A7mbCfN5MaK0j2PfU5GUT06n73YMU41HAbUcBoi2adHdXPdc/Gk5f6ZFRsyKSLxn+NYdMOxi6AU+obfgLHA0IXO5Gd6Wb0zEMdb0eiCVgHvEPt3dlygyyifeO9fjCmJnqg0vP99I3Va7FP7wBhJMMpYCs+4u1ulQ7cgDCJGf0VqA2s66DKpxxCF1fskIQIGUXVZlfQMZ8OhQWTs8peSrjCDyopNBjJV+JRh3wojK8z3gbGCZUcMUchTYImPWJM0l1mYzTjnj2yk0a6+8eEV24KpmDjoc2EeDadMxbMys3tJjZ9GyH2hxZCTtX0DJK++mPiO3l838lsAgi7GRcnbog8WV4rtrnJR7U8kuTPZsR/Trju+lIs6HE4zUCvjJ7tB6mgRNpetgr7QajAfbdHGamdharBnii/8r66YBKEGtABv70e8turt38+/ouExCnr4ucFrAH6hoSRE/CCFfYUDdF4m3/LKCKmBWG4lqaGuqo+Xfto84ULdEqXrR1TQG4hBFyTSaEs1THSms16QAMQKST1oHwuXDSXZq+9ef5CfPENMg8pRpgd79hanR15xeXAqWYj51RQ+9tNOIX4Gbl1NhgMn3OtDMZjuB3f1ayVLHWOcOpWR6+ys0pMAY06a1vC40VHJsdCfxN1s1JGPaaYKcSMLl31X+FLgGGPRK0HZj3NiexvzZROU60Jtd+Hn6iAdittlYTAO8qewnPb5Ex27Y/i8hhjuvllgcZ1BAD7YVqraaBBZ0o9unnmM84yUkpRcgwN38MY9Un2KITuk6z7KV+3Q6R5YeNFJSHK22N6UO4xoUc+mjQMx6oqqr15Wq+KSEsbdJ/m4GWGq+OyW+zkKimmcRoHwFyNt1HUB5mNPTs/GD4k3tN+NYtWdxH3CjRqzy4MECs0tzZzT0ROJoIZj+7zZSOLek4YEVGOxkVPV+4IiLQvdPvynwHn8gaqtOELR8SRcoT+3RiAtH+kCWRAZbU+oLWkYH6KiQsBWSgVdAkZzq7FInZeau4vUTcFp4//TgdXRnob+OoyQ3irSDHF9eJPt4CYDFi0x89nz1n2BulDy1O3n5+TDgavy9fg/EPcwSMg5bnguS10NA/K3aS7Z8VJpoBx53fe3VOIoZqduk9LmDw59t+V8fbuQYSqqdCWVsFNkZ/NM5JpMHFNTUHMPHGbm0331xW2qZIYn7/fmXjDYw/fNtg6B8LBmxrTAdnl6+P3DJQRXvMqde8xI3B95+OdZW7w/voNwy/M8xyylWgN7zvtGtUVaQoBTSEFRvxeXgozbL/L97GubGGPE8PzDZTTu0p6h6Spo9e2A+mZQSNb4KUgm3FcCd5y5cXG3aTimKfdRSY5TXxxznejSvjqWGKHfua4xktY57n1XvvWsFossqm057M6UAj+lCxUThu1DIcvJ1s+Y7LjStdxgfPCrIkjfPrTD3UXHpXpnpyIEouizi+eQ5vRUVNt1EIGJNhYQy+D6pmBcdXOZobbpvIjUPRzuT/hKMs2eVqA9pAH4ejNp5ddNmGhWzIqYUaHpQeHDga3Mv4yofcI7ZmwiROkbVQimafS/CiaPnlzndysvMFDg3NtFkwV3Yqy+fhQlEMDipk0sTwiQ2bV5mtXypvtBozLzuA0pjw==
Content-Type: multipart/alternative; boundary="_000_DU0P190MB1978F520A848CB9F32AA2385FD082DU0P190MB1978EURP_"
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: 02d4b8e6-ee71-45e5-bd65-08dc5dfe32d2
X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Apr 2024 10:15:53.4988 (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: ecJ/IMOd6DmHlcBXDwmWEkyKFRYx4cVRB3kbDiR6pxOpZDva9X3Yly8qlv7USgJEUg/xyqkIceZg52XK5Ib9evCSXwA+wJ76ZdKZoaewNEc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4P190MB1119
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/GNghHpwDpO-fdtvyLkQA0sEvPnk>
Subject: Re: [IPv6] [Snac] M/O Bit reflection behavior of draft-hui-stub-router-ra-flag-02
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 16 Apr 2024 10:16:05 -0000

> is the current requirement that the M&O bits be consistent between RAs actually a good idea? And separately, is it necessary?

To get it 100% consistent all the time seems to make a solution complex (as our past discussions about reboot corner cases show). It would need a distributed consensus algorithm.

One simpler solution is
1 - copy/mirror the latest values advertised by a non-stub-router, if any
2 - when a stub router boots/reboots, first send an RS to get non-stub-routers on the link to respond to see their M/O flags, if any  (this RS is anyway needed after startup, to know whether existing on-link prefixes are “suitable” in the SNAC sense).
3 - if no regular routers are found (only SNAC stub routers) – then advertise M&O flags with value ‘0’ . This may conflict with other stub routers that advertise ‘1’ – but only for a limited time.
  (Eventually these stub routers will switch back to ‘0’ or to the RA-advertised value, if such a non-stub-router RA ever shows up again in the future)

Agree with your 3 questions but I don’t know answers. Btw what does “DHCPv6 is wanted” mean here – that the client or the higher layer controlling this client gets a sudden instruction or preference for obtaining a DHCPv6 based address/prefix/information ?

Esko

From: Ted Lemon <mellon@fugue.com>
Sent: Wednesday, March 20, 2024 08:07
To: Suresh Krishnan <suresh.krishnan@gmail.com>
Cc: Esko Dijk <esko.dijk@iotconsultancy.nl>; snac@ietf.org; 6MAN <6man@ietf.org>
Subject: Re: [Snac] M/O Bit reflection behavior of draft-hui-stub-router-ra-flag-02

[Adding 6man to this discussion for reasons that will shortly become apparent]

Suresh and I had a conversation offline about persisting the M&O bits advertised by other routers. Suresh accumulated quite a few battle scars over this back in the day. I think we could solve this problem, but just the stub router bit isn't going to be enough to solve it. And then the question came up: is the current requirement that the M&O bits be consistent between RAs actually a good idea? And separately, is it necessary?

I don't think we can answer that here, but it might be worth trying to get an answer to that before proceeding with a complicated solution. At present at least Apple BRs do not in fact reflect the M&O bits received from infrastructure routers, and we haven't had any bug reports as a result. That's not a particularly good indication, but I think it's worth investigating what DHCPv6 IA_NA and IA_PD and Information-Request clients actually do when the M&O bits go away.

There are three questions I would ask:
1. What happens if the M&O bits are advertised, and a DHCPv6 client of any of the three types starts, and then a new RA is seen with the relevant bit(s) clear?
2. What happens if the M&O bits are not advertised, but DHCPv6 is wanted, and then an RA shows up with the M&O bits set. Does DHCPv6 start?
3. What happens if the we get an RA with the M&O bits set, and then an RA with them clear, and /then/ an indication that DHCPv6 is wanted?

Some of these questions may not make sense in all situations, but I think this is the complete set of questions. Suresh's and my belief is that once a client has started doing DHCPv6, it's going to continue to do so even if it sees an RA with the relevant bit(s) clear. But it would be good to test that theory.


On Wed, Mar 20, 2024 at 12:12 PM Suresh Krishnan <suresh.krishnan@gmail.com<mailto:suresh.krishnan@gmail.com>> wrote:


> On Mar 20, 2024, at 11:03 AM, Esko Dijk <esko.dijk@iotconsultancy.nl<mailto:esko.dijk@iotconsultancy.nl>> wrote:
>
> PS:
>
>> What the draft-hui-stub-router-ra-flag could do is just refer to this one, perhaps?
>
> My remark may not be fully clear. What I meant here is that the sentence stating that the values of M and O are mirrored, could refer to this behavior with a sentence like "as defined in [draft-ietf-snac-simple]."
> This avoids explaining the mirroring in much detail within draft-hui-stub-router-ra-flag. And it directly answers the question the reader may have on how this works in detail.

Thanks for that clarification Esko. That will certainly clarify the intended behavior for this draft. I do have further concerns regarding race conditions copying bits between stub routers, but that is not a concern for this draft.

Regards
Suresh