Commit Graph

254 Commits (b7ed261e7dfd367f3bc5a8bef654b91ba74feb97)

Author SHA1 Message Date
Kim Alvefur baf8af6d14 s2smanager: Make sure destroyed sessions have a sends2s method 11 years ago
Matthew Wild 09a18297ad sessionmanager, s2smanager: Remove unused imports 13 years ago
Matthew Wild 752df97c84 sessionmanager, s2smanager: Remove open_session tracing 13 years ago
Matthew Wild 923d1aa1bd s2smanager: Remove unused function parameter 13 years ago
Matthew Wild 81bfc7ac9f s2smanager: Access prosody.hosts instead of hosts global directly 13 years ago
Matthew Wild f068e80993 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 7a17622969 s2smanager: Use unused local, reduce table indexing 13 years ago
Kim Alvefur 1b79eabc8a s2smanager: Generate session names used for logging the same way everywhere 13 years ago
Marco Cirillo c6ddf7f4ee s2smanager: missing return on session.send function. 14 years ago
Matthew Wild 9515476107 s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set 14 years ago
Matthew Wild e808645b53 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 3d2e69a97e s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash). 14 years ago
Matthew Wild b47f264e2a 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 f0e489b591 s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s 14 years ago
Kim Alvefur 20408ce29b s2smanager: Clean up unused imports. 14 years ago
Kim Alvefur 9ed71a359e s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s 14 years ago
Kim Alvefur 98c7250a06 core.s2smanager: Log the entire stream header. 14 years ago
Matthew Wild d9b9c623c4 s2smanager: Fix traceback when socket.tcp6 isn't available 14 years ago
Marco Cirillo bbc4c94fc2 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 0c2a6fec14 s2smanager: remove send_to_host. 14 years ago
Kim Alvefur 972ed38d12 core.s2smanager: Fix check_cert_status() for when the stream has no from attr 14 years ago
Paul Aurich 52e7f9dcbd s2smanager: Log the host when marking it authenticated 14 years ago
Matthew Wild 68bf2a3956 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 2ffa0eecf3 s2smanager: Fix missing import of 'type' (thanks darkrain) 14 years ago
Waqas Hussain 8770e9aedc s2smanager: Don't throw an error when the "interface" config option is a string (which it is by default). 14 years ago
Matthew Wild 347fce20ef s2smanager: Remove unused reference to modulemanager 14 years ago
Florian Zeitz daa22a11f7 s2smanager: Store port specified by SRV records 14 years ago
Matthew Wild 05214cebac s2smanager: Use config over xmppserver's default interface 14 years ago
Florian Zeitz 8d5ffd8d1a s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." 14 years ago
Florian Zeitz 9c0e66e2d3 s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6 14 years ago
Paul Aurich 722b1b2a3d s2smanager: Update to newer luasec 15 years ago
Matthew Wild 7fd9641a7d s2smanager: Fix letter case in log message (thanks darkrain) 15 years ago
Waqas Hussain 3201a6103a s2smanager: Log reason when destroying a session. 15 years ago
Matthew Wild ff0bd69ec2 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