[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID:
<169047923706.5241.1181144206068116926.stgit@oracle-102.nfsv4bat.org>
Date: Thu, 27 Jul 2023 13:34:56 -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 v3 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.
Changes since v2:
* Simplify header dependencies
Changes since v1:
* Address review comments from Hannes
---
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
.../chelsio/inline_crypto/chtls/chtls.h | 1 +
include/net/handshake.h | 5 +
include/net/tls.h | 4 -
include/net/tls_prot.h | 68 ++++++++
include/trace/events/handshake.h | 160 ++++++++++++++++++
net/handshake/Makefile | 2 +-
net/handshake/alert.c | 110 ++++++++++++
net/handshake/handshake.h | 6 +
net/handshake/tlshd.c | 23 +++
net/handshake/trace.c | 2 +
net/sunrpc/svcsock.c | 50 +++---
net/sunrpc/xprtsock.c | 45 ++---
net/tls/tls.h | 1 +
13 files changed, 431 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