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.
5 years ago
Kim Alvefur
1cd5049c77
mod_dialback: Use correct host for certificate check ( fixes #1381 )
7 years ago
Matthew Wild
0a3d796623
mod_dialback: Use constant-time comparison with hmac
5 years ago
Kim Alvefur
d24d483908
mod_dialback: Tweak wording in a comment
5 years ago
Jonas Schäfer
f18e33228d
s2s et al.: Add counters for connection state transitions
5 years ago
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.
6 years ago
Kim Alvefur
c66adb1b89
mod_dialback: Abort early if request is missing addressing attributes
...
Prevents traceback from passing nil to nameprep()
6 years ago
Kim Alvefur
cf7486984a
mod_dialback: Ignore unused arguments [luacheck]
8 years ago
Kim Alvefur
e8ff8bf606
mod_dialback: Expand abbrevation
8 years ago
Kim Alvefur
a15eb17b9c
mod_dialback: Split long line [luacheck]
8 years ago
Kim Alvefur
c1362a6093
mod_dialback: Use renamed API for hooking non-stanza tags
8 years ago
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 )
8 years ago
Kim Alvefur
fd533f1aae
mod_dialback: Copy function from mod_s2s instead of depending on it, which made it harder to disable s2s ( fixes #1050 )
8 years ago
Kim Alvefur
13a4748074
mod_dialback: Use non-deprecated API
8 years ago
Kim Alvefur
a4c470cbed
mod_dialback: Split long line [luacheck]
8 years ago
Kim Alvefur
212db93800
mod_dialback: Follow XEP-0185 and use HMAC
10 years ago
Kim Alvefur
bd64d50dd4
mod_dialback: Follow XEP-0185 and use HMAC
10 years ago
Kim Alvefur
d33c824d1f
mod_dialback, mod_saslauth: Remove broken fallback to dialback on SASL EXTERNAL failure
11 years ago
Kim Alvefur
c2d718c06a
mod_dialback: Move d-w-d after to/from validation
11 years ago
Kim Alvefur
2957bd81cb
mod_dialback: Respect dwd config option
12 years ago
Kim Alvefur
c09c768701
mod_dialback.lua: Only check certificates on secure connections
12 years ago
Kim Alvefur
1440be730c
mod_dialback: Short-circuit dialback auth if certificate is considered valid
12 years ago
Kim Alvefur
59ef50532c
mod_dialback: Keep the same dialback secret across module reloads
12 years ago
Kim Alvefur
105ceb9cff
hostmanager, mod_dialback: Move generation of dialback secret out of core
12 years ago
Kim Alvefur
8717f83b21
mod_dialback: Change level of some log statements to be more appropriate
13 years ago
Florian Zeitz
1d833bb807
Remove all trailing whitespace
13 years ago
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
13 years ago
Matthew Wild
f936068a62
mod_s2s, mod_dialback: Rename s2s-authenticate-legacy event to s2sout-authenticate-legacy for clarity. Also, hello!
13 years ago
Kim Alvefur
d617081ac4
mod_dialback: Correctly check if a connection was destroyed (thanks iron)
14 years ago
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
14 years ago
Matthew Wild
e89b006f03
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
14 years ago
Waqas Hussain
d1a89e8f9c
mod_dialback: Skip an unnecessary nameprep.
14 years ago
Matthew Wild
54c67720af
mod_dialback: Remove a remaining usage of string.format, ick.
14 years ago
Matthew Wild
f42be7fe98
mod_dialback: Final sweep to get nameprep + error handling in order (hopefully)
14 years ago
Matthew Wild
1d8cbe75d9
mod_dialback: Fix logic bug - we should have both a to and from at this point
14 years ago
Matthew Wild
839f988ea4
Backed out changeset 9f1fb34cd7f8 - obsoleted by 5ef05f32bc42.
14 years ago
Matthew Wild
f3aaf833ca
Backed out changeset 751510cd558d - obsoleted by 5ef05f32bc42.
14 years ago
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 .
14 years ago
Marco Cirillo
560420165a
mod_dialback: make change a bit more wide, encompass to and from and reject with proper addressing when neither are there.
14 years ago
Marco Cirillo
a5e360e673
mod_dialback: add better safe then sorry nameprepping to the from attribute.
14 years ago
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.
14 years ago
Matthew Wild
15f1965887
mod_dialback: Remove unused declaration of xmlns_dialback
14 years ago
Kim Alvefur
58900081f6
mod_dialback, mod_s2s: Log initiation of dialback in mod_dialback
14 years ago
Kim Alvefur
d0424f6f4e
mod_s2s, mod_dialback: Rename event to s2s-authenticate-legacy
14 years ago
Kim Alvefur
9af8ea363b
mod_s2s, mod_dialback: Event on pre-XMPP streams, so we can try dialback.
14 years ago
Kim Alvefur
11993525c0
mod_dialback: Remove unused import of s2smanager.send_to_host()
14 years ago
Florian Zeitz
24bfbf5ce2
mod_dialback: import util.hashes and functionality once in s2smanager.
14 years ago
Matthew Wild
b761dbf8c3
mod_dialback: More robust handling of multiple outstanding dialback requests for the same domain, fixes intermittent s2s with some (patched?) ejabberds
15 years ago
Waqas Hussain
653971e4ca
mod_dialback: Remove <optional/> from stream feature, as per latest specs.
15 years ago
Matthew Wild
67e210a28a
mod_dialback: Use session:close() on dialback failure instead of s2smanager.destroy_session() (thanks Zash)
15 years ago