News for hackers. Stuff that matters.
Re:FreeBSD 12.0 is now available by toast0 on Tuesday December 11, 2018 @08:30PM (#18660630)
I don't think it would be desirable for the kernel to handle rekeying, the socket should get sent back to userspace for that. That would probably require some wrangling, and it's certainly easier to do it in a good enough fashion rather than try to clean it up and get it upstreamed, but it's not impossible. I'm certainly guilty of not getting enough energy around upstreaming patches too, though.
Re:FreeBSD 12.0 is now available by loeg on Tuesday December 11, 2018 @09:48PM (#18660991)
> I don't think it would be desirable for the kernel to handle rekeying, the socket should get sent back to userspace for that. That would probably require some wrangling, and it's certainly easier to do it in a good enough fashion rather than try to clean it up and get it upstreamed, but it's not impossible.

Sure; I agree. I tried to address that under "It isn't really obvious how it would be cleaned up to be general enough to import, and it would be a ton of work with little payoff."

After all, you have to integrate with OpenSSL (or whatever) on the userspace side somehow too. And OpenSSL is contrib code, so we can't just hack it willy-nilly.

Re:FreeBSD 12.0 is now available by caf on Tuesday December 11, 2018 @10:53PM (#18661263)
OpenSSL already has integration for Linux's similar kTLS support (bulk transmit encryption only; all other alerts, renegotiation etc punted back to userspace). If you wrote it to provide the same API then the OpenSSL support side would be easy.

https://github.com/openssl/openssl/blob/d6c3c1896cf3c0d69bc2...

Re:FreeBSD 12.0 is now available by loeg on Wednesday December 12, 2018 @12:25AM (#18661595)
Thanks, I didn't know about that. That makes it seem a lot more viable.