Log

core/s2smanager.lua @ 4127:f80b7a92da67

description author age
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
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: Whitespace Matthew Wild Thu, 28 Jan 2010 13:39:23 +0000
s2smanager: Log error and fail gracefully if we can't open a socket for an outgoing s2s connection (thanks foucault) Matthew Wild Tue, 19 Jan 2010 19:58:02 +0000
s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :) Matthew Wild Tue, 19 Jan 2010 04:35:10 +0000
s2smanager: Split sending of stream header into a :open_stream() method Matthew Wild Sat, 09 Jan 2010 06:53:23 +0000
s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false) Matthew Wild Mon, 04 Jan 2010 17:32:26 +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, hostmanager: Make dialback secrets per-host Matthew Wild Sun, 03 Jan 2010 18:55:42 +0000
s2smanager: Trim trailing whitespace Matthew Wild Sun, 03 Jan 2010 18:37:03 +0000
s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails Matthew Wild Thu, 17 Dec 2009 21:50:02 +0000
Merge with backout branch Matthew Wild Thu, 17 Dec 2009 21:38:16 +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
Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :) Matthew Wild Thu, 17 Dec 2009 21:33:35 +0000
s2smanager: More whitespace Matthew Wild Thu, 17 Dec 2009 21:18:02 +0000
s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server) Matthew Wild Thu, 17 Dec 2009 21:17:47 +0000
s2smanager: Whitespace Matthew Wild Thu, 17 Dec 2009 21:14:44 +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: Allow configuration of the dialback_secret in the config Matthew Wild Thu, 26 Nov 2009 17:17:54 +0000
Merge with 0.6 Matthew Wild Wed, 25 Nov 2009 03:30:41 +0000
s2smanager: Log warning when trying to send a stanza from a host we don't serve, instead of a traceback (thanks stpeter) Matthew Wild Wed, 25 Nov 2009 03:30:00 +0000
s2smanager: Fix syntax error introduced in merge Matthew Wild Sun, 22 Nov 2009 04:53:02 +0000
Merge with trunk Matthew Wild Sun, 22 Nov 2009 04:50:42 +0000
s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons) Matthew Wild Sun, 22 Nov 2009 04:42:03 +0000
s2smanager: Don't log full stanza when sending outwards Matthew Wild Sat, 21 Nov 2009 13:49:48 +0000
s2smanager: Don't tostring() the data before sending, sends2s already does this. Matthew Wild Sat, 21 Nov 2009 13:47:45 +0000
s2smanager: Fail outgoing s2s connection if hostname does not pass idna_to_ascii(), thanks Flo + waqas Matthew Wild Fri, 20 Nov 2009 15:07:39 +0000
s2smanager: Queue db:verify unless we already sent a db:result (if we had then it can could a dialback deadlock). Also remove some redundant code which could cause a db:result to be sent while still negotiating features (e.g. TLS) and break things. Collectively these fix a 'random' s2s failure (usually with ejabberd for some reason) - resulting in an 'unbound prefix' XML error, or 'ssl handshake failure'. Was this commit message long enough? I think so. Matthew Wild Fri, 20 Nov 2009 04:39:54 +0000
s2smanager: Use session-specific logger to log outgoing data on outgoing s2s connections Matthew Wild Sun, 18 Oct 2009 16:16:27 +0100
s2smanager: Add incoming_s2s to the prosody object Matthew Wild Sat, 17 Oct 2009 15:25:30 +0100
s2smanager: Fix access of 'config' global without requiring configmanager Matthew Wild Fri, 16 Oct 2009 22:19:20 +0100
s2smanager: Make s2s-stream-features a per-host event Matthew Wild Thu, 08 Oct 2009 23:40:54 +0100
s2smanager: Don't send version=1.0 in reply to incoming stream tag if they didn't advertise 1.0 (makes happy some old ejabberd versions) Matthew Wild Tue, 06 Oct 2009 15:02:16 +0100
s2smanager: Improve log message on missing to/from in stream header Matthew Wild Tue, 06 Oct 2009 11:02:33 +0100
s2smanager: Mark session as secure if it was negotiating TLS and opens a new stream Matthew Wild Mon, 05 Oct 2009 14:50:27 +0100
Specify XMPP version on response stream to incoming s2s connection. Paul Aurich Sat, 03 Oct 2009 23:23:00 -0700
Minor changes; outgoing TLS works. Paul Aurich Sat, 03 Oct 2009 19:20:20 -0700
s2smanager: Small comment Matthew Wild Sun, 04 Oct 2009 16:40:24 +0100
s2smanager: Don't wait for stream:features from non-XMPP-1.0 hosts Matthew Wild Sun, 04 Oct 2009 16:39:57 +0100
s2smanager: Send stream:features for incoming s2s connections which support XMPP 1.0 Matthew Wild Sun, 04 Oct 2009 16:38:33 +0100
s2smanager: Give outgoing sessions a host field (the local one) Matthew Wild Sun, 04 Oct 2009 16:34:17 +0100
Merge with 0.5 Matthew Wild Sun, 27 Sep 2009 12:26:51 +0100