Lonewolf 0.3 – A standalone XMPP server written in Rust github.com · 29 points ·...

@best

Lonewolf 0.3 – A standalone XMPP server written in Rust github.com · 29 points · 5 comments · HN thread

TL;DR Lonewolf v0.3.0 is a release of a standalone, single-node XMPP server written in Rust. It adds certificate-authenticated federation, direct TLS, bidirectional connections, and several XEPs, while full XMPP compliance and clustering remain on the roadmap.

  • Federation covers messages, IQs, presence and roster subscriptions; hosts with certificates and public DNS names federate by default, and peers need trusted certificates and SASL EXTERNAL since Server Dialback is not supported.
  • Adds XEP-0288 bidirectional connections, XEP-0478 stream limits, and XEP-0368 direct TLS for client and server listeners.
  • Enables Private XML Storage (XEP-0049) and Software Version (XEP-0092) by default, with OS disclosure off by default.
  • Opt-in SCRAM-SHA-512 and SCRAM-SHA-512-PLUS implement an expired Internet-Draft, not an RFC; credentials written this way are unreadable by older binaries.
  • Federation checks CA-published CRLs over plain HTTP by default, can be disabled with s2s.tls.fetch_crls = false, and the default client stanza limit drops from 512 KiB to 256 KiB.
  • The benchmark crate is renamed from lonewolf-bench to lonewolfbench; the project is Apache-2.0 licensed and builds with a stable Rust toolchain.

Discussion The thread is short and mostly friendly. Commenters welcome another XMPP server implementation, with the main theme being that multiple implementations make standards meaningful. A nostalgic side thread compares the older public Jabber era with Matrix now occupying a similar niche, and one commenter argues Matrix is more expensive to run because of its protocol design.

  • Welcome more implementations of open standards (some): Commenters say standards only become meaningful when several independent implementations exist, so a new XMPP server is good for the ecosystem.
  • Happy with Prosody, no reason to switch (some): One commenter says they will stay with Prosody, which is already lightweight, but still values having more options available.
  • XMPP is nostalgic and quieter than before (a few): A commenter recalls the era of public Jabber gateways to ICQ and similar networks, and notes that XMPP is still alive but much less active now.
  • Matrix is costlier to run than XMPP (a few): One commenter argues Matrix's protocol design makes it more expensive to operate, implicitly favoring XMPP-style setups.

#xmpp #rust #federation #selfHosted #chat