xmpp-rs/tokio-xmpp/src/connect
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Emmanuel Gil Peyrot c24275c098 tokio-xmpp: Add support for kernel TLS
This drastically improve the debuggability of the network parts, by
moving the task of encrypting/decrypting TLS packets from userland to
the kernel.  This makes them appear in clear in strace as sendto() and
recvfrom().

I introduced a new tls-rust-ktls feature which depends on both rustls
and ktls, but isn’t enabled by default since it probably isn’t available
on every computer.  It requires the tls kernel module to be loaded,
which then can offload encryption/decryption to dedicated hardware if
available.

I have tested this change on Linux 6.11 on a rk3588.
2024-09-17 20:45:41 +00:00
..
dns.rs Make Client and Component more unified, and connectors too 2024-08-10 16:57:49 +02:00
mod.rs xmlstream: implement simple timeout logic 2024-09-01 10:02:36 +02:00
starttls.rs tokio-xmpp: Add support for kernel TLS 2024-09-17 20:45:41 +00:00
tcp.rs xmlstream: implement simple timeout logic 2024-09-01 10:02:36 +02:00