[dhcwg] draft-ietf-dhc-rfc8415bis: normative language, IA Address and option-len

Jen Linkova <furry13@gmail.com> Fri, 10 May 2024 06:52 UTC

Return-Path: <furry13@gmail.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 5E478C14F6B2; Thu, 9 May 2024 23:52:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 Fo4vgK-XBLEo; Thu, 9 May 2024 23:52:01 -0700 (PDT)
Received: from mail-lj1-x235.google.com (mail-lj1-x235.google.com [IPv6:2a00:1450:4864:20::235]) (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 51211C14E515; Thu, 9 May 2024 23:52:01 -0700 (PDT)
Received: by mail-lj1-x235.google.com with SMTP id 38308e7fff4ca-2e0a34b2899so24570331fa.3; Thu, 09 May 2024 23:52:01 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1715323919; x=1715928719; darn=ietf.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=P7ERacfHlyP5SrzARXEtUEY4v0YNFyHg8E5LVoZj8zg=; b=MfgtwIEzLhjzQmuPs/qPFwhDoltXQPtB3WMDkBdWwvHm3JH/pJ5k35meWhv5fVuu90 2BUQBhGWAkPN3cVCy31ig0C5hDU9X9UKc1vU/sx/tYIwSrjnKp6sxyYUk/WfPlY0hVQg nnweP+gKLYTWMtB6c+o2wdXT6nIQZ3LFOw4iM2JchUFMPMpC2Mn9xrTKZL4PKbHq8ayr w+iL+mT4oyqpz01nxiZw/1syzUtgyg8fLOyXe8EHOv6/0myWeMkdv0ERHTr95On7A+Gx BjnNczf/WSY8/5T6SEiSaP31Nhp40qNcnBAJZjmMG3zPyedEycTHyREnNRjsnEAK5zS5 ezag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715323919; x=1715928719; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=P7ERacfHlyP5SrzARXEtUEY4v0YNFyHg8E5LVoZj8zg=; b=JnfvFJAA5hn/05nDQ/uSbbvgC/wHiUZmIExbFcPqqMWc3YDWbwxBgZcDeeX40UO/Q6 /b72yQc2gmSggiV8Bc3px4RX3KexP3wgWPpMneXTjVXTgQs9QpHWoNWlcPMHdz2qTzSc 98OQ4RVmR1iqZJMUU2HBl9QvGxdJFq+RfOS851ueYcNLw9dpFMCkO3NwVkwckuozD0zR S2X/LjBT1TyDaOsCca3mGlYWvFLYZtCV/eKYzVP/kW4j7JgkXiZqJ+c46/+2Se1tTw12 qXm51fj3RUumspb5i0gi8XnRbe9e3EMoT97I4WfyeNoUedU34y9MlmyrEOjqqNo7uyv1 D3Ew==
X-Forwarded-Encrypted: i=1; AJvYcCWH4Ocw5bYWvJ7cfH6v2o3BHewVbJYjnKYkQg3WUwdA5PGY0eHL9/4NFm+1iKJwzVvO68dfFDdDcgjnbcuO0LkAokk7AuGcJmZO9gygWDsGBbY1
X-Gm-Message-State: AOJu0Yz2g2BXfu8n3a4sd323KFkOmIvs2xPeNSxbo2FB3pIcugXor7kh k7+apWVZAzRc01cWTXjsFwsN+51NbKDoJqHdmhlu6KTfY+Koqt2xpcnNspYgSJuNOxKVpdgRpn7 lQXDUb9Rb7Qj4DbG0mFp4DpofUbIozxho
X-Google-Smtp-Source: AGHT+IEFZHT0SvPhp9/cRBYQgk3cwTK3v7DaHEobLbz5+ATIEPqwk8fRt6cKuphZKZi2vwZc2k/XzcWl8xa6Z7PXFVw=
X-Received: by 2002:a2e:a98d:0:b0:2dd:cb34:ddbc with SMTP id 38308e7fff4ca-2e5205c8fc4mr16447751fa.48.1715323918635; Thu, 09 May 2024 23:51:58 -0700 (PDT)
MIME-Version: 1.0
From: Jen Linkova <furry13@gmail.com>
Date: Fri, 10 May 2024 16:51:47 +1000
Message-ID: <CAFU7BARhGJE-LrAE+qpx8yZehKpAEZeWEbcqERtj6oGywWOp0A@mail.gmail.com>
To: dhcwg <dhcwg@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID-Hash: Z2O2PXPDEILDGD4ZCQNOYTBMTTGNQU4Y
X-Message-ID-Hash: Z2O2PXPDEILDGD4ZCQNOYTBMTTGNQU4Y
X-MailFrom: furry13@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dhcwg.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: draft-ietf-dhc-addr-notification@ietf.org, draft-ietf-dhc-rfc8415bis@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [dhcwg] draft-ietf-dhc-rfc8415bis: normative language, IA Address and option-len
List-Id: Dynamic Host Configuration <dhcwg.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dhcwg/iaLp1e1jmNBXc_db0-knTxVaozo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dhcwg>
List-Help: <mailto:dhcwg-request@ietf.org?subject=help>
List-Owner: <mailto:dhcwg-owner@ietf.org>
List-Post: <mailto:dhcwg@ietf.org>
List-Subscribe: <mailto:dhcwg-join@ietf.org>
List-Unsubscribe: <mailto:dhcwg-leave@ietf.org>

Hello,

While addressing various comments for draft-ietf-dhc-addr-notification
(which is on the Telechat agenda for the next week), we've noticed a
few interesting things in RFC8415/draft-ietf-dhc-rfc8415bis, which I'd
like to bring to the WG attention.

1. Both RFC8415 and draft-ietf-dhc-rfc8415bis are using [RFC2119]
[RFC8174] normative language. However there are 23 cases where 'must'
(lower case) is used (vs 200+ cases of MUST).

The case which concerns me mostly is Section 21.6 (IA Address option). It says:

"The IA Address option must be encapsulated in
   the IA_NA-options field of an IA_NA option (see Section 21.4) or the
   IA_TA-options field of an IA_TA option (see Section 21.5)."

It is not MUST, so, strictly speaking, it's not a normative language.
Now I'm wondering; is it really not mandatory), is it just an
oversight or  was it left untouched in -bis just in case there are
implementations which do not treat 'must' and 'MUST' so changing
'must' to MUST would break them or make them violating 8415bis?

(Sorry if it has been discussed already..)

2. If 'must' in Section 21.6 is actually 'MUST', then
draft-ietf-dhc-addr-notification clearly violates it: that draft is
using IA Address option in ADDR-REG-INFORM and ADDR-REG-REPLY w/o any
encapsulation.

Shall we rephrase section 21.6 to smth like:

"The IA Address option is used to specify an address associated with
an IA_NA or an IA_TA.  In that case the IA Address option must be
encapsulated in
   the IA_NA-options field of an IA_NA option (see Section 21.4) or the
   IA_TA-options field of an IA_TA option (see Section 21.5).  The
   IAaddr-options field encapsulates those options that are specific to
   this address.
IA Address option MAY be used with or without encapsulation in other
options and messages, when an address needs to be specified."

Another possible action plan would be to wait 6 days and if
draft-ietf-dhc-addr-notification is approved for the publication, add
a reference to 8415bis (AFAIR it was proposed before but at that time
there was a risk of delaying 8415bis by doing so).

3. Last but not least...Another point raised during
draft-ietf-dhc-addr-notification review is that we do specify how the
sender shall set the option-len (MUST be zero) but we do not specify
the behaviour on the receiving side, if that MUST is violated. The
current text is consistent with 8415 - I could not find any text there
specifying the behavior for unexpected option-len value.  I assume
it's intentional, as per the robustness principle - but I'd like to
confirm.

Thanks!

-- 
Cheers, Jen Linkova