Commit graph

59 commits

Author SHA1 Message Date
Florian Zeitz
1d833bb807 Remove all trailing whitespace 2013-08-09 17:48:21 +02:00
Matthew Wild
339e74b1b9 s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event 2013-03-22 14:18:23 +00:00
Matthew Wild
f936068a62 mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello! 2013-03-10 11:25:05 +00:00
Kim Alvefur
d617081ac4 mod_dialback: Correctly check if a connection was destroyed (thanks iron) 2012-09-05 16:51:16 +02:00
Matthew Wild
47619af14c mod_dialback: Ignore <db:verify/> with a 'type' attribute on incoming connections, instead of interpreting them as a request to verify a key 2012-07-27 20:29:32 +01:00
Matthew Wild
e89b006f03 Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages 2012-07-23 17:32:33 +01:00
Waqas Hussain
d1a89e8f9c mod_dialback: Skip an unnecessary nameprep. 2012-06-15 02:53:57 +05:00
Matthew Wild
54c67720af mod_dialback: Remove a remaining usage of string.format, ick. 2012-05-11 14:24:05 +01:00
Matthew Wild
f42be7fe98 mod_dialback: Final sweep to get nameprep + error handling in order (hopefully) 2012-05-11 02:04:29 +01:00
Matthew Wild
1d8cbe75d9 mod_dialback: Fix logic bug - we should have both a to and from at this point 2012-05-11 01:54:36 +01:00
Matthew Wild
703e7dde18 Merge with Maranda 2012-05-11 01:53:32 +01:00
Matthew Wild
205fa926e7 Merge with backout 2012-05-11 01:45:36 +01:00
Matthew Wild
839f988ea4 Backed out changeset 9f1fb34cd7f8 - obsoleted by 5ef05f32bc42. 2012-05-11 01:39:52 +01:00
Matthew Wild
38a7865229 Merge with backout 2012-05-11 01:32:46 +01:00
Matthew Wild
f3aaf833ca Backed out changeset 751510cd558d - obsoleted by 5ef05f32bc42. 2012-05-11 01:29:30 +01:00
Matthew Wild
75d9d9e997 mod_s2s, s2smanager, mod_dialback: Move addition of session.send() on s2sin to after they are authenticated (thus from mod_s2s to s2smanager). Update mod_dialback to fire route/remote directly, as session.send() is no longer available for s2sin_unauthed. Fixes #291. 2012-05-10 22:59:01 +01:00
Marco Cirillo
560420165a mod_dialback: make change a bit more wide, encompass to and from and reject with proper addressing when neither are there. 2012-05-09 23:09:06 +00:00
Marco Cirillo
a5e360e673 mod_dialback: add better safe then sorry nameprepping to the from attribute. 2012-05-09 11:25:22 +00:00
Marco Cirillo
47594d8faf mod_dialback: COMPAT reset session.send function for servers (e.g. ejabberd) which don't include a from attr when opening the stream. 2012-05-09 02:56:22 +00:00
Matthew Wild
15f1965887 mod_dialback: Remove unused declaration of xmlns_dialback 2012-04-28 03:43:27 +01:00
Kim Alvefur
58900081f6 mod_dialback, mod_s2s: Log initiation of dialback in mod_dialback 2012-03-03 16:45:34 +01:00
Kim Alvefur
d0424f6f4e mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy 2012-03-03 13:28:33 +01:00
Kim Alvefur
9af8ea363b mod_s2s, mod_dialback: Event on pre-XMPP streams, so we can try dialback. 2012-03-03 01:35:39 +01:00
Kim Alvefur
11993525c0 mod_dialback: Remove unused import of s2smanager.send_to_host() 2012-03-03 00:01:10 +01:00
Florian Zeitz
24bfbf5ce2 mod_dialback: import util.hashes and functionality once in s2smanager. 2012-02-24 15:20:03 +00:00
Matthew Wild
7d8433ac02 Merge 0.8->trunk 2011-06-07 01:29:34 +01:00
Matthew Wild
b761dbf8c3 mod_dialback: More robust handling of multiple outstanding dialback requests for the same domain, fixes intermittent s2s with some (patched?) ejabberds 2011-06-06 22:51:33 +01:00
Waqas Hussain
653971e4ca mod_dialback: Remove <optional/> from stream feature, as per latest specs. 2011-05-07 21:16:06 +05:00
Matthew Wild
1cfb734e0e Merge 0.8->trunk 2011-04-05 13:26:43 +01:00
Matthew Wild
67e210a28a mod_dialback: Use session:close() on dialback failure instead of s2smanager.destroy_session() (thanks Zash) 2011-03-21 19:32:51 +00:00
Paul Aurich
ef8bc026b4 s2s: SASL EXTERNAL 2010-11-21 21:10:43 -08:00
Waqas Hussain
bdcb511bf4 mod_dialback: Fixed indentation. 2010-10-16 07:08:19 +05:00
Waqas Hussain
ec0ceee7eb mod_dialback: Updated to use the new events API. 2010-10-16 07:06:16 +05:00
Matthew Wild
2bc0606453 Update copyright headers for 2010 2010-03-22 17:06:15 +00:00
Matthew Wild
07c6450563 mod_dialback: Catch s2s-stream-features and add dialback feature 2009-10-08 23:41:29 +01:00
Matthew Wild
98486d8800 mod_dialback: Initiate dialback on incoming stream:features 2009-10-04 14:10:24 +01:00
Matthew Wild
118883d655 Remove version number from copyright headers 2009-07-10 03:11:45 +01:00
Matthew Wild
69bb55c678 mod_dialback: Change FIXME comment to COMPAT 2009-06-12 11:36:32 +01:00
Matthew Wild
26e6087e32 mod_dialback: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible 2009-04-30 02:45:33 +01:00
Matthew Wild
daf13d7b6b mod_dialback: Use module logger instead of creating a new one 2009-04-30 01:37:52 +01:00
Matthew Wild
e241b85a56 mod_*: Fix many unnecessary global accesses in modules (already committed to main repo) 2009-04-29 02:08:12 +01:00
Matthew Wild
c80f91dc02 0.3->0.4 2009-03-20 20:16:25 +00: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
2c5c164889 Destroy session on failed dialback instead of throwing an error 2008-12-25 02:30:56 +00:00
Matthew Wild
2e83fd69f7 Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :) 2008-12-13 17:43:52 +00:00
Matthew Wild
d3ad4a5123 0.1 -> 0.2 2008-12-10 15:44:03 +00:00
Matthew Wild
c92d90f3f5 Fix the last couple of places where we send strings from mod_dialback 2008-12-05 05:28:16 +00:00
Matthew Wild
7c9f4818c3 Remove an incorrect line which I didn't add, and fix the proper way. Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings. 2008-12-05 05:23:42 +00:00