Waqas Hussain
0595c7a86c
Latin1 support for SASL DIGEST-MD5 (initial commit)
2008-12-07 23:43:08 +05:00
Matthew Wild
c016526d9d
Backed out changeset 099d8a102deb (committed too much)
2008-12-05 19:49:16 +00:00
Matthew Wild
0d2b952b61
Add TLS socket to readlist before handshake starts, fixes major slow-down on TLS connections
2008-12-05 19:24:01 +00:00
Waqas Hussain
7ec231373f
Fix for handling latin1 encoded hostnames in SASL
2008-12-03 22:08:49 +05:00
Matthew Wild
0c5cc83112
Insert copyright/license headers
2008-12-03 14:39:07 +00:00
Waqas Hussain
631e249397
Completely switched to new hashes library from the old md5 library
2008-11-28 01:16:26 +05:00
Waqas Hussain
15153c947c
Stopped using the lbase64 library
2008-11-28 00:48:16 +05:00
Matthew Wild
a153b3c267
Bumper commit for the new modulemanager API \o/ Updates all the modules, though some more changes may be in store.
2008-11-27 03:12:12 +00:00
Matthew Wild
5c7ec634b1
Use a stanza for c2s stream features instead of an array of strings. Removes a FIXME.
2008-11-20 01:33:25 +00:00
Waqas Hussain
66546f8ea8
Fixed mod_saslauth to use session.send for sending stanzas
2008-11-16 04:47:34 +05:00
Waqas Hussain
49ab3af442
Code cleanup for resource binding
2008-11-16 03:16:53 +05:00
Tobias Markmann
f2bca1da10
Providing some human readable error messages and some fixes.
2008-11-15 22:36:22 +01:00
Tobias Markmann
a06fac33d5
Made SASL module fit the new interface.
2008-11-15 22:30:09 +01:00
Waqas Hussain
f2ffc8c323
Using md5.sum rather than hashes.md5 because we don't want hexadecimal
2008-11-16 02:28:32 +05:00
Waqas Hussain
2a1ed142ab
mod_saslauth: Code cleanup
2008-11-16 02:27:22 +05:00
Waqas Hussain
7c9ca1658a
base64 encode the sasl responses
2008-11-16 02:10:01 +05:00
Waqas Hussain
a055e3c41b
Started using realm in password hashing, and added support for error message replies from sasl
2008-11-16 01:54:14 +05:00
Matthew Wild
e9de112af3
Comment out DIGEST-MD5 until it is fully implemented
2008-11-15 19:50:22 +00:00
Tobias Markmann
35b187ca4a
Merging with Waqas' code.
2008-11-15 20:28:49 +01:00
Tobias Markmann
0d8a36b732
Set username in a SASL object.
2008-11-15 20:28:09 +01:00
Waqas Hussain
1b6b09a27d
Set username on SASL success
2008-11-16 00:25:28 +05:00
Tobias Markmann
564d2da8d5
Merge with Waqas changes to mod_saslauth.
2008-11-15 19:25:51 +01:00
Waqas Hussain
9245e20027
mod_saslauth: Added base64 decoding, encoding check, and cleaned the code up.
2008-11-15 23:20:07 +05:00
Tobias Markmann
72e415f823
Adding some TODO for some security issue.
2008-11-15 19:12:05 +01:00
Tobias Markmann
efb34b5c4a
Merging my new SASL code with Waqas' adjusted saslauth module.
2008-11-15 13:47:17 +01:00
Waqas Hussain
aefcb845c3
mod_saslauth updated for digest-md5
2008-11-15 12:21:04 +05:00
Tobias Markmann
c4d2deffc6
Forward response stanzas to sasl.lua and some other stuff.
2008-11-10 16:28:15 +01:00
Matthew Wild
59dd4ed3cd
TLS/SASL no longer should include the connhandler module
2008-10-23 03:53:51 +01:00
Matthew Wild
ee7b432ab1
Abstract connections with "connection listeners"
...
- Added connlistener for xmppclient
- SASL/TLS now use a new session:reset_stream() method
- main.lua on its way to being a bit neater
2008-10-22 17:36:21 +01:00
Matthew Wild
762a906e36
Fix for destruction of unauthed SASL sessions
2008-10-04 15:24:52 +01:00
Matthew Wild
459665b368
Use xmlns for matching auth tag too
2008-10-04 02:42:23 +01:00
Matthew Wild
fde6f6db66
Resource binding, XMPP sessions (whatever they're for...)
2008-10-04 02:15:13 +01:00
Matthew Wild
6db3d039b3
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 ))
2008-10-02 01:08:58 +01:00