[Snac] Re: Why is an AIL prefix with only the "P" flag set suitable?

Ted Lemon <mellon@fugue.com> Fri, 21 November 2025 12:08 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: snac@mail2.ietf.org
Delivered-To: snac@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 7A3FB8DF5682 for <snac@mail2.ietf.org>; Fri, 21 Nov 2025 04:08:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.798
X-Spam-Level:
X-Spam-Status: No, score=-2.798 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_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=fugue.com header.b="JJB0Lgcv"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="zNszJ/y7"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xqeMSb2MvELv for <snac@mail2.ietf.org>; Fri, 21 Nov 2025 04:08:44 -0800 (PST)
Received: from fhigh-a7-smtp.messagingengine.com (fhigh-a7-smtp.messagingengine.com [103.168.172.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id B515E8DF567B for <snac@ietf.org>; Fri, 21 Nov 2025 04:08:44 -0800 (PST)
Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id A2E8114001FD; Fri, 21 Nov 2025 07:08:38 -0500 (EST)
Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Fri, 21 Nov 2025 07:08:38 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue.com; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1763726918; x=1763813318; bh=rFLN++FW7K eBYutp246CIs9mkU3/bBEtTD/rwTZ85C8=; b=JJB0LgcvxA6X6s5gcjYPyY/XAl 7oLDXrLxNenvaY3qBle04pH/xbnGuh15aYkWKcW2Q7mCS5nGuq1Zvw2uTrebzWJY 2ACkKVc+kKF0j1P91WcdhVBpaAiPEyTCpDM+KodHXzW9uSkpGKRyhrL3pcLn/Arx 1K9ZlvlEIPNRPwlycosFB5HzVLlOxvT+kJVRsXIf+CqZ6iqEhDEEP0mwqVGfpeuy E3vLPLHJ3SMhMjEcdPf90Vt4D4jI4mVWZJ5uIDJux1SUbomwjZGEFfscbXKgWZgl 9yYegTcRmna4J9fHQAy5BYwPPCBNwqSXa3u55NAIQx+U8cWa2s3Uhh5SkKLw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1763726918; x=1763813318; bh=rFLN++FW7KeBYutp246CIs9mkU3/bBEtTD/ rwTZ85C8=; b=zNszJ/y7CJKNyzz78lNtGXGHi8syUGu7E3LjhCXdWmZcMtpW6WZ hmPDcnP0Usp0Yb6JbucLkqPe28mupY3eMQOvTcHXxRPtg0AwTbzJDxjTCgUwcYGy C1l+lwRjO6plrkta/d6qksc+GZ3/Cpqejp8aFxrfR4pplScRS2xX2leb7FfoFV9B ATAwVqZyOmuZLFbvYBRioBfIdo0VUoe2bVBDsMGevPZBkI4ldC7cHjA8QHPh+wC4 lwfzmHpevVxFTYXSKQTyu5MlkHsaDXsHB9Z9gHBCFrjl0f8LfVg8jVAy3u43nlz+ sVdy1xKTNNahLSusMzgf+BddfWH7M+7xEwQ==
X-ME-Sender: <xms:RlYgafnUQiw1ica_ekolzQqG3Z535sr9yWxTSJibbZwbOtY8TTVY-A> <xme:RlYgaXJP8MTj5U4X35MmYdOZdfhsj_D11D0OwR4JupIxehPfFUyRFriJFs-rluuiz 3YVD6rHQrSI2u2OBv9HwXQUwREFiQfJ16OAJ_K6mWljkewOqZ5Brd0>
X-ME-Received: <xmr:RlYgaUzyXrYO4uzb6x6NeVIapnN0x5GF2OmHeCavGnFhppbXQ92wJo6vQgWc5jkxkUnpnUXKya5ZMo25x787dMqr1p_U75Sp6GVS1w>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdeggddvvdelledvucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhephffktgggufffjgevvfhfofesrgdtmherhhdtjeenucfhrhhomhepvfgvugcunfgv mhhonhcuoehmvghllhhonhesfhhughhuvgdrtghomheqnecuggftrfgrthhtvghrnhepvd dukeekfefhtdfhudefleeuheeujedvffevkefhgeekvdehvdffueelkedufffhnecuvehl uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgvlhhlohhnse hfuhhguhgvrdgtohhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdp rhgtphhtthhopegvshhkohdrughijhhksehiohhttghonhhsuhhlthgrnhgthidrnhhlpd hrtghpthhtohepmhgtrhdoihgvthhfsehsrghnuggvlhhmrghnrdgtrgdprhgtphhtthho pehsnhgrtgesihgvthhfrdhorhhg
X-ME-Proxy: <xmx:RlYgaftp_-vxWzNeaDAVqoQP879BnIaRhziJn6CH9OukYDHDiykELA> <xmx:RlYgaTuq2YZmBL8STKeYmDze56Y8R0YFaEu7bsX6m2rBrvajE9AqUA> <xmx:RlYgacMAzfqP3gG5TWbtTHxWBIMX-Px_SM5XX6iV8J4A2U0tsjI1YA> <xmx:RlYgaZ0AHjDlhiPwFR0AdbdH_XeDVBvf5fw704fnwOhqpsuhjlGdRQ> <xmx:RlYgaYyYxJLMoE6U8qkFxa6Unmb63cfELQy6ZU_U8KreI4vGDvCWzOR->
Feedback-ID: i1136489e:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 21 Nov 2025 07:08:37 -0500 (EST)
From: Ted Lemon <mellon@fugue.com>
Message-Id: <838A5057-520F-4525-BA78-1BC48910F299@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_758261FE-D13A-48E5-BF93-68F347ADEA50"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.300.41.1.5\))
Date: Fri, 21 Nov 2025 13:08:26 +0100
In-Reply-To: <5fbfe856-182d-4eaa-8dac-2fbe271ceb2e@iotconsultancy.nl>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
References: <13441f45-57bf-48ea-9814-4d65214113a7@iotconsultancy.nl> <19398.1763653578@obiwan.sandelman.ca> <B0424C42-F02D-42B1-8A1B-A2EFB8F97F13@fugue.com> <15765.1763679273@obiwan.sandelman.ca> <5fbfe856-182d-4eaa-8dac-2fbe271ceb2e@iotconsultancy.nl>
X-Mailer: Apple Mail (2.3864.300.41.1.5)
Message-ID-Hash: HLYZYRAJMUXAYLBX2VZBVNWJACPLXJRQ
X-Message-ID-Hash: HLYZYRAJMUXAYLBX2VZBVNWJACPLXJRQ
X-MailFrom: mellon@fugue.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Michael Richardson <mcr+ietf@sandelman.ca>, snac@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Snac] Re: Why is an AIL prefix with only the "P" flag set suitable?
List-Id: "Mailing list for discussing problems relating to the automatic connection of stub networks to existing infrastructure networks. " <snac.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/snac/Pt80_zjJ_A3rkSHtXHUK0ZkXK0w>
List-Archive: <https://mailarchive.ietf.org/arch/browse/snac>
List-Help: <mailto:snac-request@ietf.org?subject=help>
List-Owner: <mailto:snac-owner@ietf.org>
List-Post: <mailto:snac@ietf.org>
List-Subscribe: <mailto:snac-join@ietf.org>
List-Unsubscribe: <mailto:snac-leave@ietf.org>

When we are thinking about heuristics, we can only ever do our best: there is no perfect heuristic. If it were a perfect heuristic, it would be an algorithm. So our analysis should be toward what causes the least harm.

So there are two cases where the P bit is set: one where SLAAC is allowed, and one where it is not. In the first case, we're fine. In the second case, this could be either because of a bad home router, or a misconfigured or deliberately configured managed network.

Consider the bad home router case. In this case, the home router is in violation of RFC7084:

	WAA-1:   The IPv6 CE router MUST support Stateless Address
        	       Autoconfiguration (SLAAC) [RFC4862].

So I think we don't need to address this case, because non-conformant home routers should be out of scope. E.g., a home router MUST NOT automatically turn on RA Guard, but of course it could, and if it does, that will also break SNAC. If that should happen, there's nothing we can do about it. Same situation applies here.

It's of course possible that the operator of a home router might turn off SLAAC, but in that case you have a managed network. Which brings us to the second case—a misconfigured or deliberately configured managed network.

In this case, if it's misconfigured, presumably someone will notice and fix the issue. So it's not our job to fix it in this case.

If it's deliberately configured this way, then I think it makes sense to follow the operator's intention. Our goal here is not to make every network SNAC-capable, but rather to make sure that when SNAC should work, it does work. In this case, the operator has clearly decided that SNAC shouldn't work for hosts that don't do IA_PA (or possibly IA_NA). I think it's fine for us to not solve this problem.


> On 21 Nov 2025, at 11:11, Esko Dijk <esko.dijk@iotconsultancy.nl> wrote:
> 
> 
> Currently, for determination of suitable on-link prefix, only the PIO fields and flags are taken into account I think.
> Below I've created a table of all the options including the L / A / P flags in PIO.  The M flag (from the RA mesage) is mentioned below for explanation, but not used in the decision.
> The prefix length in the PIO is assumed to be /64 i.e. valid.
> 
> No RA seen  : no IPv6 router on link -> send PIO
> L=0,A=?,P=? : prefix is not on-link -> send PIO
> L=1,A=0,P=0 : addr conf is either manual (M=0), or misconfiguration, or it is DHCPv6 IA_NA (M=1) -> send PIO
> L=1,A=0,P=1 : addr conf is strictly DHCPv6-PD, legacy IPv6 nodes explicitly excluded(?) -> do not send PIO?
> L=1,A=1,P=0 : SLAAC available -> do not send PIO
> L=1,A=1,P=1 : SLAAC and DHCPv6-PD available -> do not send PIO
> 
> 
> So the discussion case was L=1,A=0,P=1 which seems to hint at a managed network where the operator explicitly wants to block legacy (SLAAC-only) IPv6 nodes from obtaining an address.
> Otherwise the operator would have set L=1,A=1,P=1 . This is fine for the newer devices that understand P=1 : they will know that P=1 implies they need to ignore the A flag per RFC 9762.
> And legacy devices can use SLAAC due to the A=1 and will ignore the P flag always.
> 
> Another possibility is indeed a misconfiguration where SLAAC-only devices are accidentally barred from configuring an address.
> But how to distinguish misconfiguration in small-office cases from the properly managed network case? Not sure if we can.
> 
> Esko
> 
> 
> On 20-11-2025 23:54, Michael Richardson wrote:
>> Ted Lemon <mellon@fugue.com> <mailto:mellon@fugue.com> wrote:
>>     > On 20 Nov 2025, at 16:46, Michael Richardson <mcr+ietf@sandelman.ca> <mailto:mcr+ietf@sandelman.ca> wrote:
>>     >> Maybe 5.1.1 list of flags should consider A=0,P=?,M=0 as unsuitable.
>> 
>>     > That is indeed the question we are trying to answer. I think the
>>     > scenario where we'd see this is not a home router but a managed
>>     > network.
>> 
>> Thanks for confirming my understanding!
>> It seems like a weird corner case, but I can see it happening in some poorly
>> (ISP) managed small-office.
>> Yes, with residential IoT stuff.
>> Think shoe store or hairdresser.
>> 
>> --
>> Michael Richardson <mcr+IETF@sandelman.ca> <mailto:mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
>>            Sandelman Software Works Inc, Ottawa and Worldwide
>> 
>> 
>> 
>> 
> 
> -- 
> IoTconsultancy.nl | Email/Teams: esko.dijk@iotconsultancy.nl <mailto:esko.dijk@iotconsultancy.nl> | +31 6 2385 8339
>