[nfsv4] RFC: VERIFY/NVERIFY for the POSIX draft ACL attributes in the extension

Rick Macklem <rick.macklem@gmail.com> Wed, 30 October 2024 22:59 UTC

Return-Path: <rick.macklem@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 869CCC180B50 for <nfsv4@ietfa.amsl.com>; Wed, 30 Oct 2024 15:59:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] 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 Hny2GImiv4Ia for <nfsv4@ietfa.amsl.com>; Wed, 30 Oct 2024 15:59:55 -0700 (PDT)
Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 ietfa.amsl.com (Postfix) with ESMTPS id 2A537C17C8A9 for <nfsv4@ietf.org>; Wed, 30 Oct 2024 15:59:55 -0700 (PDT)
Received: by mail-ed1-x52d.google.com with SMTP id 4fb4d7f45d1cf-5c9428152c0so513730a12.1 for <nfsv4@ietf.org>; Wed, 30 Oct 2024 15:59:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730329194; x=1730933994; darn=ietf.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=16npSK3u4ldQvrBoOzCVACOU4zRicej6wwrRX27W1gU=; b=NDZq+oQE+BXUzwqHL/XhSwyFOh9TZqUoiSNQHP55PsqWo7A18nAP7XuzLVKdpL5cbm uBdMR9tH9TFTxL2SjMjqvRFgoE0JSru+p0WKMw75OIJ7eTH+2UhKr04MVQaatjhdTSGl 2zmJGHL7oWv7ohGtUBRugybmBceQOGlYhTflp/ZOCH3m4FYcR1YZn5kvddFa0xsOpVjo OWqNr/tg74JAlL+aDROKpgck5+sa2QxJRJyz0aXdO0Kwid4x2sNPyCWrr0Tfnc6CheM9 s0Eli/svJ0VpVm3F02smhsXt7b8bl+e9VQ9iewblrVNN5Gp8yFQK+XR7NqT/AEQs2hxJ gy4A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730329194; x=1730933994; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=16npSK3u4ldQvrBoOzCVACOU4zRicej6wwrRX27W1gU=; b=KkFfqdFpTD9ZJPCkNjexRNul0frkLN8qI1vpmyNOhSH+AdfRniKawBN2d8x1NjCfzH rsKldQo115qGRTZWUIzPjxxsaZps7+5ly+YPwv4FhI/rUAXZ51VJbCZABvTDU/dNQwVk 8XuH0/1sUb5G0gGKqT6bl8M2AwwFOxnDAy0lAmxoWptJB/IyDo29ib7E2vmdzBfZT5gX cP97X9H4sCxFBuASiDpkv9UL08jhSY/us/5Cn4OudmfAGClvHBn6XxDxv3yU/1IGDqzj UuQ4ImuMhLFgvdleWesFD4t4/dNSDBqTkWWwcwOW6oNDEnW8Yk40Y5RtDDwisHpKr11C +n/Q==
X-Gm-Message-State: AOJu0Yw3kAjnaHoFepaDDxfYQDhmPJ1D4CSVP8FcLU/I5hpyuDdlY2Ya XYO4bqMI9OfKz7oRIINBWu86D3OQ5pKGprvYI+6NRWZUoUp4t5JGs0dxqtZVWb+F1YxuU7XwoHM 9ubcJkIgevSFR0yrO4FCu86efJ5SYRNI=
X-Google-Smtp-Source: AGHT+IHdxtdPhCIyLNmvG8aQ2Sf31vmThA+2zjCGat/rlXnfuVMUHE825sazhunTDVtUNFlfl53vBPDxweXlnVe6Sys=
X-Received: by 2002:a05:6402:50ce:b0:5c8:8e9b:17b3 with SMTP id 4fb4d7f45d1cf-5cbbfa774c1mr10951391a12.31.1730329193551; Wed, 30 Oct 2024 15:59:53 -0700 (PDT)
MIME-Version: 1.0
From: Rick Macklem <rick.macklem@gmail.com>
Date: Wed, 30 Oct 2024 15:59:43 -0700
Message-ID: <CAM5tNy5GbHOO41xod4G5FQvg1M0+5P+MXhhVCnnxJt3EW91RTw@mail.gmail.com>
To: NFSv4 <nfsv4@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID-Hash: C746GBRPZQTVX5L63X6TBXNIT5AU22HH
X-Message-ID-Hash: C746GBRPZQTVX5L63X6TBXNIT5AU22HH
X-MailFrom: rick.macklem@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-nfsv4.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [nfsv4] RFC: VERIFY/NVERIFY for the POSIX draft ACL attributes in the extension
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/nfsv4/4pSZpDUSGpGAL_K5FmqdW4X4on8>
List-Archive: <https://mailarchive.ietf.org/arch/browse/nfsv4>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Owner: <mailto:nfsv4-owner@ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Subscribe: <mailto:nfsv4-join@ietf.org>
List-Unsubscribe: <mailto:nfsv4-leave@ietf.org>

Hi,

I just posted about the who string issue for VERIFY/NVERIFY.

There is also one specific to the POSIX draft ACL attributes.
Unlike NFSv4 attributes, the order of the ACEs in the ACL
does not affect access semantics.

As such, should two POSIX draft ACL attributes with the
same ACEs, but in different order be consider the "same"
for VERIFY/NVERIFY?
--> It turns out this is very difficult to implement for the
      current Linux knfsd server (not sure about others,
      except FreeBSD, where implementation could be
      done either way).

One simple solution would be to not allow the POSIX
draft access and default ACL attributes to be used for
VERIFY/NVERIFY.

What do others think w.r.t. putting this prohibition in
the draft?

Thanks in advance for any comments, rick
ps: I am not aware of any extant client that does
      VERIFY/NVERIFY for Acl, Dacl, Owner or
      Owner_group.