aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug'Matthew Wild2012-07-231-3/+3
|
* Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-1/+1
| | | | removing all cases of concatenation when building log messages
* mod_s2s: Adjust session:close() in line with mod_c2s's - fixes waiting for ↵Matthew Wild2012-07-231-6/+6
| | | | </stream:stream> if it has already been sent by the peer
* mod_s2s/s2sout.lib: Use %s to insert strings into log messages instead of ↵Matthew Wild2012-07-231-3/+3
| | | | concatenation
* mod_s2s: Don't call ondisconnect manually, don't call conn:close() 3 times ↵Matthew Wild2012-07-221-19/+29
| | | | (!) and merge its logic and streamdisconnected into session_close - including now waiting for a reply </stream:stream> if there is the chance of further stanzas requiring delivery arriving. session.sends2s() on a half-closed stream returns false.
* mod_s2s: Don't treat a stanza as delivered if session.sends2s() returns falseMatthew Wild2012-07-221-3/+4
|
* mod_s2s: Make unauthed session timeout a little more aggressive... otherwise ↵Matthew Wild2012-07-221-4/+2
| | | | it's possible for sessions to slip under the net and never get killed off
* mod_s2s/s2sout.lib: Fix indentationMatthew Wild2012-07-221-60/+60
|
* mod_s2s/s2sout.lib: Don't wait for both v4 and v6 DNS responses if we only ↵Matthew Wild2012-07-221-8/+7
| | | | send one (e.g. because v6 is disabled)
* mod_s2s: Remove check for socket.tcp6()Kim Alvefur2012-05-291-4/+0
|
* mod_s2s: Only do AAAA lookup if IPv6 is available, and A if IPv4 is available.Kim Alvefur2012-05-291-1/+17
|
* mod_s2s, s2sout.lib: Send stream header in onconnect()Matthew Wild2012-05-242-4/+5
|
* mod_s2s: Only try next target if the stream didn't openMatthew Wild2012-05-131-1/+1
|
* mod_s2s: Remove TODO comment for SASL/TLS on s2s (thanks Florob)Matthew Wild2012-05-111-1/+0
|
* mod_s2s, mod_auth_anonymous, hostmanager: Remove disallow_s2s flag, ↵Matthew Wild2012-05-111-2/+3
| | | | deprecate the config option of the same name (disable mod_s2s instead), and add 'allow_anonymous_s2s' to separately control s2s for anonymous users
* Merge with ZashMatthew Wild2012-05-101-0/+2
|\
| * s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2sKim Alvefur2012-05-101-0/+2
| |
* | mod_s2s, s2smanager, mod_dialback: Move addition of session.send() on s2sin ↵Matthew Wild2012-05-101-5/+0
|/ | | | 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.
* mod_s2s: Cache to_host and from_host in local variables, and use these ↵Matthew Wild2012-05-041-10/+13
| | | | instead of repeated lookups
* mod_s2s: Add session.send() only to incoming streams, and fire the ↵Matthew Wild2012-05-041-1/+5
| | | | route/remote event on the host (not global anymore)
* mod_s2s: Become a shared module (yay)Matthew Wild2012-05-041-4/+14
|
* Rename plugins/s2s/ to plugins/mod_s2s/Matthew Wild2012-05-042-0/+838