Page MenuHomeFreeBSD

rpcsec_tls/server: use netlink RPC client to talk to rpc.tlsservd(8)
ClosedPublic

Authored by glebius on Jan 20 2025, 9:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 6, 5:19 PM
Unknown Object (File)
Fri, Jun 5, 1:50 AM
Unknown Object (File)
Thu, Jun 4, 2:26 PM
Unknown Object (File)
Thu, Jun 4, 8:13 AM
Unknown Object (File)
Tue, Jun 2, 4:49 AM
Unknown Object (File)
May 17 2026, 1:50 PM
Unknown Object (File)
May 16 2026, 11:52 PM
Unknown Object (File)
May 16 2026, 4:46 PM
Subscribers

Details

Summary

The server part just repeats what had been done to the client. We trust
the parallelism of clnt_nl and we pass socket cookie to the daemon, which
we then expect to see in the rpctls_syscall(RPCTLS_SYSC_SRVSOCKET) to find
the corresponding socket+xprt. We reuse the same database that is used
for clients.

Note 1: this will be optimized further in a separate commit. This one is
made intentionally minimal, to ease the review process.

Note 2: this change intetionally ignores aspect of multiple workers of
rpc.tlsservd(8). This also will be addressed in a future commit.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable