summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2023-04-15 10:09:26 -0400
committerSteve Dickson <steved@redhat.com>2023-04-15 13:53:54 -0400
commitb5e4539f7304c9cb60e03f5288f52b58d4b68e8b (patch)
treeb1a2d9673552fe995ff364eba6676e7494d22177
parent21d35ad4f25e6dcdc919ceb01744b0a9d97b37ba (diff)
downloadnfs-utils-b5e4539f7304c9cb60e03f5288f52b58d4b68e8b.tar.gz
nfs(5): Document the new "xprtsec=" mount optionnfs-utils-2-6-3-rc8
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 <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/mount/nfs.man34
1 files changed, 33 insertions, 1 deletions
diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
index d9f34df..7a41042 100644
--- a/utils/mount/nfs.man
+++ b/utils/mount/nfs.man
@@ -574,7 +574,39 @@ 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 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,
+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.