Tue, 18 Nov 2008 17:52:33 +0000
Quite some changes, to:
- Small logging fix for s2smanager
- Send a stream error if an incoming s2s connection is to an unrecognised hostname (fixes #11)
- init_xmlhandlers now takes a table of callbacks (includes changes to net/xmpp*_listener for this)
- Move sending of unavailable presence to where it should be, sessionmanager.destroy_session
- Fix sending of stream errors to wrong connection
---- lxmppd configuration file ---- config = { hosts = { -- local hosts "localhost"; --"snikket.com"; }; -- If the following is commented, no SSL will be set up on 5223 --[[ssl_ctx = { mode = "server"; protocol = "sslv23"; key = "/home/matthew/ssl_cert/server.key"; certificate = "/home/matthew/ssl_cert/server.crt"; capath = "/etc/ssl/certs"; verify = "none"; };]] modules = { -- enabled modules "saslauth"; "legacyauth"; "roster"; "register"; "tls"; "vcard"; "private"; "version"; "dialback"; "uptime"; }; }