OSDN Git Service

SUNRPC: Support TLS handshake in the server-side TCP socket code
authorChuck Lever <chuck.lever@oracle.com>
Thu, 20 Apr 2023 17:56:24 +0000 (13:56 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Thu, 27 Apr 2023 22:49:24 +0000 (18:49 -0400)
commitb3cbf98e2fdf3cb147a95161560cd25987284330
treecf08005abc4b034ba5a9b0a1c229dcb83b128325
parent22b620ec0bf454cfd1c464f57cfce9afb3fb1e70
SUNRPC: Support TLS handshake in the server-side TCP socket code

This patch adds opportunitistic RPC-with-TLS to the Linux in-kernel
NFS server. If the client requests RPC-with-TLS and the user space
handshake agent is running, the server will set up a TLS session.

There are no policy settings yet. For example, the server cannot
yet require the use of RPC-with-TLS to access its data.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
include/linux/sunrpc/svc_xprt.h
include/linux/sunrpc/svcsock.h
include/trace/events/sunrpc.h
net/sunrpc/svc_xprt.c
net/sunrpc/svcauth_unix.c
net/sunrpc/svcsock.c