freebsd-dev/usr.sbin/rpc.tlsservd
Rick Macklem 1e588a9ceb rpc.tlsservd: Add an option to run multiple daemons
During discussions with someone that was doing NFS-over-TLS
development for Solaris, we had a concern that the server might
become overloaded after rebooting, due to a large number of
TLS handshake requests from clients.

To alleviate this potential problem, this patch modifies rpc.tlsservd
so that it supports the "-N/--numdaemons" command line option,
which specifies that up to RPCTLS_SRV_MAXNPROCS (currently defined
as 16 in the patch) may be started.

When there are multiple daemons, one is selected by the patched kernel
in a round-robin fashion, to serve a TLS handshake request.

The man page update will be done in a future commit.

Reviewed by:	emaste, karels
Differential Revision:	https://reviews.freebsd.org/D35886
2022-10-08 16:06:16 -07:00
..
Makefile
rpc.tlscommon.c
rpc.tlscommon.h
rpc.tlsservd.8 rpc.tlsservd.8: Fix the RFC number now that it exists 2022-09-23 16:53:36 -07:00
rpc.tlsservd.c rpc.tlsservd: Add an option to run multiple daemons 2022-10-08 16:06:16 -07:00