Commit Graph

253 Commits (5c1d94de1b67353da7e2c348379c8a8509a9e66a)

Author SHA1 Message Date
Matthew Wild 18889eae1b sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild a5e2b65c01 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Matthew Wild c908af2a7d s2smanager: Remove unused function parameter 13 years ago
Matthew Wild 5f6e150c61 s2smanager: Access prosody.hosts instead of hosts global directly 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
Kim Alvefur 3f4b64ddb6 s2smanager: Use unused local, reduce table indexing 13 years ago
Kim Alvefur 4517552d8b s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Marco Cirillo d4e080f745 s2smanager: missing return on session.send function. 14 years ago
Matthew Wild 249829afcb s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set 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 6e9784727f s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash). 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
Kim Alvefur 3713488b27 s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s 14 years ago
Kim Alvefur 2cd39663b6 s2smanager: Clean up unused imports. 14 years ago
Kim Alvefur 26768f3e54 s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s 14 years ago
Kim Alvefur 5442ecd0fe core.s2smanager: Log the entire stream header. 14 years ago
Matthew Wild ba9e28535b s2smanager: Fix traceback when socket.tcp6 isn't available 14 years ago
Marco Cirillo 74bff42057 s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, remove useless space from mod_s2s code 14 years ago
Florian Zeitz 8f06587c50 s2smanager: remove send_to_host. 14 years ago
Kim Alvefur f9853f402b core.s2smanager: Fix check_cert_status() for when the stream has no from attr 14 years ago
Paul Aurich fdd51ac3ff s2smanager: Log the host when marking it authenticated 14 years ago
Matthew Wild f851289311 s2smanager, mod_s2s, mod_s2s/s2sout: Split connection handling out of s2smanager into mod_s2s, and further split connection logic for s2sout to a module lib, s2sout.lib.lua 14 years ago
Matthew Wild f5b0bf49fd s2smanager: Fix missing import of 'type' (thanks darkrain) 14 years ago
Waqas Hussain 06aa3c416e s2smanager: Don't throw an error when the "interface" config option is a string (which it is by default). 14 years ago
Matthew Wild 8143f5ff10 s2smanager: Remove unused reference to modulemanager 14 years ago
Florian Zeitz d4584664f7 s2smanager: Store port specified by SRV records 14 years ago
Matthew Wild 5a887a9e66 s2smanager: Use config over xmppserver's default interface 14 years ago
Florian Zeitz a71b403617 s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 14 years ago
Florian Zeitz 9be7bd1055 s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6 14 years ago
Paul Aurich 2fa9066d42 s2smanager: Update to newer luasec 15 years ago
Matthew Wild cc5269517d s2smanager: Fix letter case in log message (thanks darkrain) 15 years ago
Waqas Hussain 9c62d4894f s2smanager: Log reason when destroying a session. 15 years ago
Matthew Wild 6d11c941c0 s2smanager: Drop some log messages to debug level from info/warn 15 years ago
Matthew Wild e5dfde383e s2smanager: Drop some log messages to debug level from info/warn 15 years ago
Matthew Wild 215af9f197 s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul) 15 years ago
Waqas Hussain 2da3143c9d s2smanager: Don't bounce error replies for error and result stanzas. 15 years ago
Matthew Wild 84b19928a5 s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) 15 years ago
Matthew Wild ec15ee4979 s2smanager: Handle DNS lookup error in response handler 15 years ago
Matthew Wild 0f27eda0d6 s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly 15 years ago
Matthew Wild 9502dc7be9 s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) 15 years ago
Matthew Wild 4d132026d0 s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) 15 years ago
Matthew Wild 40fc886767 s2smanager: Add a missing semi-colon 15 years ago
Matthew Wild d47a1f622b s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction 15 years ago
Matthew Wild 208c7ca511 s2smanager: retire_session(): Add a 'reason' parameter 15 years ago
Matthew Wild c63e6361ad s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) 15 years ago
Matthew Wild abb088f7c4 s2smanager: send_to_host(): Return false on failure, and true otherwise 15 years ago
Matthew Wild 1688fab443 s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) 15 years ago
Matthew Wild 8bacb473e3 s2smanager: Handle DNS lookup error in response handler 15 years ago
Matthew Wild 1f94e00889 s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly 15 years ago
Matthew Wild f6844e23d7 s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) 15 years ago