Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp3884165rwp; Sat, 15 Jul 2023 11:19:53 -0700 (PDT) X-Google-Smtp-Source: APBJJlENHPm+Wjh/wRRf/ychIWIJLqOj4UjKnl0psE2RDbzhKw3GM04uHr3KYCDrzJS6lOd9Dy+s X-Received: by 2002:a17:903:32cd:b0:1b8:a936:1905 with SMTP id i13-20020a17090332cd00b001b8a9361905mr9638885plr.38.1689445193136; Sat, 15 Jul 2023 11:19:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689445193; cv=none; d=google.com; s=arc-20160816; b=hs9R6OgRqhlUicUXyU+1UvpW40xcu8MademcpN4x62D+qIvgmQ8AjUQ5eTP59A5t/E DZOATMr3vGNIuM1sWvL2BBSpdVVLGkoKG/rtItu2XHWc/fAjqwhre2G3/1bhbqpm/zfG WNqDWMG21wo+ZenPaOtkMhYRLozY6XEFk4N8rPeIyASty7brO+9b2qRnoDkXbyW68/Wh IiRngqqUCC1gBBI0M+Aeb6lXBnLm6EMVy0oYzAcL3336oG6ikVh49NdJ0y9czVRikblt C0FjPfiwl2CIiKfz0qIv01mGcIhxb32STXOXlSsn8+7VX0srj6587VwDB/53Z2HK0JxS Usvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=iamKAJgwJgdTwW02X5OuZ3rqyMMNbIZBCLF/DQ4FzlY=; fh=Zj88QsHkSwCuCFl7wnha++fyi8WXrl5cX130lmVXYoo=; b=Zgr8mZVUYt6UPiT3AXUrw2pUjvd7b92hu9wabZKzM+dOVPiM9R5rJlu0cQmUnqomxn F2CMjKAZsVX219Zuc42hzziI7qZa91cg6Ode5Uc4u/Omgjd1QDukbzOIOovs7OBxhX84 j9zPmdh+HDK33An4mJcyDeYR21ANdCEGoxsSJlLk9Z7TDsaTpXlxip8NkZ/q+4sn2CQb OYC7cl5cIZX7wglFLAegk1OkjWnhIRgXXJQYeD5nx/7X3AOHLy9fTS9jAKlX4PJj8vB9 JZU793v6sVFphqMEwrX8atMtNC/yzdZHKKYGuGECdOUhzJSOpCmBMc9tq1teHDQ1sqkA 9kdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VhPi+E6k; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o19-20020a17090ac71300b0026349debbdfsi3308985pjt.136.2023.07.15.11.19.31; Sat, 15 Jul 2023 11:19:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=VhPi+E6k; spf=pass (google.com: domain of linux-nfs-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229650AbjGOSIf (ORCPT + 99 others); Sat, 15 Jul 2023 14:08:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjGOSIe (ORCPT ); Sat, 15 Jul 2023 14:08:34 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DC3EF2127 for ; Sat, 15 Jul 2023 11:07:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689444466; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iamKAJgwJgdTwW02X5OuZ3rqyMMNbIZBCLF/DQ4FzlY=; b=VhPi+E6kBTDxzcjpr2xKABb5iOv6TH6D+26gJVqn352FV1Gq3LZ0FhH6nhI/WkFptdW/Bc /NNwEIY95eyvgpead0Beg7M85xx81b62N7gkkCJNLufeSlKzT1pobzMDgg+5QFrp1dndSb QEhsxlN/VfwSp4vo+xJJ3oE/Ec2WlK8= Received: from mail-qv1-f72.google.com (mail-qv1-f72.google.com [209.85.219.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-673-jEiRZawQPTOxJnmwwj1cNw-1; Sat, 15 Jul 2023 14:07:44 -0400 X-MC-Unique: jEiRZawQPTOxJnmwwj1cNw-1 Received: by mail-qv1-f72.google.com with SMTP id 6a1803df08f44-635de6f75e0so7142016d6.1 for ; Sat, 15 Jul 2023 11:07:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689444464; x=1692036464; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iamKAJgwJgdTwW02X5OuZ3rqyMMNbIZBCLF/DQ4FzlY=; b=VcGpvkUEe8mJ93FgeyOIa/iz0oFj/uSiJD27ljaE+MuPBm3jYtlwZ4MpP2s3vWNv+J DMKnDvctbFWirw6YupRYGaspODVtiOkLQ5tF2jkytjYWLDkBvUxsI1xp6c9VQgRE+Eq2 KS96k/iZQ77PnVEZFYSxTIGcQgNBUDZAcXQR72ZbQOXTg9CE3mjF4XeLv6xUpHUsMuen 3+V/E0THnGBXS3e/QP/FmVbfLx9W5LagbPQjs2nBJbEm+sF6cAIEPm6ik5vEY9FkY+d2 VYwql4rsyn7MNh5vqzZHGMrGkfTNZsdK2/NFSw8JcD7lCWLGcWYBne2Fp5QsHJzF6y2M OATg== X-Gm-Message-State: ABy/qLavbzc0gyzgSlmQERQczK4oPFExFBdCEQozIGSGfsXpaQoUMeH3 IAhhK85VZ7MBk91o3+VHng/BYR7sOc9jomN6q/98+u6OBOdWwYNl4uLHeLyZEL1ztsK5DSNtTTT 4Lkj23Gd3L3eC0k/0t8tK X-Received: by 2002:ad4:4eea:0:b0:634:cdae:9941 with SMTP id dv10-20020ad44eea000000b00634cdae9941mr1009539qvb.0.1689444463952; Sat, 15 Jul 2023 11:07:43 -0700 (PDT) X-Received: by 2002:ad4:4eea:0:b0:634:cdae:9941 with SMTP id dv10-20020ad44eea000000b00634cdae9941mr1009526qvb.0.1689444463631; Sat, 15 Jul 2023 11:07:43 -0700 (PDT) Received: from [172.31.1.12] ([70.109.163.31]) by smtp.gmail.com with ESMTPSA id e20-20020a0ce3d4000000b006375f9fd170sm5052947qvl.34.2023.07.15.11.07.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 15 Jul 2023 11:07:43 -0700 (PDT) Message-ID: Date: Sat, 15 Jul 2023 14:07:41 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH v1] nfs(5): Document the new "xprtsec=" mount option Content-Language: en-US To: Chuck Lever Cc: Chuck Lever , linux-nfs@vger.kernel.org, kernel-tls-handshake@lists.linux.dev References: <168935977873.1850.8214830433103692090.stgit@bazille.1015granger.net> From: Steve Dickson In-Reply-To: <168935977873.1850.8214830433103692090.stgit@bazille.1015granger.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org Hey! On 7/14/23 2:36 PM, Chuck Lever wrote: > From: Chuck Lever > > More information about RPC-with-TLS and some brief set-up guidance > are to be provided in a separate man page in Section 7. > > Signed-off-by: Chuck Lever Question: commit b5e4539f already add this RPC-with-TLS update to the man page. So do you want me to revert b5e4539f and replace it with this patch? steved. > --- > utils/mount/nfs.man | 38 +++++++++++++++++++++++++++++++++++++- > 1 file changed, 37 insertions(+), 1 deletion(-) > > diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man > index d9f34df36b42..dfc31a5dad26 100644 > --- a/utils/mount/nfs.man > +++ b/utils/mount/nfs.man > @@ -574,7 +574,43 @@ The > .B sloppy > option is an alternative to specifying > .BR mount.nfs " -s " option. > - > +.TP 1.5i > +.BI xprtsec= policy > +Specifies the use of transport layer security to protect NFS network > +traffic on behalf of this mount point. > +.I policy > +can be one of > +.BR none , > +.BR tls , > +or > +.BR mtls . > +.IP > +If > +.B none > +is specified, > +transport layer security is forced off, even if the NFS server supports > +transport layer security. > +If > +.B tls > +is specified, the client uses RPC-with-TLS to provide in-transit > +confidentiality. > +If > +.B mtls > +is specified, the client uses RPC-with-TLS to authenticate itself and > +to provide in-transit confidentiality. > +If either > +.B tls > +or > +.B mtls > +is specified and the server does not support RPC-with-TLS or peer > +authentication fails, the mount attempt fails. > +.IP > +If the > +.B xprtsec= > +option is not specified, > +the default behavior depends on the kernel version, > +but is usually equivalent to > +.BR "xprtsec=none" . > .SS "Options for NFS versions 2 and 3 only" > Use these options, along with the options in the above subsection, > for NFS versions 2 and 3 only. > >