Thu, 02 Oct 2008 01:08:58 +0100
SASL!
(but before you get too excited, no resource binding yet. And yes, there are still plenty of rough edges to the code...)
((eg. must move <stream:features> out of xmlhandlers.lua o_O ))
sessions = {}; hosts = { ["localhost"] = { type = "local"; connected = true; sessions = {}; }; ["getjabber.ath.cx"] = { type = "local"; connected = true; sessions = {}; }; } -- If the following is not defined, 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", }