[secdir] Re: [nfsv4] draft-ietf-nfsv4-uncacheable-files-11 ietf last call Secdir review

Thomas Haynes <loghyr@gmail.com> Thu, 13 August 2026 18:41 UTC

Return-Path: <loghyr@gmail.com>
X-Original-To: secdir@mail2.ietf.org
Delivered-To: secdir@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 38892129522A0 for <secdir@mail2.ietf.org>; Thu, 13 Aug 2026 11:41:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1786646516; bh=DAK2Nutvi5wIa5mDPdU2DQT6xS+GVgzUnUvDAQvJXMk=; h=From:Date:To:Cc:Subject:References:In-Reply-To; b=KlgFFK6U5HTSw6URqIENEVH1lPTuzpr56ZNd08fv33aDSyHyzR1bpv4AtzqZhCj7R Yg7jb6YQyjLn826Nigiw8cUx+Ra8RDwPOtUyK99SE2ueYku8Na7G5Ak7Beqeod2Vbr wxB5xmF9698RMThioqf6HgarOhFzocJBvYIZd1k0=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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=gmail.com
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 5BN3aC000c93 for <secdir@mail2.ietf.org>; Thu, 13 Aug 2026 11:41:55 -0700 (PDT)
Received: from mail-oo1-xc33.google.com (mail-oo1-xc33.google.com [IPv6:2607:f8b0:4864:20::c33]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id D72B612952291 for <secdir@ietf.org>; Thu, 13 Aug 2026 11:41:55 -0700 (PDT)
Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-6ae9b721927so180283eaf.0 for <secdir@ietf.org>; Thu, 13 Aug 2026 11:41:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786646515; x=1787251315; darn=ietf.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:date :from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=CUDXJbYxXuzGCCQP92I2qxohKtokfYMamZd2DW8nUuE=; b=SVjo0bmjPgUHFQPUCgX/xwECQGDLzilLh4hLYYKycdFkkGap1IaHglWM3tiUwLjTxa 0V8AolsfHZ7/hVinQ/4NyzI2G6GG+mxDEmPgGRvoh5PpfRv+Z70u/l+zn+6wxL+G5FJ6 x0YzSnm5xHB8Qr30wBFZvxs3DSFqnalOL0JXU3YKM7ySj7Ei+H8cMWmyeMqXqlTPnZ26 GKMZivY82jld3Aro80ldLlpDMOoBvGPYbWedik9f7GRIO2XZhrz+PNUXgLRHhg+G5H3G 4cFBUFX+R+nmcrNYZXrHEMiV6bvvYuQi2uladychESuXAoLo9db+PonTuqcimYa5XqFG z4xw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786646515; x=1787251315; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:date :from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=CUDXJbYxXuzGCCQP92I2qxohKtokfYMamZd2DW8nUuE=; b=FjT2FJFavqly9WjQapuw4SLjtEVQa419H1ByBwhtG1w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2002:a05:6820:160e:b0:69d:e676:6f66 with SMTP id 006d021491bc7-6b0d6a8e9c4mr409433eaf.21.1786646515071; Thu, 13 Aug 2026 11:41:55 -0700 (PDT)
Received: from localhost ([2601:647:6701:9440:f4e1:3f8a:d66e:d8f8]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-7f3c99c6132sm2650768a34.1.2026.08.13.11.41.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2026 11:41:54 -0700 (PDT)
From: Thomas Haynes <loghyr@gmail.com>
X-Google-Original-From: Thomas Haynes <loghy@gmail.com>
Date: Thu, 13 Aug 2026 11:41:53 -0700
To: David Noveck <davenoveck@gmail.com>
Message-ID: <an4O6GIE58quyQyM@mana>
References: <178663460582.82495.12458802157423865341@dt-datatracker-559c48c7fb-jvzsw> <CADaq8jdPC6+RczaZ-BmdwgoXPX+MvSfTWsB+bnmyJrToc_oXhQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CADaq8jdPC6+RczaZ-BmdwgoXPX+MvSfTWsB+bnmyJrToc_oXhQ@mail.gmail.com>
Message-ID-Hash: 3QS3MYEZ4WSTAWMUFYMXH66D7VBYLHOK
X-Message-ID-Hash: 3QS3MYEZ4WSTAWMUFYMXH66D7VBYLHOK
X-MailFrom: loghyr@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-secdir.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Barry Leiba <barryleiba@computer.org>, secdir@ietf.org, draft-ietf-nfsv4-uncacheable-files.all@ietf.org, last-call@ietf.org, nfsv4@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [secdir] Re: [nfsv4] draft-ietf-nfsv4-uncacheable-files-11 ietf last call Secdir review
List-Id: Security Area Directorate <secdir.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/secdir/QGnOvNP8OtS8d9KK9mVKkRKyehY>
List-Archive: <https://mailarchive.ietf.org/arch/browse/secdir>
List-Help: <mailto:secdir-request@ietf.org?subject=help>
List-Owner: <mailto:secdir-owner@ietf.org>
List-Post: <mailto:secdir@ietf.org>
List-Subscribe: <mailto:secdir-join@ietf.org>
List-Unsubscribe: <mailto:secdir-leave@ietf.org>

On Thu, Aug 13, 2026 at 12:44:56PM -0800, David Noveck wrote:
> On Thu, Aug 13, 2026 at 11:23 AM Barry Leiba via Datatracker <
> noreply@ietf.org> wrote:
> 
> > Document: draft-ietf-nfsv4-uncacheable-files
> > Title: Adding an Uncacheable File Data Attribute to NFSv4.2
> > Reviewer: Barry Leiba
> > Review result: Ready
> >
> > Thanks for this well-written and clear document.  I have only one question:
> >
> > -- Section 4.1 --
> >
> >    When honoring the uncacheable file data attribute, clients SHOULD NOT
> >    delay transmission of WRITE data for the purpose of combining
> >    multiple WRITE operations or improving efficiency.
> >
> > I wonder about the SHOULD NOT here.
> 
> 
> I do as well although are reasons for considering this an issue to be
> addressed are probably quite different.
> 
> In my reading:
> 
>    1. I have trouble imagining what might be "valid" reasons  to ignore
>    this  or how the client might be aware of the implications of doing so
>    given that reasons for forr refraining from going this are not stated in
>    the spec but are the result of the unconstrained judgment of the server or
>    of another client tt sets this attribute

If there are no valid reasons to deviate and no way for a client
to weigh them, then SHOULD NOT is simply the wrong keyword — that
is precisely the test RFC 2119 sets for it.

>    2. Given that the recommendationmis provided by the server or a
>    client,it is hard to undrstand why the RFC219-derived terms are used here.

Section 4 is normative throughout -- MUST, MUST NOT, SHOULD, MAY
in Section 4.2 and Section 4.3, including the deliberate "Meeting
this MUST requirement satisfies the general SHOULD obligation above".
Making Section 4.1 the one prose-only subsection would leave the
central prohibition the only untestable statement in the section.

And Section 4.4 already resolves the advisory tension you are  
raising: the attribute "is advisory. Clients retain flexibility in
how they satisfy the requirements described above." Advisory governs
whether you honor it; once you do, what honoring means has to be
testable, or the attribute means nothing.

> 
> For write caching, there's a real issue of
> > corrupting the file, so why is this not "MUST NOT"?
> >
> 
> That addresses 1 above but not 2.  While I recognized that there is a
> strong impulse to use these terms, I would argue that,in this case, ot
> is one "more honored the breach than the observance" in the sense that
> Hamlet intended.
> 
> I suggest "When honoring the uncacheable file data attribute, clients need
> to avoid delaying transmission of WRITE data for the purpose of
> combining multiple
> WRITE operations or improving efficiency since the clear implication of
> this attribute is that such is not to be done and that, by doing  anyway,
> one raises the possibility of data corruption.".
> 
> 
> >
> > _______________________________________________
> > nfsv4 mailing list -- nfsv4@ietf.org
> > To unsubscribe send an email to nfsv4-leave@ietf.org
> >

-- 
Tom Haynes <loghyr@gmail.com>