aboutsummaryrefslogtreecommitdiffstats
path: root/core/s2smanager.lua
Commit message (Collapse)AuthorAgeFilesLines
* s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move ↵Matthew Wild2013-03-221-73/+2
| | | | s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event
* s2smanager: Use unused local, reduce table indexingKim Alvefur2013-03-131-5/+5
|
* s2smanager: Generate session names used for logging the same way everywhereKim Alvefur2013-01-241-1/+1
|
* s2smanager: missing return on session.send function.Marco Cirillo2012-08-261-1/+1
|
* s2smanager: Remove logging of (unknown) in a case where from_host and ↵Matthew Wild2012-07-231-1/+1
| | | | to_host should always be set
* Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-2/+2
| | | | removing all cases of concatenation when building log messages
* s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks ↵Waqas Hussain2012-06-131-1/+1
| | | | for the testing Zash).
* Merge with ZashMatthew Wild2012-05-101-27/+2
|\
| * s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2sKim Alvefur2012-05-101-5/+0
| |
| * s2smanager: Clean up unused imports.Kim Alvefur2012-05-101-22/+2
| |
* | mod_s2s, s2smanager, mod_dialback: Move addition of session.send() on s2sin ↵Matthew Wild2012-05-101-2/+7
|/ | | | 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.
* Merge timber->trunk - thanks everyone!Matthew Wild2012-04-241-580/+13
|\
| * s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2sKim Alvefur2012-03-111-1/+0
| |
| * s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, ↵Marco Cirillo2012-02-241-0/+1
| | | | | | | | remove useless space from mod_s2s code
| * s2smanager: remove send_to_host.Florian Zeitz2012-02-241-4/+1
| |
| * s2smanager, mod_s2s, mod_s2s/s2sout: Split connection handling out of ↵Matthew Wild2012-01-231-570/+11
| | | | | | | | s2smanager into mod_s2s, and further split connection logic for s2sout to a module lib, s2sout.lib.lua
* | Merge 0.9->trunkMatthew Wild2012-03-091-1/+1
|\ \
| * | core.s2smanager: Log the entire stream header.Kim Alvefur2012-03-041-1/+1
| | |
* | | Merge with 0.9Matthew Wild2012-02-251-1/+6
|\| |
| * | core.s2smanager: Fix check_cert_status() for when the stream has no from attrKim Alvefur2012-02-211-1/+6
| | |
* | | s2smanager: Fix traceback when socket.tcp6 isn't availableMatthew Wild2012-02-251-1/+1
| | |
* | | Merge with 0.9Matthew Wild2012-01-261-1/+1
|\| | | |/ |/|
| * s2smanager: Log the host when marking it authenticatedPaul Aurich2012-01-241-1/+1
| |
* | s2smanager: Fix missing import of 'type' (thanks darkrain)Matthew Wild2011-12-201-2/+2
| |
* | s2smanager: Don't throw an error when the "interface" config option is a ↵Waqas Hussain2011-12-141-0/+3
| | | | | | | | string (which it is by default).
* | s2smanager: Remove unused reference to modulemanagerMatthew Wild2011-12-131-1/+0
| |
* | s2smanager: Store port specified by SRV recordsFlorian Zeitz2011-12-071-5/+11
| |
* | s2smanager: Use config over xmppserver's default interfaceMatthew Wild2011-11-281-1/+1
| |
* | s2smanager, net.dns: Fix handling for NXNAME and SRV target of "."Florian Zeitz2011-10-261-6/+31
| |
* | s2smanager, xmppserver_listener: Support for connecting to other servers via ↵Florian Zeitz2011-10-221-37/+106
|/ | | | IPv6
* s2smanager: Update to newer luasecPaul Aurich2010-12-061-2/+4
|
* s2smanager: Fix letter case in log message (thanks darkrain)Matthew Wild2011-06-051-1/+1
|
* s2smanager: Log reason when destroying a session.Waqas Hussain2011-05-071-1/+1
|
* s2smanager: Drop some log messages to debug level from info/warnMatthew Wild2011-02-221-2/+2
|
* Merge 0.8->trunkWaqas Hussain2011-01-291-1/+2
|\
| * s2smanager: Change 'Connection failed' error message text to ↵Matthew Wild2011-01-261-1/+2
| | | | | | | | 'Server-to-server connection failed' (thanks Paul)
* | Merge 0.8->trunkMatthew Wild2011-01-101-5/+4
|\|
| * s2smanager: Don't bounce error replies for error and result stanzas.Waqas Hussain2011-01-101-5/+4
| |
| * s2smanager: Destroy session on immediate failure of a connection attempt ↵Matthew Wild2010-12-241-1/+7
| | | | | | | | (e.g. inability to create sockets)
| * s2smanager: Handle DNS lookup error in response handlerMatthew Wild2010-12-241-2/+3
| |
| * s2smanager: send_to_host(): Handle already-destroyed session and bounce ↵Matthew Wild2010-12-241-1/+4
| | | | | | | | stanza accordingly
| * s2smanager: new_outgoing(): Destroy session if first connection attempt ↵Matthew Wild2010-12-241-1/+5
| | | | | | | | fails immediately (e.g. can't create sockets)
| * s2smanager: Give all new outgoing s2s sessions a close method by default ↵Matthew Wild2010-12-241-0/+2
| | | | | | | | (destroy_session)
| * s2smanager: Add a missing semi-colonMatthew Wild2010-12-241-1/+1
| |
| * s2smanager: destroy_session(): Pass reason to retire_session() and return ↵Matthew Wild2010-12-241-1/+2
| | | | | | | | true on successful destruction
| * s2smanager: retire_session(): Add a 'reason' parameterMatthew Wild2010-12-241-1/+3
| |
| * s2smanager: session.send(): Return the result of send_to_host() (and ↵Matthew Wild2010-12-221-1/+1
| | | | | | | | incidentally make this a tail call \o/)
| * s2smanager: send_to_host(): Return false on failure, and true otherwiseMatthew Wild2010-12-221-0/+3
| |
* | s2smanager: Destroy session on immediate failure of a connection attempt ↵Matthew Wild2010-12-241-1/+7
| | | | | | | | (e.g. inability to create sockets)
* | s2smanager: Handle DNS lookup error in response handlerMatthew Wild2010-12-241-2/+3
| |