Re: [dhcwg] [Snac] WGLC for draft-ietf-dhc-rfc8415bis / clarification of significant prefix change

Timothy Winters <tim@qacafe.com> Tue, 14 November 2023 13:45 UTC

Return-Path: <tim@qacafe.com>
X-Original-To: dhcwg@ietfa.amsl.com
Delivered-To: dhcwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2DBB4C15106B for <dhcwg@ietfa.amsl.com>; Tue, 14 Nov 2023 05:45:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=qacafe.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 p0aT4fZwUpXz for <dhcwg@ietfa.amsl.com>; Tue, 14 Nov 2023 05:44:59 -0800 (PST)
Received: from mail-pf1-x42c.google.com (mail-pf1-x42c.google.com [IPv6:2607:f8b0:4864:20::42c]) (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 2B04AC14CE33 for <dhcwg@ietf.org>; Tue, 14 Nov 2023 05:44:58 -0800 (PST)
Received: by mail-pf1-x42c.google.com with SMTP id d2e1a72fcca58-6c4eaa5202aso4065668b3a.1 for <dhcwg@ietf.org>; Tue, 14 Nov 2023 05:44:58 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qacafe.com; s=google; t=1699969498; x=1700574298; 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=lAwy3xBDCMokEwdj4WwvhrOS8h8/ZILJ/N7TQIQNjcw=; b=WHnTHHqpFu2EyD0iSTTO89zDg+IHzim9vVeQNLg+2/SKHcuQofBcwVTOmkoVyjg0cm kELyt2d6NUc7BwmTrGme1+MbtpvsO+Mw2jZr4UxYDmM/9nLQTXLC3HKaVuaIl8p5TS09 3wXwiVW2/jYbGKQj20I92CAo11C38zJrriRXE=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699969498; x=1700574298; 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=lAwy3xBDCMokEwdj4WwvhrOS8h8/ZILJ/N7TQIQNjcw=; b=eS97ERuJo+Y4lYmtORwS8QQu6qgyWTM5KtZRRbpq0WF1W4a2X8scLT0pxo1kIX2JmK h1OrAJyI3GcUNj5LERKC9S3ab1y8kr8t/rRaalj2FCnlDLjPm/ez8W1sWzKjmrg/ENuD mtEmSUNkYM0nP51ITlFDVeWtn843WcjNgTefhGFqt6jR4gzm8JAn4jnMIQwRSfB03EYu Rk2hyFvc2RgNMOeJ8rZHZJLynol9yfvlnB+R1R3Y+c1bMBiHd+WLc/O4K5IIRP1+KeNa rYsXvd5hwf1zYS73HX27WgMbEYtsoXBf/Nprv0uTbUdMOqjOomw33xYWoD3qRLHhEmD/ ZEtg==
X-Gm-Message-State: AOJu0YyKhCHskqLr2ihFMLKQr3tOFc3eAZFhZkazeKG7yRy2oUpwCQIH pniwTgT3bD1VAq+z3zK0Jh5Xq/J1bJznJh80X4ST6Q==
X-Google-Smtp-Source: AGHT+IGl7LzVvQOfGppZ6ZDDLnAOdCDHEUvpc9+edQSS9GYVN6UCCaFWd2LEJymroivo3SiLFGU/syGgtG6kp3O3Hjg=
X-Received: by 2002:a05:6a00:782:b0:6be:314c:16cb with SMTP id g2-20020a056a00078200b006be314c16cbmr9069672pfu.10.1699969497215; Tue, 14 Nov 2023 05:44:57 -0800 (PST)
MIME-Version: 1.0
References: <DU0P190MB1978DC76946D2CD331DE7232FDADA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAPt1N1mbk2ygNnH6u+NfPAUgxVTCX6=Dyqx32=o1qVk3T5fvnQ@mail.gmail.com> <DU0P190MB1978B43FFABF0FD0068802F6FDADA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB1978B43FFABF0FD0068802F6FDADA@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
From: Timothy Winters <tim@qacafe.com>
Date: Tue, 14 Nov 2023 08:44:45 -0500
Message-ID: <CAJgLMKsF5vdfZA2HaAb3s2B6VE=AEPoAwmDvk0CbC+Jd3gRvUw@mail.gmail.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: Ted Lemon <mellon@fugue.com>, "dhcwg@ietf.org" <dhcwg@ietf.org>, "snac@ietf.org" <snac@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000002ca3f060a1cfe30"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/94zjb-02OlIvmmTSJWLuRGNgcT8>
Subject: Re: [dhcwg] [Snac] WGLC for draft-ietf-dhc-rfc8415bis / clarification of significant prefix change
X-BeenThere: dhcwg@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Dynamic Host Configuration <dhcwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg/>
List-Post: <mailto:dhcwg@ietf.org>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dhcwg>, <mailto:dhcwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 14 Nov 2023 13:45:03 -0000

Hi Esko,

Thanks for reading the 8415 document, a couple of things from this thread.

RFC 8415 did relax or update from request/delegating router to
client/server as mentioned.

I'm open to trying to define "significant changes", I think we could try to
do something like what is at the top 18.2.12 for defining examples of link
change events. Like you have below.

As for the SHOULD, some DHCP clients don't react to events such as new
prefixes in the RA with only the L flag set might not trigger a Renew event.

I can also confirm that DNA (6059) is not in DHCPv6 at the moment.

Regards,
Tim

On Sat, Nov 11, 2023 at 7:58 AM Esko Dijk <esko.dijk@iotconsultancy.nl>
wrote:

> > An additional example of “significant change” might be any sort of
> carrier transition for Ethernet or SSID change for WiFi
>
>
>
> My assumption was that these types of change cases are already covered by
> the requirement on detecting prefix change.  E.g.:
>
> - if the SSID changes (without a reconnection – if that’s possible) , but
> all prefixes stay the same, then it’s “no change”
>
> - if the WiFi client changes access points so a new SSID results, that’s
> covered by bullet 4 of 18.2.12 -> “change”
>
> - Ethernet is plugged out and in again on the same link -> that’s covered
> by bullet 2 -> “change”
>
> - Ethernet is plugged out and in again on a **different** link -> this
> seems not covered yet, however chances are that the new link will have a
> new ULA or global prefix on-link. Which is detected as “change”
>
> - if any prefix changes, without these link-layer change events ->
> “change” per 18.2.12 last paragraph
>
>
>
> There seems to be some overlap here with Detecting Network Attachment
> detection of a new network, but a large part may already be covered by
> current text.
>
> DNA could be the default method to quickly detect “same-link attachment”,
> in case the DHCPv6 client sits on an IPv6 host.  (DNA is not applicable to
> a pure IPv6 router device)
>
>
>
> Esko
>
>
>
> *From:* Ted Lemon <mellon@fugue.com>
> *Sent:* Saturday, November 11, 2023 10:44
> *To:* Esko Dijk <esko.dijk@iotconsultancy.nl>
> *Cc:* dhcwg@ietf.org; snac@ietf.org
> *Subject:* Re: [dhcwg] WGLC for draft-ietf-dhc-rfc8415bis / clarification
> of significant prefix change
>
>
>
> An additional example of “significant change” might be any sort of carrier
> transition for Ethernet or SSID change for WiFi. References to the
> Detecting Network Attachment drafts might be appropriate if not already
> present (I’m reacting to what esko said so I don’t have the draft in front
> of me to check).
>
>
>
> https://datatracker.ietf.org/doc/rfc6059/
>
> https://datatracker.ietf.org/doc/rfc4957/
>
>
>
> Op za 11 nov 2023 om 10:30 schreef Esko Dijk <esko.dijk@iotconsultancy.nl>
>
> Hi DHCWG (cc: SNAC),
>
>
>
> Here’s a second WGLC comment for rfc8415bis. It is about the text in
> 18.2.12, regarding the significant change of prefixes on the link as a
> trigger for the client to perform actions:
>
>
>
> If not associated with one of the above-mentioned conditions, a client
> SHOULD initiate a Renew/Reply exchange (as if the T1 time expired) as
> described in Section 18.2.4 or an Information-request/Reply exchange as
> described in Section 18.2.6 if the client detects a significant change
> regarding the prefixes available on the link (when new prefixes are added
> or existing prefixes are deprecated), as this may indicate a configuration
> change.
>
>
>
> The below comments are related to an open issue discussion we had at the
> IETF SNAC WG meeting. A SNAC stub router per draft-ietf-snac-simple,
> Section 5.2.3, is required to attempt to  use DHCPv6-PD and so it must
> follow the rules for a PD client. But the rules weren’t fully clear.
>
>
>
> 1. the requirement is a SHOULD for the client – why is it not a MUST? If
> it ought to be a SHOULD, what are the allowed exception reasons to deviate
> from the requirement? Can we maybe list these in the text to make it
> clear?   An indication of consequences of not taking the action could also
> be added, if known.
>
> (In any case we might, for the SNAC case, upgrade the requirement to a
> MUST if the exception cases aren’t applicable to us.)
>
>
>
> 2. the requirement could also be clarified by splitting it , in the sense
> that it now says that the client either does Renew/Reply or
> Information-request/Reply as if it can freely choose.  However, logically
> this would be conditional on the status of the client: if it has obtained
> DHCPv6 address(es) or delegated prefixes, then I assume it MUST select the
> Renew/Reply exchange . And if it has none of those, it MUST select the
> Information-request/Reply exchange. Is that correct?
>
>
>
> 3. the term “detects a significant change” on which the normative
> requirement is based could be clarified slightly better.  For example like
> this:
>
>
>
> OLD:
>
> <…> if the client detects a significant change regarding the prefixes
> available on the link (when new prefixes are added or existing prefixes are
> deprecated), as this may indicate a configuration change.
>
>
>
> NEW:
>
> <…> if the client detects a significant change regarding the prefixes
> available on the link.  A change is considered significant when one or more
> on-link prefixes are added, and/or one or more existing on-link prefixes
> are deprecated.
>
> The reason for this is that such a significant change may indicate a
> configuration change at the server.
>
>
>
> (I made some assumptions here that the ‘prefixes available on the link’
> only means on-link prefixes, not e.g. prefixes of routes advertised. And
> assumed that the configuration change is a change at the DHCPv6 server, not
> just any network configuration change.)
>
>
>
> 4. about the text of point 3 on “significant change”, what if the value of
> the M bit in the Router Advertisement(s) on the link goes from M=1 to M=0
> ?  This might indicate that DHCPv6 service for addresses and PD is not
> available anymore, possibly.  This situation may occur when a router is
> abruptly removed from the link in SNAC home use cases.  Would that be a
> significant change as well, or do we want to purposely ignore changes of
> the M bit ?  (Maybe this could become a SNAC-specific requirement; although
> the WG agreed in general that PD client requirements should be in
> rfc8415bis if possible.)
>
>
>
> 5. if the Renew/Reply exchange is done per Section 18.2.4, it seems that
> no random delay is specified in this case. (In the other case of 18.2.6 it
> is specified.)  That means potentially many DHCPv6 clients will detect the
> same “significant change” on the link and try to reach the server all at
> the same time. Shouldn’t there be a random delay applied in this case? Or,
> if it is applied, could this be clarified in the text? (I may have just
> missed it … )
>
>
>
> Best regards
>
> Esko Dijk
>
>
>
>
>
> IoTconsultancy.nl  |  Email/Teams: esko.dijk@iotconsultancy.nl
>
>
>
>
>
> _______________________________________________
> dhcwg mailing list
> dhcwg@ietf.org
> https://www.ietf.org/mailman/listinfo/dhcwg
>
> --
> Snac mailing list
> Snac@ietf.org
> https://www.ietf.org/mailman/listinfo/snac
>