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

Ted Lemon <mellon@fugue.com> Wed, 17 April 2024 02:23 UTC

Return-Path: <mellon@fugue.com>
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 342FFC14F70D for <ipv6@ietfa.amsl.com>; Tue, 16 Apr 2024 19:23:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20230601.gappssmtp.com
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 OSXT5DZjCwvS for <ipv6@ietfa.amsl.com>; Tue, 16 Apr 2024 19:23:30 -0700 (PDT)
Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4768BC14F6F3 for <6man@ietf.org>; Tue, 16 Apr 2024 19:23:29 -0700 (PDT)
Received: by mail-qv1-xf2e.google.com with SMTP id 6a1803df08f44-6969388c36fso23389896d6.1 for <6man@ietf.org>; Tue, 16 Apr 2024 19:23:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20230601.gappssmtp.com; s=20230601; t=1713320608; x=1713925408; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=h+kTWqkPmO2EsUcwXKXvIhyuBeuF60LA/ijNxzsqT5Y=; b=cf8fSHkggttB0U4xr8w7GphH0Ov0KsZIg1OSvkVyV1tVLRhoeWooYECDYDxmyaVlY3 Bj2qTu40wKnNOrFNz69iA/yM+eZuKFJwJwCkprWuAl1Q29QpJ1mbdhk137eYWPlzl/9a 5OtUqiA3R30OTzz6Ip4qyQSsmnSpCDhnK1Utu8+42Nn+ls5ZYFcaAPZVmk0PQv4e7PMe QD1y5ZT0bk8wVYcaBcFbuX/tmY5Tn7q6CqpxXv7uHLppepBbKaR/vCZDTHSuWV8UrtlA XKPIdwwU5GLo9SxZ4yRWx/N7hCl2ArB0EHoME8/IQLancf5AJMshyBnt9W+I4CcdAzRr q7YA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713320608; x=1713925408; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=h+kTWqkPmO2EsUcwXKXvIhyuBeuF60LA/ijNxzsqT5Y=; b=woWqLUdYE0xzbmvs73e16uPalwykLhvLYPY3HyIt1i7oavpTcGL5vBB6INOuHmbb02 q3RibVLDpMe57UxWulc6YFs8FwWzMn4KIIxBCZzAU8dtQxBciNdCtqnfChzSQpGdu8Pp RVBuCyFYSb4vgWSDg35uInt0PQrTCuWCNenPrIEKAKriRd0TAHKcj0NDHBR4PIb1rEV2 7nB4PBgTPXpa79W93ylm2mStGYwmGrmY3FOPrhWzj5mrFDR+wsY7E1Ceq9Lj+mcALXBO N3HNOICWZn5pn9pSpBrhKgjZhblKE0V/+rRfF1/RnoFYM7o1lt1tb+EdbYFQw3VApBhu yCkg==
X-Forwarded-Encrypted: i=1; AJvYcCVhCC3ko4b+Qc1C+u2wvfpKofAJyWBEKmL89lzOTKkFd6BLMbrfgYEBUzJ4JmuGMPSGsa+ugAOjDJP0LSct
X-Gm-Message-State: AOJu0Yw220ZePk5xxEkr64FHuTmfGjGA9KimtU/USgoupelr9VBdV7iy 0+j8wk5rpoEwXkpmKrzWLfP+gWx5WzszMZqsuEglZhKQjf/BLV+eaHkYFmv9ldTSOHzKqHXrSaB szJwjuooVxr05bFuyrz+uavEogCmvo8At9W5ixTORxapNlaYK
X-Google-Smtp-Source: AGHT+IE34T6IwhgFUn9gK4Bs5U39y9FmACwChYcfQiCa9m7bwZD0wGWWoVSA7WyYaAMctsn3jOQMwMWWinWPOnarKdI=
X-Received: by 2002:a05:6214:4244:b0:69b:5522:d7e7 with SMTP id ne4-20020a056214424400b0069b5522d7e7mr15935798qvb.2.1713320608486; Tue, 16 Apr 2024 19:23:28 -0700 (PDT)
MIME-Version: 1.0
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> <DU0P190MB1978F520A848CB9F32AA2385FD082@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB1978F520A848CB9F32AA2385FD082@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
From: Ted Lemon <mellon@fugue.com>
Date: Tue, 16 Apr 2024 22:22:52 -0400
Message-ID: <CAPt1N1=c5_GHXqqGFzTKrRdg9x1wOgq7Vw=Q0+FsyTHEgSQS8A@mail.gmail.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: Suresh Krishnan <suresh.krishnan@gmail.com>, "snac@ietf.org" <snac@ietf.org>, 6MAN <6man@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004170040616418a0b"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/vbWbJXAJ500yMOJhYdEcYTf8BAw>
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: Wed, 17 Apr 2024 02:23:31 -0000

Hm. The consensus that seemed to arise in discussion in the room(s) is that
we can't really fix this, and it doesn't make sense to try. That is, we
shouldn't track the M&O bits sent by other routers. If they send
inconsistent bits, too bad, the host stack already has to deal with that
anyway.

On Tue, Apr 16, 2024 at 6:15 AM Esko Dijk <esko.dijk@iotconsultancy.nl>
wrote:

> > 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> wrote:
>
>
>
> > On Mar 20, 2024, at 11:03 AM, Esko Dijk <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
>
>