Page MenuHomeFreeBSD

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

Authored by glebius on Mon, Jan 20, 9:06 PM.
Tags
None
Referenced Files
F108202086: D48566.id.diff
Wed, Jan 22, 2:22 PM
Unknown Object (File)
Wed, Jan 22, 10:53 AM
Unknown Object (File)
Wed, Jan 22, 5:27 AM
Unknown Object (File)
Mon, Jan 20, 9:58 PM
Subscribers

Details

Reviewers
rmacklem
Group Reviewers
network
Summary

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.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61839
Build 58723: arc lint + arc unit