Log

core/s2smanager.lua @ 6210:e9d62fff82a8

description author age
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
sessionmanager, s2smanager: Remove unused imports Matthew Wild Thu, 11 Apr 2013 17:35:39 +0100
sessionmanager, s2smanager: Remove open_session tracing Matthew Wild Mon, 08 Apr 2013 15:53:18 +0100
s2smanager: Remove unused function parameter Matthew Wild Fri, 22 Mar 2013 14:50:43 +0000
s2smanager: Access prosody.hosts instead of hosts global directly Matthew Wild Fri, 22 Mar 2013 14:50:29 +0000
s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event Matthew Wild Fri, 22 Mar 2013 14:18:23 +0000
s2smanager: Use unused local, reduce table indexing Kim Alvefur Wed, 13 Mar 2013 07:33:36 +0100
s2smanager: Generate session names used for logging the same way everywhere Kim Alvefur Thu, 24 Jan 2013 00:58:17 +0100
s2smanager: missing return on session.send function. Marco Cirillo Sun, 26 Aug 2012 22:54:10 +0000
s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set Matthew Wild Mon, 23 Jul 2012 17:35:18 +0100
Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages Matthew Wild Mon, 23 Jul 2012 17:32:33 +0100
s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash). Waqas Hussain Wed, 13 Jun 2012 11:47:04 +0500
Merge with Zash Matthew Wild Thu, 10 May 2012 23:10:56 +0100
s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s Kim Alvefur Thu, 10 May 2012 23:05:03 +0200
s2smanager: Clean up unused imports. Kim Alvefur Thu, 10 May 2012 23:01:10 +0200
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. Matthew Wild Thu, 10 May 2012 22:59:01 +0100
Merge timber->trunk - thanks everyone! Matthew Wild Tue, 24 Apr 2012 21:59:20 +0100
s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s Kim Alvefur Sun, 11 Mar 2012 19:14:28 +0100
s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, remove useless space from mod_s2s code Marco Cirillo Fri, 24 Feb 2012 18:03:27 +0000
s2smanager: remove send_to_host. Florian Zeitz Fri, 24 Feb 2012 15:15:43 +0000
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 Matthew Wild Mon, 23 Jan 2012 16:28:20 +0000
Merge 0.9->trunk Matthew Wild Fri, 09 Mar 2012 18:46:19 +0000
core.s2smanager: Log the entire stream header. Kim Alvefur Sun, 04 Mar 2012 17:38:47 +0100
Merge with 0.9 Matthew Wild Sat, 25 Feb 2012 17:21:15 +0000
core.s2smanager: Fix check_cert_status() for when the stream has no from attr Kim Alvefur Tue, 21 Feb 2012 21:13:13 +0100
s2smanager: Fix traceback when socket.tcp6 isn't available Matthew Wild Sat, 25 Feb 2012 02:03:26 +0000
Merge with 0.9 Matthew Wild Thu, 26 Jan 2012 18:48:21 +0000
s2smanager: Log the host when marking it authenticated Paul Aurich Tue, 24 Jan 2012 14:58:54 -0800
s2smanager: Fix missing import of 'type' (thanks darkrain) Matthew Wild Tue, 20 Dec 2011 17:36:38 +0000
s2smanager: Don't throw an error when the "interface" config option is a string (which it is by default). Waqas Hussain Wed, 14 Dec 2011 06:46:24 +0500
s2smanager: Remove unused reference to modulemanager Matthew Wild Tue, 13 Dec 2011 15:40:37 +0000
s2smanager: Store port specified by SRV records Florian Zeitz Wed, 07 Dec 2011 23:37:56 +0100
s2smanager: Use config over xmppserver's default interface Matthew Wild Mon, 28 Nov 2011 14:30:12 +0000
s2smanager, net.dns: Fix handling for NXNAME and SRV target of "." Florian Zeitz Wed, 26 Oct 2011 02:03:33 +0200
s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6 Florian Zeitz Sat, 22 Oct 2011 18:29:23 +0200
s2smanager: Update to newer luasec Paul Aurich Mon, 06 Dec 2010 21:46:50 -0800
s2smanager: Fix letter case in log message (thanks darkrain) Matthew Wild Sun, 05 Jun 2011 23:55:16 +0100
s2smanager: Log reason when destroying a session. Waqas Hussain Sat, 07 May 2011 21:15:13 +0500
Merge 0.8->trunk Matthew Wild Thu, 24 Feb 2011 02:04:56 +0000
s2smanager: Drop some log messages to debug level from info/warn Matthew Wild Tue, 22 Feb 2011 18:27:31 +0000
s2smanager: Drop some log messages to debug level from info/warn Matthew Wild Tue, 22 Feb 2011 18:27:31 +0000
Merge 0.8->trunk Waqas Hussain Sat, 29 Jan 2011 04:54:08 +0500
s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul) Matthew Wild Wed, 26 Jan 2011 13:23:39 +0000
Merge 0.8->trunk Matthew Wild Mon, 10 Jan 2011 16:55:14 +0000
s2smanager: Don't bounce error replies for error and result stanzas. Waqas Hussain Mon, 10 Jan 2011 21:11:06 +0500
Merge 0.8->trunk Matthew Wild Thu, 06 Jan 2011 14:46:59 +0000
s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) Matthew Wild Fri, 24 Dec 2010 04:58:09 +0000
s2smanager: Handle DNS lookup error in response handler Matthew Wild Fri, 24 Dec 2010 04:57:17 +0000
s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly Matthew Wild Fri, 24 Dec 2010 04:56:37 +0000
s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) Matthew Wild Fri, 24 Dec 2010 04:56:02 +0000
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) Matthew Wild Fri, 24 Dec 2010 04:49:30 +0000
s2smanager: Add a missing semi-colon Matthew Wild Fri, 24 Dec 2010 04:48:38 +0000
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction Matthew Wild Fri, 24 Dec 2010 04:48:18 +0000
s2smanager: retire_session(): Add a 'reason' parameter Matthew Wild Fri, 24 Dec 2010 04:47:18 +0000
s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) Matthew Wild Wed, 22 Dec 2010 20:39:30 +0000
s2smanager: send_to_host(): Return false on failure, and true otherwise Matthew Wild Wed, 22 Dec 2010 20:38:40 +0000
s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets) Matthew Wild Fri, 24 Dec 2010 04:58:09 +0000
s2smanager: Handle DNS lookup error in response handler Matthew Wild Fri, 24 Dec 2010 04:57:17 +0000
s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly Matthew Wild Fri, 24 Dec 2010 04:56:37 +0000
s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets) Matthew Wild Fri, 24 Dec 2010 04:56:02 +0000
s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session) Matthew Wild Fri, 24 Dec 2010 04:49:30 +0000
s2smanager: Add a missing semi-colon Matthew Wild Fri, 24 Dec 2010 04:48:38 +0000
s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction Matthew Wild Fri, 24 Dec 2010 04:48:18 +0000
s2smanager: retire_session(): Add a 'reason' parameter Matthew Wild Fri, 24 Dec 2010 04:47:18 +0000
s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/) Matthew Wild Wed, 22 Dec 2010 20:39:30 +0000
s2smanager: send_to_host(): Return false on failure, and true otherwise Matthew Wild Wed, 22 Dec 2010 20:38:40 +0000
core.s2smanager, mod_console, mod_saslauth, util.certverification: rename util.certverification to util.x509 Kim Alvefur Sun, 12 Dec 2010 02:03:32 +0100
s2smanager: Check for getpeercertificate availability (for old LuaSecs) Matthew Wild Sat, 27 Nov 2010 22:07:44 +0000
s2s: SASL EXTERNAL Paul Aurich Sun, 21 Nov 2010 21:10:43 -0800
s2smanager: Compatibility hack for when not using dialback Paul Aurich Sun, 21 Nov 2010 21:02:31 -0800
Monster whitespace commit (beware the whitespace monster). Waqas Hussain Sat, 16 Oct 2010 23:00:42 +0500
s2smanager: Don't fire s2sin-destroyed for sessions that were never fully established (thanks Thomas) Matthew Wild Sun, 05 Sep 2010 18:00:21 +0100
s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyed Matthew Wild Sun, 05 Sep 2010 12:13:49 +0100
s2smanager: Fire s2s{in,out}-established when new s2s connections are ready Matthew Wild Mon, 30 Aug 2010 04:37:53 +0100
sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202 Matthew Wild Sun, 22 Aug 2010 21:23:37 +0100
s2smanager: Remove dependency on eventmanager Matthew Wild Tue, 03 Aug 2010 10:57:27 +0100
s2smanager: brackets, just to be sure :) Matthew Wild Tue, 03 Aug 2010 09:40:06 +0100
s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn) Matthew Wild Tue, 03 Aug 2010 09:39:05 +0100
s2smanager: Handle disallow_s2s for incoming streams as well as outgoing Matthew Wild Fri, 16 Jul 2010 22:47:26 +0100
s2smanager: Lower default DNS timeout to 15s (it's now a per-DNS-server timeout, rather than total timeout), use net.dns's new timeout system, and remove our custom timeout handlers Matthew Wild Mon, 05 Jul 2010 12:17:09 +0100
Merge 0.7->trunk Matthew Wild Fri, 02 Jul 2010 17:44:14 +0100
s2smanager: Don't attempt to connect to a nil host (for whatever reason... invalid DNS record perhaps?) (thanks dersd) Matthew Wild Fri, 02 Jul 2010 17:22:23 +0100
s2smanager: Register outgoing connection with the connection listener only after initializing filters (thanks darkrain, dersd) Matthew Wild Fri, 02 Jul 2010 17:43:01 +0100
s2smanager: Fix logging for outgoing sessions to also log pre-filtered data Matthew Wild Sun, 13 Jun 2010 17:17:11 +0100
s2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas Matthew Wild Thu, 10 Jun 2010 02:07:48 +0100
Merge 0.7->trunk Matthew Wild Thu, 03 Jun 2010 12:29:27 +0100
s2smanager: Remove potentially misleading log message (thanks albert) Matthew Wild Thu, 03 Jun 2010 12:28:27 +0100
s2smanager: Add filters for outgoing bytes and stanzas Matthew Wild Wed, 02 Jun 2010 18:23:15 +0100
Merge 0.6->0.7 Matthew Wild Tue, 30 Mar 2010 19:45:56 +0100
stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted Matthew Wild Tue, 30 Mar 2010 19:40:16 +0100
Merge 0.6->0.7 Matthew Wild Mon, 22 Mar 2010 17:24:55 +0000
Update copyright headers for 2010 Matthew Wild Mon, 22 Mar 2010 17:06:15 +0000
sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo) Matthew Wild Mon, 22 Mar 2010 14:58:25 +0000
Merge 0.6->0.7 Matthew Wild Thu, 18 Mar 2010 01:25:50 +0000
s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful) Matthew Wild Thu, 18 Mar 2010 01:15:25 +0000
Merge 0.6.2/waqas with 0.6.2/MattJ Matthew Wild Wed, 03 Mar 2010 22:05:05 +0000
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild Fri, 12 Feb 2010 17:27:53 +0000
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild Fri, 12 Feb 2010 17:14:54 +0000
s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) Matthew Wild Fri, 19 Feb 2010 03:30:27 +0000
s2smanager: Fix syntax error) Matthew Wild Sat, 30 Jan 2010 18:45:46 +0000
s2smanager: require_s2s_encryption -> s2s_require_encryption Matthew Wild Sat, 30 Jan 2010 17:00:47 +0000
s2smanager: Make require_s2s_encryption do what it says on the tin Matthew Wild Sat, 30 Jan 2010 16:42:27 +0000
s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy. Paul Aurich Sun, 03 Jan 2010 11:26:36 -0800
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails Matthew Wild Thu, 17 Dec 2009 21:50:02 +0000
s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas Matthew Wild Thu, 17 Dec 2009 18:59:29 +0000
s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) ) Matthew Wild Thu, 17 Dec 2009 21:36:31 +0000
s2smanager: Don't tostring() the data before sending, sends2s already does this. Matthew Wild Sat, 21 Nov 2009 13:47:45 +0000
s2smanager: Don't re-destroy destroyed sessions Matthew Wild Sun, 14 Mar 2010 02:57:22 +0000
s2smanager: Add open_stream and close methods to resting sessions Matthew Wild Sun, 14 Mar 2010 02:56:57 +0000
sessionmanager, s2smanager: Close session on </stream:stream> Matthew Wild Thu, 11 Mar 2010 01:04:19 +0000
sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks Matthew Wild Mon, 08 Mar 2010 02:13:41 +0000
Merge with 0.6 Matthew Wild Thu, 25 Feb 2010 18:03:15 +0000
s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault) Matthew Wild Thu, 25 Feb 2010 17:53:27 +0000
s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain) Matthew Wild Thu, 25 Feb 2010 17:52:33 +0000
s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo) Matthew Wild Fri, 19 Feb 2010 03:30:27 +0000
sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan) Matthew Wild Fri, 12 Feb 2010 17:27:53 +0000
sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session Matthew Wild Fri, 12 Feb 2010 17:14:54 +0000
s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency. Waqas Hussain Fri, 12 Feb 2010 04:30:17 +0500
s2smanager: Update for new server SSL API (don't pass a sslctx) Matthew Wild Sun, 31 Jan 2010 15:41:33 +0000
s2smanager: Fix syntax error) Matthew Wild Sat, 30 Jan 2010 18:45:46 +0000