Lonewolf 0.3 Adds XMPP Federation to Rust Server
Lonewolf 0.3, a Rust-based XMPP server, now supports federation, allowing users to exchange messages, presence updates, and roster subscriptions with people on other XMPP instances. Federation activates automatically when a server has a valid certificate and public DNS record, requiring no additional configuration.
The implementation authenticates peers using certificates and requires SASL EXTERNAL support; Server Dialback authentication is not supported. Where available, bidirectional federation maintains a single connection between servers. Servers share their stanza size and idle connection limits at the start of federation. Revocation status is checked using CRLs fetched over HTTP; if the fetch fails, the connection proceeds anyway. Administrators can disable CRL fetching or specify a local file instead. Direct TLS support is new, allowing connections to establish encryption from the first byte.
The update adds desktop client conveniences: private XML storage for application settings and bookmarks, and a server version endpoint that conceals the operating system by default. Short-lived certificates can be requested from the certificate authority with automatic early renewal when the profile changes. An optional SCRAM-SHA-512 authentication method is available, though based on an expired Internet-Draft rather than a ratified RFC. Even with SCRAM-SHA-512 disabled, credential storage format has changed—version 0.2.0 cannot read it, complicating downgrades. Lonewolf remains pre-1.0 and operates as a single node; full XMPP compliance and clustering are planned.
Read the full article
Continue reading at Hacker News →This is an AI-generated summary. Read the original for the full story.