Commit graph

48 commits

Author SHA1 Message Date
Kim Alvefur
98922d54b1 plugins: Prefix module imports with prosody namespace 2023-03-24 13:15:28 +01:00
Matthew Wild
a53ffcca73 mod_legacyauth: Default to require encryption 2022-02-10 15:48:34 +00:00
Kim Alvefur
4b548a129b mod_legacyauth: Report failure from sessionmanager (mostly invalid username) 2019-12-23 23:11:28 +01:00
Kim Alvefur
3f6ffa7cd6 mod_legacyauth: Split a long line [luacheck] 2018-05-01 20:45:22 +02:00
Kim Alvefur
ac43c71ec2 mod_legacyauth, mod_saslauth, mod_tls: Pass require_encryption as default option to s2s_require_encryption so the later overrides the former 2014-10-21 12:49:03 +02:00
Kim Alvefur
8003a40b0a mod_lastactivity, mod_legacyauth, mod_presence, mod_saslauth, mod_tls: Use the newer stanza:get_child APIs and optimize away some table lookups 2014-07-04 22:52:34 +02:00
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
ec98274a21 mod_legacyauth: Fix for sending error response to unauthed s2s connections 2012-09-13 18:48:35 +01:00
Kim Alvefur
9735264a8d mod_legacyauth: Remove unused variable 2012-08-07 17:01:07 +02:00
Kim Alvefur
ba9418cd02 mod_legacyauth: Return an error if username or resource fails stringprep (thanks iron) 2012-08-07 17:00:12 +02:00
Matthew Wild
49fb45a07b mod_legacyauth: Disallow on unencrypted connections by default, heed allow_unencrypted_plain_auth config option (thanks Maranda/Zash) 2011-04-20 18:19:28 +01:00
Waqas Hussain
40c3f8ddad mod_legacyauth: Limit authentication to unauthenticated client connections. 2010-10-16 05:46:23 +05:00
Waqas Hussain
79082eba3e mod_legacyauth: Updated to use the new events API. 2010-10-16 05:41:49 +05:00
Matthew Wild
a6e1eb7590 usermanager, mod_auth_internal_hashed, mod_legacyauth: New order of parameters for usermanager.test_password - username, host, password 2010-07-21 21:01:36 +01:00
Waqas Hussain
a92e0df397 mod_legacyauth: Fixed the ordering of parameters passed to usermanager.test_password. 2010-06-10 03:54:22 +05:00
Waqas Hussain
a0a05468a9 mod_legacyauth: Use the new usermanager.test_password instead of usermanager.validate_credentials. 2010-06-09 22:20:53 +05:00
Matthew Wild
46c0b8c7f9 Merge 0.6->0.7 2010-03-22 17:24:55 +00:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Waqas Hussain
afea5e0f46 mod_legacyauth: Hook stream-features event using new events API. 2010-02-12 04:22:01 +05:00
Matthew Wild
de057a2b2b require_encryption deprecated, use c2s_require_encryption instead 2009-10-05 14:59:30 +01:00
Matthew Wild
adca883cc3 Merge with 0.5 2009-09-27 12:26:51 +01:00
Waqas Hussain
be102693fa mod_legacyauth: Don't allow server-generated resource identifiers, as these are not support by legacy auth. 2009-09-27 15:50:41 +05:00
Waqas Hussain
aa65ea57bd mod_legacyauth: Undo auth on bind fail. Legacy auth is atomic. 2009-09-27 15:30:01 +05:00
Waqas Hussain
fba5b67403 mod_legacyauth: Added node and resource prepping. 2009-09-27 15:21:08 +05:00
Waqas Hussain
0373133890 mod_legacyauth: Added a FIXME 2009-08-13 16:53:18 +05:00
Waqas Hussain
3ede8212ce mod_legacyauth: Refactored a bit 2009-08-13 16:51:35 +05:00
Waqas Hussain
ae63e1d1cd mod_legacyauth: Updated to use module:get_option instead of configmanager 2009-08-13 16:46:08 +05:00
Waqas Hussain
42d4cad137 mod_legacyauth: Removed useless 'require' call on every login attempt 2009-08-13 16:45:47 +05:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
fc68c36454 mod_legacyauth: Hide stream feature when secure auth is enabled, and session isn't secure 2009-05-29 18:04:53 +01:00
Matthew Wild
4e00f6c8b5 mod_saslauth, mod_legacyauth: Deny logins to unsecure sessions when require_encryption config option is true 2009-05-29 14:33:55 +01:00
Matthew Wild
ca9a9eb85e mod_*: Fix a load of global accesses 2009-04-22 21:32:23 +01:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00:00
Waqas Hussain
c733342161 mod_legacyauth: Added stream feature: <auth xmlns='http://jabber.org/features/iq-auth'/> 2009-03-08 04:49:51 +05:00
Matthew Wild
c5ee166aa9 Update copyright notices for 2009 2009-01-30 17:59:26 +00:00
Matthew Wild
f2d020191f 0.2->0.3 2009-01-30 17:40:25 +00:00
Matthew Wild
bf3b96204d GPL->MIT! 2009-01-30 17:22:56 +00:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Waqas Hussain
2d2414f199 Change modules to use the new add_feature module API method.
This also fixes the bug causing disco features being added to every disco reply for every host.
2008-12-04 20:16:30 +05:00
Matthew Wild
0c5cc83112 Insert copyright/license headers 2008-12-03 14:39:07 +00: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
Waqas Hussain
f68d335729 Modules now sending disco replies 2008-11-26 08:27:09 +05:00
Waqas Hussain
801779a3e2 Fixed mod_legacyauth to use session.send for sending stanzas 2008-11-16 04:36:34 +05:00
Waqas Hussain
49ab3af442 Code cleanup for resource binding 2008-11-16 03:16:53 +05:00
Matthew Wild
652190787c Fix mod_legacyauth to not use old stanza_dispatch 2008-10-24 14:45:50 +01:00
Matthew Wild
c98dd482df Small fix for sending stanzas in case of resource binding error 2008-10-04 02:14:11 +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
Matthew Wild
a53395e6b7 Huge commit to:
* Break stanza routing (to be restored in a future commit)
* Remove the old stanza_dispatcher code, which was never going to be maintainable nor extendable :)
* Bring us plugins, starting with mod_legacyauth and mod_roster
* Sessions are now created/destroyed using a standard sessionmanager interface
2008-09-30 19:52:00 +01:00