Kim Alvefur
98922d54b1
plugins: Prefix module imports with prosody namespace
2023-03-24 13:15:28 +01:00
Kim Alvefur
d24d483908
mod_dialback: Tweak wording in a comment
2021-07-13 23:27:26 +02:00
Matthew Wild
5bc8b2a379
Merge 0.11->trunk
2021-05-13 11:17:13 +01:00
Kim Alvefur
c2ce30433a
mod_dialback: Remove d-w-d feature
...
Backs out 1d0862814bfc and 2fdd71b08126
Largely unused, undocumented and did not have enough tests to provide
confidence in its correct operation.
2021-05-12 17:22:02 +02:00
Jonas Schäfer
f18e33228d
s2s et al.: Add counters for connection state transitions
2021-04-21 17:11:58 +02:00
Kim Alvefur
1cd5049c77
mod_dialback: Use correct host for certificate check ( fixes #1381 )
2019-06-23 16:16:26 +02:00
Matthew Wild
0a3d796623
mod_dialback: Use constant-time comparison with hmac
2021-05-12 14:00:53 +01:00
Kim Alvefur
fd7ac7b72e
mod_dialback: Fix potential traceback in case of missing addressing
...
Not tested. Assuming nothing good comes from continuing the program flow
after this. The connection should get closed and the event gets aborted
by a traceback anyways.
2019-11-02 15:40:20 +01:00
Kim Alvefur
c66adb1b89
mod_dialback: Abort early if request is missing addressing attributes
...
Prevents traceback from passing nil to nameprep()
2019-11-02 15:27:53 +01:00
Kim Alvefur
cf7486984a
mod_dialback: Ignore unused arguments [luacheck]
2018-02-04 01:17:22 +01:00
Kim Alvefur
e8ff8bf606
mod_dialback: Expand abbrevation
2018-02-04 01:16:43 +01:00
Kim Alvefur
a15eb17b9c
mod_dialback: Split long line [luacheck]
2018-02-04 01:16:28 +01:00
Kim Alvefur
c1362a6093
mod_dialback: Use renamed API for hooking non-stanza tags
2018-02-04 01:06:40 +01:00
Kim Alvefur
5a07b39c7f
Backed out changeset 89c42aff8510: The problem in ejabberd has reportedly been resolved and this change causes more problems than it solves ( fixes #1006 )
2018-02-04 01:13:27 +01:00
Kim Alvefur
fd533f1aae
mod_dialback: Copy function from mod_s2s instead of depending on it, which made it harder to disable s2s ( fixes #1050 )
2017-12-05 12:21:51 +01:00
Kim Alvefur
bd64d50dd4
mod_dialback: Follow XEP-0185 and use HMAC
2016-01-19 21:31:02 +01:00
Kim Alvefur
d33c824d1f
mod_dialback, mod_saslauth: Remove broken fallback to dialback on SASL EXTERNAL failure
2014-09-23 14:23:01 +02:00
Kim Alvefur
c2d718c06a
mod_dialback: Move d-w-d after to/from validation
2014-09-01 20:20:05 +02:00
Kim Alvefur
2957bd81cb
mod_dialback: Respect dwd config option
2014-07-09 02:04:16 +02:00
Kim Alvefur
c09c768701
mod_dialback.lua: Only check certificates on secure connections
2014-07-04 23:04:56 +02:00
Kim Alvefur
1440be730c
mod_dialback: Short-circuit dialback auth if certificate is considered valid
2014-07-04 21:48:25 +02:00
Kim Alvefur
59ef50532c
mod_dialback: Keep the same dialback secret across module reloads
2014-07-03 15:38:53 +02:00
Kim Alvefur
105ceb9cff
hostmanager, mod_dialback: Move generation of dialback secret out of core
2014-05-22 15:21:22 +02:00
Kim Alvefur
8717f83b21
mod_dialback: Change level of some log statements to be more appropriate
2013-08-10 19:53:22 +02:00
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