HomeFreeBSD

rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8)

Description

rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8)

Now that the conversion of rpcsec_tls/client + rpc.tlsclntd(8) to the
netlink(4) socket as RPC transport started using kernel socket pointer as
a reliable cookie, we can shave off quite a lot of complexity. We will
utilize the same kernel-generated cookie in all RPCs. And the need for
the daemon generated cookie in the form of timestamp+sequence vanishes.

We also stop passing notion of 'process position' from userland to
kernel. The TLS handshake parallelism to be reimplemented in the daemon
without any awareness about that in the kernel.

This time bump the RPC version.

Reviewed by: rmacklem
Differential Revision: https://reviews.freebsd.org/D48566

Details

Provenance
glebiusAuthored on Sat, Feb 1, 1:03 AM
Reviewer
rmacklem
Differential Revision
D48566: rpcsec_tls/server: API refactoring between kernel and rpc.tlsservd(8)
Parents
rGe1b723d5fe44: rpc.tlsclntd: followup of API refactoring in the previous commit
Branches
Unknown
Tags
Unknown