[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<168970659111.5330.9206348580241518146.stgit@oracle-102.nfsv4bat.org>
Date: Tue, 18 Jul 2023 14:58:51 -0400
From: Chuck Lever <cel@...nel.org>
To: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com
Cc: netdev@...r.kernel.org, kernel-tls-handshake@...ts.linux.dev
Subject: [PATCH net-next v1 0/7] In-kernel support for the TLS Alert protocol
IMO the kernel doesn't need user space (ie, tlshd) to handle the TLS
Alert protocol. Instead, a set of small helper functions can be used
to handle sending and receiving TLS Alerts for in-kernel TLS
consumers.
---
Chuck Lever (7):
net/tls: Move TLS protocol elements to a separate header
net/tls: Add TLS Alert definitions
net/handshake: Add API for sending TLS Closure alerts
SUNRPC: Send TLS Closure alerts before closing a TCP socket
net/handshake: Add helpers for parsing incoming TLS Alerts
SUNRPC: Use new helpers to handle TLS Alerts
net/handshake: Trace events for TLS Alert helpers
include/net/handshake.h | 5 +
include/net/tls.h | 5 +-
include/net/tls_prot.h | 68 +++++++++++++
include/trace/events/handshake.h | 160 +++++++++++++++++++++++++++++++
net/handshake/Makefile | 2 +-
net/handshake/alert.c | 115 ++++++++++++++++++++++
net/handshake/handshake.h | 4 +
net/handshake/tlshd.c | 23 +++++
net/handshake/trace.c | 2 +
net/sunrpc/svcsock.c | 50 +++++-----
net/sunrpc/xprtsock.c | 45 +++++----
11 files changed, 433 insertions(+), 46 deletions(-)
create mode 100644 include/net/tls_prot.h
create mode 100644 net/handshake/alert.c
--
Chuck Lever
Powered by blists - more mailing lists