log core/s2smanager.lua @ 14229:ce31fdde0ad1 default tip

age author description
Thu, 16 Oct 2025 18:29:03 +0100 Matthew Wild mod_s2s, s2smanager: Experimental s2s_block_immediate_retries option
Fri, 17 Mar 2023 16:23:07 +0100 Kim Alvefur core: Prefix module imports with prosody namespace
Mon, 27 Jun 2022 01:22:36 +0200 Kim Alvefur core.s2smanager: Don't remove unrelated session on close of bidi session 0.12
Fri, 12 Nov 2021 13:30:39 +0000 Matthew Wild s2smanager: Fire s2s-destroyed event to mirror s2s-created
Wed, 03 Mar 2021 13:30:19 +0100 Kim Alvefur core.s2smanager: Set "direction" on destroyed sessions (fixes #1641)
Sat, 23 Nov 2019 01:29:03 +0100 Kim Alvefur s2s: Allow passing a custom error for bouncing queued stanzas (#770)
Sat, 05 Oct 2019 17:09:24 +0200 Kim Alvefur core.s2smanager: Fix traceback due to mixup with to/from
Sat, 05 Oct 2019 16:21:41 +0200 Kim Alvefur core.s2smanager: Remove bidi-enabled s2sin from outgoing routing table
Sat, 07 Sep 2019 17:32:55 +0200 Kim Alvefur core.s2smanager: Add map of names authenticate for remote on s2sout for parity with s2sin
Sat, 07 Sep 2019 17:31:26 +0200 Kim Alvefur core.s2smanager: Add [direction] boolean flags to s2s connections
Tue, 30 Jul 2019 02:14:50 +0200 Kim Alvefur core.s2smanager: Rewrite log line to use formatting instead of concatenation
Mon, 29 Jul 2019 23:15:30 +0200 Kim Alvefur core.s2smanager: Remove use of tostring in logging
Sat, 30 Mar 2019 09:04:33 +0100 Kim Alvefur core.s2smanager: Fix previous commit (Thanks Martin)
Fri, 29 Mar 2019 22:40:53 +0100 Kim Alvefur core.s2smanager: Use util.session to create sessions
Fri, 29 Mar 2019 22:37:12 +0100 Kim Alvefur core.s2smanager: Spread out session tables over multiple lines
Fri, 29 Mar 2019 22:45:54 +0100 Kim Alvefur core.s2smanager: Rename variable to be same in two functions
Wed, 16 Jan 2019 20:01:38 +0100 Kim Alvefur core.s2smanager: Add stub reset_stream method to destroyed sessions
Fri, 23 Mar 2018 13:14:05 +0100 Kim Alvefur s2smanager: Explicitly export the incoming_s2s table [luacheck]
Wed, 28 Feb 2018 20:06:26 +0100 Kim Alvefur vairious: Add annotation when an empty environment is set [luacheck]
Mon, 06 Mar 2017 01:14:32 +0100 Kim Alvefur Merge 0.10->trunk
Sat, 04 Mar 2017 17:49:48 +0100 Kim Alvefur core: Split some very long lines [luacheck]
Thu, 09 Jun 2016 14:04:50 +0200 Kim Alvefur s2smanager: Include a stub thread on destroyed sessions (thanks Link Mauve)
Sat, 21 Feb 2015 10:42:19 +0100 Kim Alvefur core.*: Remove use of module() function
Thu, 14 May 2015 00:22:56 +0200 Kim Alvefur Merge 0.9->0.10
Thu, 14 May 2015 00:22:13 +0200 Kim Alvefur s2smanager: Make sure destroyed sessions have a sends2s method
Wed, 06 May 2015 19:20:07 +0100 Matthew Wild portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, usermanager, util.xml: Add luacheck annotations
Fri, 09 Aug 2013 17:48:21 +0200 Florian Zeitz Remove all trailing whitespace
Thu, 11 Apr 2013 17:35:39 +0100 Matthew Wild sessionmanager, s2smanager: Remove unused imports
Mon, 08 Apr 2013 15:53:18 +0100 Matthew Wild sessionmanager, s2smanager: Remove open_session tracing
Fri, 22 Mar 2013 14:50:43 +0000 Matthew Wild s2smanager: Remove unused function parameter
Fri, 22 Mar 2013 14:50:29 +0000 Matthew Wild s2smanager: Access prosody.hosts instead of hosts global directly
Fri, 22 Mar 2013 14:18:23 +0000 Matthew Wild s2smanager, mod_s2s, mod_dialback, mod_saslauth: Move s2smanager.make_authenticated() to mod_s2s, and plugins now signal authentication via the s2s-authenticated event
Wed, 13 Mar 2013 07:33:36 +0100 Kim Alvefur s2smanager: Use unused local, reduce table indexing
Thu, 24 Jan 2013 00:58:17 +0100 Kim Alvefur s2smanager: Generate session names used for logging the same way everywhere
Sun, 26 Aug 2012 22:54:10 +0000 Marco Cirillo s2smanager: missing return on session.send function.
Mon, 23 Jul 2012 17:35:18 +0100 Matthew Wild s2smanager: Remove logging of (unknown) in a case where from_host and to_host should always be set
Mon, 23 Jul 2012 17:32:33 +0100 Matthew Wild Hopefully inert commit to clean up logging across a number of modules, removing all cases of concatenation when building log messages
Wed, 13 Jun 2012 11:47:04 +0500 Waqas Hussain s2smanager: Fix a traceback when we close a s2s connection ourselves (thanks for the testing Zash).
Thu, 10 May 2012 23:10:56 +0100 Matthew Wild Merge with Zash
Thu, 10 May 2012 23:05:03 +0200 Kim Alvefur s2smanager, mod_s2s: Move checking DNS timeout option to mod_s2s
Thu, 10 May 2012 23:01:10 +0200 Kim Alvefur s2smanager: Clean up unused imports.
Thu, 10 May 2012 22:59:01 +0100 Matthew Wild 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.
Tue, 24 Apr 2012 21:59:20 +0100 Matthew Wild Merge timber->trunk - thanks everyone!
Sun, 11 Mar 2012 19:14:28 +0100 Kim Alvefur s2smanager, mod_s2s: Move import of dns_max_depth to mod_s2s
Fri, 24 Feb 2012 18:03:27 +0000 Marco Cirillo s2smanager, mod_s2s: clear up ip_hosts after s2s is marked as established, remove useless space from mod_s2s code
Fri, 24 Feb 2012 15:15:43 +0000 Florian Zeitz s2smanager: remove send_to_host.
Mon, 23 Jan 2012 16:28:20 +0000 Matthew Wild 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
Fri, 09 Mar 2012 18:46:19 +0000 Matthew Wild Merge 0.9->trunk
Sun, 04 Mar 2012 17:38:47 +0100 Kim Alvefur core.s2smanager: Log the entire stream header.
Sat, 25 Feb 2012 17:21:15 +0000 Matthew Wild Merge with 0.9
Tue, 21 Feb 2012 21:13:13 +0100 Kim Alvefur core.s2smanager: Fix check_cert_status() for when the stream has no from attr
Sat, 25 Feb 2012 02:03:26 +0000 Matthew Wild s2smanager: Fix traceback when socket.tcp6 isn't available
Thu, 26 Jan 2012 18:48:21 +0000 Matthew Wild Merge with 0.9
Tue, 24 Jan 2012 14:58:54 -0800 Paul Aurich s2smanager: Log the host when marking it authenticated
Tue, 20 Dec 2011 17:36:38 +0000 Matthew Wild s2smanager: Fix missing import of 'type' (thanks darkrain)
Wed, 14 Dec 2011 06:46:24 +0500 Waqas Hussain s2smanager: Don't throw an error when the "interface" config option is a string (which it is by default).
Tue, 13 Dec 2011 15:40:37 +0000 Matthew Wild s2smanager: Remove unused reference to modulemanager
Wed, 07 Dec 2011 23:37:56 +0100 Florian Zeitz s2smanager: Store port specified by SRV records
Mon, 28 Nov 2011 14:30:12 +0000 Matthew Wild s2smanager: Use config over xmppserver's default interface
Wed, 26 Oct 2011 02:03:33 +0200 Florian Zeitz s2smanager, net.dns: Fix handling for NXNAME and SRV target of "."
Sat, 22 Oct 2011 18:29:23 +0200 Florian Zeitz s2smanager, xmppserver_listener: Support for connecting to other servers via IPv6
Mon, 06 Dec 2010 21:46:50 -0800 Paul Aurich s2smanager: Update to newer luasec
Sun, 05 Jun 2011 23:55:16 +0100 Matthew Wild s2smanager: Fix letter case in log message (thanks darkrain)
Sat, 07 May 2011 21:15:13 +0500 Waqas Hussain s2smanager: Log reason when destroying a session.
Thu, 24 Feb 2011 02:04:56 +0000 Matthew Wild Merge 0.8->trunk
Tue, 22 Feb 2011 18:27:31 +0000 Matthew Wild s2smanager: Drop some log messages to debug level from info/warn
Tue, 22 Feb 2011 18:27:31 +0000 Matthew Wild s2smanager: Drop some log messages to debug level from info/warn
Sat, 29 Jan 2011 04:54:08 +0500 Waqas Hussain Merge 0.8->trunk
Wed, 26 Jan 2011 13:23:39 +0000 Matthew Wild s2smanager: Change 'Connection failed' error message text to 'Server-to-server connection failed' (thanks Paul)
Mon, 10 Jan 2011 16:55:14 +0000 Matthew Wild Merge 0.8->trunk
Mon, 10 Jan 2011 21:11:06 +0500 Waqas Hussain s2smanager: Don't bounce error replies for error and result stanzas.
Thu, 06 Jan 2011 14:46:59 +0000 Matthew Wild Merge 0.8->trunk
Fri, 24 Dec 2010 04:58:09 +0000 Matthew Wild s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets)
Fri, 24 Dec 2010 04:57:17 +0000 Matthew Wild s2smanager: Handle DNS lookup error in response handler
Fri, 24 Dec 2010 04:56:37 +0000 Matthew Wild s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly
Fri, 24 Dec 2010 04:56:02 +0000 Matthew Wild s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets)
Fri, 24 Dec 2010 04:49:30 +0000 Matthew Wild s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session)
Fri, 24 Dec 2010 04:48:38 +0000 Matthew Wild s2smanager: Add a missing semi-colon
Fri, 24 Dec 2010 04:48:18 +0000 Matthew Wild s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
Fri, 24 Dec 2010 04:47:18 +0000 Matthew Wild s2smanager: retire_session(): Add a 'reason' parameter
Wed, 22 Dec 2010 20:39:30 +0000 Matthew Wild s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/)
Wed, 22 Dec 2010 20:38:40 +0000 Matthew Wild s2smanager: send_to_host(): Return false on failure, and true otherwise
Fri, 24 Dec 2010 04:58:09 +0000 Matthew Wild s2smanager: Destroy session on immediate failure of a connection attempt (e.g. inability to create sockets)
Fri, 24 Dec 2010 04:57:17 +0000 Matthew Wild s2smanager: Handle DNS lookup error in response handler
Fri, 24 Dec 2010 04:56:37 +0000 Matthew Wild s2smanager: send_to_host(): Handle already-destroyed session and bounce stanza accordingly
Fri, 24 Dec 2010 04:56:02 +0000 Matthew Wild s2smanager: new_outgoing(): Destroy session if first connection attempt fails immediately (e.g. can't create sockets)
Fri, 24 Dec 2010 04:49:30 +0000 Matthew Wild s2smanager: Give all new outgoing s2s sessions a close method by default (destroy_session)
Fri, 24 Dec 2010 04:48:38 +0000 Matthew Wild s2smanager: Add a missing semi-colon
Fri, 24 Dec 2010 04:48:18 +0000 Matthew Wild s2smanager: destroy_session(): Pass reason to retire_session() and return true on successful destruction
Fri, 24 Dec 2010 04:47:18 +0000 Matthew Wild s2smanager: retire_session(): Add a 'reason' parameter
Wed, 22 Dec 2010 20:39:30 +0000 Matthew Wild s2smanager: session.send(): Return the result of send_to_host() (and incidentally make this a tail call \o/)
Wed, 22 Dec 2010 20:38:40 +0000 Matthew Wild s2smanager: send_to_host(): Return false on failure, and true otherwise
Sun, 12 Dec 2010 02:03:32 +0100 Kim Alvefur core.s2smanager, mod_console, mod_saslauth, util.certverification: rename util.certverification to util.x509
Sat, 27 Nov 2010 22:07:44 +0000 Matthew Wild s2smanager: Check for getpeercertificate availability (for old LuaSecs)
Sun, 21 Nov 2010 21:10:43 -0800 Paul Aurich s2s: SASL EXTERNAL
Sun, 21 Nov 2010 21:02:31 -0800 Paul Aurich s2smanager: Compatibility hack for when not using dialback
Sat, 16 Oct 2010 23:00:42 +0500 Waqas Hussain Monster whitespace commit (beware the whitespace monster).
Sun, 05 Sep 2010 18:00:21 +0100 Matthew Wild s2smanager: Don't fire s2sin-destroyed for sessions that were never fully established (thanks Thomas)
Sun, 05 Sep 2010 12:13:49 +0100 Matthew Wild s2smanager: Fire s2s{in,out}-destroyed when s2s connections are destroyed
Mon, 30 Aug 2010 04:37:53 +0100 Matthew Wild s2smanager: Fire s2s{in,out}-established when new s2s connections are ready
Sun, 22 Aug 2010 21:23:37 +0100 Matthew Wild sessionmanager, s2smanager: Give resting sessions a pass-through filter, fixes #202
Tue, 03 Aug 2010 10:57:27 +0100 Matthew Wild s2smanager: Remove dependency on eventmanager
Tue, 03 Aug 2010 09:40:06 +0100 Matthew Wild s2smanager: brackets, just to be sure :)
Tue, 03 Aug 2010 09:39:05 +0100 Matthew Wild s2smanager: Only bounce real stanzas on s2s failure, not dialback and friends (thanks elghinn)
Fri, 16 Jul 2010 22:47:26 +0100 Matthew Wild s2smanager: Handle disallow_s2s for incoming streams as well as outgoing
Mon, 05 Jul 2010 12:17:09 +0100 Matthew Wild 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
Fri, 02 Jul 2010 17:44:14 +0100 Matthew Wild Merge 0.7->trunk
Fri, 02 Jul 2010 17:22:23 +0100 Matthew Wild s2smanager: Don't attempt to connect to a nil host (for whatever reason... invalid DNS record perhaps?) (thanks dersd)
Fri, 02 Jul 2010 17:43:01 +0100 Matthew Wild s2smanager: Register outgoing connection with the connection listener only after initializing filters (thanks darkrain, dersd)
Sun, 13 Jun 2010 17:17:11 +0100 Matthew Wild s2smanager: Fix logging for outgoing sessions to also log pre-filtered data
Thu, 10 Jun 2010 02:07:48 +0100 Matthew Wild s2smanager: Move 'sending' debug log message so that it sees the pre-filtered stanzas
Thu, 03 Jun 2010 12:29:27 +0100 Matthew Wild Merge 0.7->trunk
Thu, 03 Jun 2010 12:28:27 +0100 Matthew Wild s2smanager: Remove potentially misleading log message (thanks albert)
Wed, 02 Jun 2010 18:23:15 +0100 Matthew Wild s2smanager: Add filters for outgoing bytes and stanzas
Tue, 30 Mar 2010 19:45:56 +0100 Matthew Wild Merge 0.6->0.7
Tue, 30 Mar 2010 19:40:16 +0100 Matthew Wild stanza_router, s2smanager, modulemanager: Fix for handling of the default namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
Mon, 22 Mar 2010 17:24:55 +0000 Matthew Wild Merge 0.6->0.7
Mon, 22 Mar 2010 17:06:15 +0000 Matthew Wild Update copyright headers for 2010
Mon, 22 Mar 2010 14:58:25 +0000 Matthew Wild sessionmanager, s2smanager: Add type of ?2s_destroyed to resting sessions (fixes a logging traceback, thanks Flo)
Thu, 18 Mar 2010 01:25:50 +0000 Matthew Wild Merge 0.6->0.7
Thu, 18 Mar 2010 01:15:25 +0000 Matthew Wild s2smanager: Remove the infamous 'as per RFC' log message entirely (it happens too often to be useful)
Wed, 03 Mar 2010 22:05:05 +0000 Matthew Wild Merge 0.6.2/waqas with 0.6.2/MattJ
Fri, 12 Feb 2010 17:27:53 +0000 Matthew Wild sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
Fri, 12 Feb 2010 17:14:54 +0000 Matthew Wild sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session
Fri, 19 Feb 2010 03:30:27 +0000 Matthew Wild s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo)
Sat, 30 Jan 2010 18:45:46 +0000 Matthew Wild s2smanager: Fix syntax error)
Sat, 30 Jan 2010 17:00:47 +0000 Matthew Wild s2smanager: require_s2s_encryption -> s2s_require_encryption
Sat, 30 Jan 2010 16:42:27 +0000 Matthew Wild s2smanager: Make require_s2s_encryption do what it says on the tin
Sun, 03 Jan 2010 11:26:36 -0800 Paul Aurich s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy.
Thu, 17 Dec 2009 21:50:02 +0000 Matthew Wild s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails
Thu, 17 Dec 2009 18:59:29 +0000 Matthew Wild s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas
Thu, 17 Dec 2009 21:36:31 +0000 Matthew Wild s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) )
Sat, 21 Nov 2009 13:47:45 +0000 Matthew Wild s2smanager: Don't tostring() the data before sending, sends2s already does this.
Sun, 14 Mar 2010 02:57:22 +0000 Matthew Wild s2smanager: Don't re-destroy destroyed sessions
Sun, 14 Mar 2010 02:56:57 +0000 Matthew Wild s2smanager: Add open_stream and close methods to resting sessions
Thu, 11 Mar 2010 01:04:19 +0000 Matthew Wild sessionmanager, s2smanager: Close session on </stream:stream>
Mon, 08 Mar 2010 02:13:41 +0000 Matthew Wild sessionmanager, s2smanager: Destroyed sessions are now simply resting (not dead) until they are collected - prevents a whole class of tracebacks
Thu, 25 Feb 2010 18:03:15 +0000 Matthew Wild Merge with 0.6
Thu, 25 Feb 2010 17:53:27 +0000 Matthew Wild s2smanager: Log and fail gracefully when unable to create socket for outgoing s2s connection (thanks foucault)
Thu, 25 Feb 2010 17:52:33 +0000 Matthew Wild s2smanager: Fix for the logic SRV record priority comparison (thanks darkrain)
Fri, 19 Feb 2010 03:30:27 +0000 Matthew Wild s2smanager: Use s2smanager log() if session doesn't have a logger (thanks Flo)
Fri, 12 Feb 2010 17:27:53 +0000 Matthew Wild sessionmanager, s2smanager: Fix for syntax of null_data_handler() (thanks Nolan)
Fri, 12 Feb 2010 17:14:54 +0000 Matthew Wild sessionmanager, s2smanager: Give sessions dummy data handlers that log when data is received by a destroyed session
Fri, 12 Feb 2010 04:30:17 +0500 Waqas Hussain s2smanager, mod_compression, mod_tls: Changed event.session to event.origin for s2s-stream-features event for consistency.
Sun, 31 Jan 2010 15:41:33 +0000 Matthew Wild s2smanager: Update for new server SSL API (don't pass a sslctx)
Sat, 30 Jan 2010 18:45:46 +0000 Matthew Wild s2smanager: Fix syntax error)
Sat, 30 Jan 2010 17:00:47 +0000 Matthew Wild s2smanager: require_s2s_encryption -> s2s_require_encryption
Sat, 30 Jan 2010 16:42:27 +0000 Matthew Wild s2smanager: Make require_s2s_encryption do what it says on the tin
Thu, 28 Jan 2010 13:39:23 +0000 Matthew Wild s2smanager: Whitespace
Tue, 19 Jan 2010 19:58:02 +0000 Matthew Wild s2smanager: Log error and fail gracefully if we can't open a socket for an outgoing s2s connection (thanks foucault)
Tue, 19 Jan 2010 04:35:10 +0000 Matthew Wild s2smanager: No-one noticed that Prosody stopped sending to/from on stream headers recently? :)
Sat, 09 Jan 2010 06:53:23 +0000 Matthew Wild s2smanager: Split sending of stream header into a :open_stream() method
Mon, 04 Jan 2010 17:32:26 +0000 Matthew Wild s2smanager: Allow new_outgoing() to create sessions without automatically connecting them (set 3rd parameters to false)
Sun, 03 Jan 2010 11:26:36 -0800 Paul Aurich s2smanager: Stamp a 'to' on the reply stream:stream. This makes prosody happy.
Sun, 03 Jan 2010 18:55:42 +0000 Matthew Wild s2smanager, hostmanager: Make dialback secrets per-host
Sun, 03 Jan 2010 18:37:03 +0000 Matthew Wild s2smanager: Trim trailing whitespace
Thu, 17 Dec 2009 21:50:02 +0000 Matthew Wild s2smanager: Give reasons to destroy_session in more cases, including when DNS lookup fails
Thu, 17 Dec 2009 21:38:16 +0000 Matthew Wild Merge with backout branch
Thu, 17 Dec 2009 21:36:31 +0000 Matthew Wild s2smanager: Send reply stream header only after checking we serve this host (sorry darkrain... :) )
Thu, 17 Dec 2009 21:33:35 +0000 Matthew Wild Backed out changeset 78c5cb163ea9, to fix another way. Haven't done this for a while :)
Thu, 17 Dec 2009 21:18:02 +0000 Matthew Wild s2smanager: More whitespace
Thu, 17 Dec 2009 21:17:47 +0000 Matthew Wild s2smanager: Mark stream as opened sooner, this prevents a duplicated stream header on host-unknown errors (thanks darkrain and his mail server)
Thu, 17 Dec 2009 21:14:44 +0000 Matthew Wild s2smanager: Whitespace
Thu, 17 Dec 2009 18:59:29 +0000 Matthew Wild s2smanager: Have both destroy_session and bounce_sendq accept a reason string to include in bounced stanzas
Thu, 26 Nov 2009 17:17:54 +0000 Matthew Wild s2smanager: Allow configuration of the dialback_secret in the config
Wed, 25 Nov 2009 03:30:41 +0000 Matthew Wild Merge with 0.6
Wed, 25 Nov 2009 03:30:00 +0000 Matthew Wild s2smanager: Log warning when trying to send a stanza from a host we don't serve, instead of a traceback (thanks stpeter)
Sun, 22 Nov 2009 04:53:02 +0000 Matthew Wild s2smanager: Fix syntax error introduced in merge
Sun, 22 Nov 2009 04:50:42 +0000 Matthew Wild Merge with trunk
Sun, 22 Nov 2009 04:42:03 +0000 Matthew Wild s2smanager: Update for new net.server API (s2s still doesn't work with libevent for other reasons)
Sat, 21 Nov 2009 13:49:48 +0000 Matthew Wild s2smanager: Don't log full stanza when sending outwards
Sat, 21 Nov 2009 13:47:45 +0000 Matthew Wild s2smanager: Don't tostring() the data before sending, sends2s already does this.
Fri, 20 Nov 2009 15:07:39 +0000 Matthew Wild s2smanager: Fail outgoing s2s connection if hostname does not pass idna_to_ascii(), thanks Flo + waqas
Fri, 20 Nov 2009 04:39:54 +0000 Matthew Wild 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.
Sun, 18 Oct 2009 16:16:27 +0100 Matthew Wild s2smanager: Use session-specific logger to log outgoing data on outgoing s2s connections
Sat, 17 Oct 2009 15:25:30 +0100 Matthew Wild s2smanager: Add incoming_s2s to the prosody object
Fri, 16 Oct 2009 22:19:20 +0100 Matthew Wild s2smanager: Fix access of 'config' global without requiring configmanager
Thu, 08 Oct 2009 23:40:54 +0100 Matthew Wild s2smanager: Make s2s-stream-features a per-host event
Tue, 06 Oct 2009 15:02:16 +0100 Matthew Wild 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)
Tue, 06 Oct 2009 11:02:33 +0100 Matthew Wild s2smanager: Improve log message on missing to/from in stream header
Mon, 05 Oct 2009 14:50:27 +0100 Matthew Wild s2smanager: Mark session as secure if it was negotiating TLS and opens a new stream
Sat, 03 Oct 2009 23:23:00 -0700 Paul Aurich Specify XMPP version on response stream to incoming s2s connection.
Sat, 03 Oct 2009 19:20:20 -0700 Paul Aurich Minor changes; outgoing TLS works.
Sun, 04 Oct 2009 16:40:24 +0100 Matthew Wild s2smanager: Small comment
Sun, 04 Oct 2009 16:39:57 +0100 Matthew Wild s2smanager: Don't wait for stream:features from non-XMPP-1.0 hosts
Sun, 04 Oct 2009 16:38:33 +0100 Matthew Wild s2smanager: Send stream:features for incoming s2s connections which support XMPP 1.0
Sun, 04 Oct 2009 16:34:17 +0100 Matthew Wild s2smanager: Give outgoing sessions a host field (the local one)
Sun, 27 Sep 2009 12:26:51 +0100 Matthew Wild Merge with 0.5
Sun, 27 Sep 2009 11:59:11 +0100 Matthew Wild core.s2smanager: Always use last record in the DNS cache
Mon, 21 Sep 2009 14:42:29 +0100 Matthew Wild Merge with 0.5
Mon, 21 Sep 2009 14:40:14 +0100 Matthew Wild core.s2smanager: Don't recurse CNAMEs infinitely :)
Sun, 20 Sep 2009 15:17:37 +0100 Matthew Wild Merge with 0.5
Sun, 20 Sep 2009 15:16:25 +0100 Matthew Wild s2smanager: Timeout unauthed s2s connections
Sat, 19 Sep 2009 17:48:15 +0100 Matthew Wild Merge with 0.5
Sat, 19 Sep 2009 17:47:26 +0100 Matthew Wild s2smanager: Compatibility with domains which use CNAMEs
Sat, 19 Sep 2009 17:42:16 +0100 Matthew Wild Merge with 0.5
Sat, 19 Sep 2009 17:40:19 +0100 Matthew Wild s2smanager: Pass A-record lookups through adns module
Sun, 16 Aug 2009 21:41:53 +0100 Matthew Wild core.s2smanager, xmppserver_listener: Move the responsibility of setting session.log from the latter to the former for incoming sessions (outgoing are already like this)
Fri, 10 Jul 2009 03:11:45 +0100 Matthew Wild Remove version number from copyright headers
Wed, 08 Jul 2009 03:14:12 +0100 Matthew Wild s2smanager: Fix to correctly bounce stanzas if first connection attempt fails instantly
Fri, 03 Jul 2009 14:58:11 +0100 Matthew Wild s2smanager: Log the hostname and address when s2s connection fails instantly
Wed, 01 Jul 2009 17:53:18 +0100 Matthew Wild Send xml:lang in stream headers, fixes #78
Fri, 19 Jun 2009 17:27:03 +0100 Matthew Wild s2smanager: Remove srv_hosts from session when connected, this fixes attempting to reconnect s2s sessions when they are closed during shutdown
Thu, 04 Jun 2009 21:12:36 +0500 Waqas Hussain s2smanager: Use a UUID as the dialback secret
Tue, 26 May 2009 21:59:28 +0100 Matthew Wild s2smanager: Timeout DNS requests after 60 seconds (or dns_timeout in config)
Tue, 26 May 2009 01:07:52 +0100 Matthew Wild s2smanager: Only send reply </stream:stream> when connection is still open
Thu, 30 Apr 2009 02:43:12 +0100 Matthew Wild s2smanager: Miscellaneous logging improvements, changing levels, improving messages and using session loggers where possible
Mon, 20 Apr 2009 22:14:31 +0100 Matthew Wild core.s2smanager: Buffer data sent before connection
Mon, 20 Apr 2009 22:13:09 +0100 Matthew Wild core.s2smanager: Logging improvements
Sun, 12 Apr 2009 13:14:45 +0100 Matthew Wild core.s2smanager: Don't initiate dialback if we don't have a connection yet
Fri, 10 Apr 2009 10:38:04 +0100 Matthew Wild Remove more debugging code which was accidentally committed (don't trust hg)
Fri, 10 Apr 2009 10:36:01 +0100 Matthew Wild core.s2smanager: Remove some debugging
Fri, 10 Apr 2009 10:31:38 +0100 Matthew Wild Merge
Wed, 08 Apr 2009 20:01:53 +0100 Matthew Wild core.s2smanager: Look away... wait for it... now! Hopefully s2s should be back to normal.
Mon, 06 Apr 2009 23:43:48 +0100 Matthew Wild core.s2smanager: Check for valid host and port before attempting connection
Sun, 05 Apr 2009 20:06:39 +0100 Matthew Wild sessionmanager, s2smanager, mod_component: Send reply </stream:stream> when client closes stream
Mon, 30 Mar 2009 05:26:10 +0500 Waqas Hussain Fixed: Some nil access bugs
Mon, 30 Mar 2009 03:06:01 +0500 Waqas Hussain Fixed: s2smanager: Apply nameprep on hostnames passed in stream tag (part of issue #57)
Fri, 20 Mar 2009 20:16:25 +0000 Matthew Wild 0.3->0.4
Mon, 02 Mar 2009 13:52:08 +0000 Matthew Wild core.s2smanager: Remove some old commented code, break a long line in 2
Fri, 30 Jan 2009 17:59:26 +0000 Matthew Wild Update copyright notices for 2009
Fri, 30 Jan 2009 17:40:25 +0000 Matthew Wild 0.2->0.3
Fri, 30 Jan 2009 17:22:56 +0000 Matthew Wild GPL->MIT!
Sat, 17 Jan 2009 04:45:08 +0000 Matthew Wild Port to new server.lua, quite some changes, but I believe everything to be working
Fri, 19 Dec 2008 01:57:13 +0500 Waqas Hussain Bounce stanza errors on failed s2s
Sat, 13 Dec 2008 17:43:52 +0000 Matthew Wild Add support for dialback piggy-backing. Fixes #37. Thanks to CShadowRun for helping me test :)
Wed, 10 Dec 2008 15:44:03 +0000 Matthew Wild 0.1 -> 0.2
Sun, 07 Dec 2008 03:12:22 +0000 Matthew Wild Slightly more secure dialback secret generation
Sat, 06 Dec 2008 23:14:39 +0000 Matthew Wild Remove print()s from sessionmanager and s2smanager
Fri, 05 Dec 2008 05:23:42 +0000 Matthew Wild Remove an incorrect line which I didn't add, and fix the proper way. Corrects the sending of stanzas over unauthed s2sout's. Also fixes mod_dialback to send stanzas and not strings.
Fri, 05 Dec 2008 04:44:19 +0000 Matthew Wild Fix for s2s with jabberd2 (we weren't routing db:verify's over s2sout_unauthed)
Thu, 04 Dec 2008 17:10:02 +0000 Matthew Wild Don't send stream:features to incoming s2s connections
Thu, 04 Dec 2008 16:41:32 +0000 Matthew Wild Fix logger ids for c2s and s2sout
Wed, 03 Dec 2008 14:39:07 +0000 Matthew Wild Insert copyright/license headers
Fri, 28 Nov 2008 00:08:23 +0000 Matthew Wild No more reading 1 byte at a time from sockets
Fri, 28 Nov 2008 01:13:34 +0500 Waqas Hussain Switched from md5 to sha256 for dialback key generation
Wed, 26 Nov 2008 23:47:23 +0000 Matthew Wild Log reason for connection failure
Wed, 26 Nov 2008 23:44:30 +0000 Matthew Wild (Basic) IDNA and SRV fallback support
Thu, 20 Nov 2008 03:00:43 +0000 Matthew Wild Remove or comment useless prints, or change them to log()
Thu, 20 Nov 2008 01:14:31 +0000 Matthew Wild Remove version=1.0 on s2s stream headers, again.
Wed, 19 Nov 2008 23:25:04 +0000 Matthew Wild Remove an old FIXME comment
Wed, 19 Nov 2008 22:50:37 +0000 Matthew Wild Comments and logging fixes
Wed, 19 Nov 2008 22:05:44 +0000 Matthew Wild Send version=1.0 again in s2s stream header
Wed, 19 Nov 2008 22:04:39 +0000 Matthew Wild Fix for setting the correct host on the socket, seems to fix s2s with XCP
Wed, 19 Nov 2008 05:34:00 +0000 Matthew Wild Don't send version 1.0. Who cares about Gmail?
Wed, 19 Nov 2008 05:13:07 +0000 Matthew Wild Send version=1.0 in s2s stream header. Send s2s stream:features when in 1.0 mode.
Wed, 19 Nov 2008 05:12:21 +0000 Matthew Wild Don't attempt to auth connection unless stanzas are being sent across it
Wed, 19 Nov 2008 05:11:37 +0000 Matthew Wild Log sent s2s stanzas
Tue, 18 Nov 2008 22:41:04 +0000 Matthew Wild We have SRV resolving \o/
Tue, 18 Nov 2008 19:44:54 +0000 Matthew Wild session:disconnect() -> session:close() for consistency with other Lua APIs
Tue, 18 Nov 2008 17:52:33 +0000 Matthew Wild Quite some changes, to:
Mon, 17 Nov 2008 18:53:13 +0500 Waqas Hussain Fixed s2s manager's send queue to not store recieved stanza objects (as these can chnage after the send call)
Sat, 15 Nov 2008 08:38:25 +0500 Waqas Hussain Log how many queued stanzas we send
Fri, 14 Nov 2008 20:30:24 +0000 Matthew Wild Update hostname for identi.ca
Fri, 14 Nov 2008 18:54:19 +0000 Matthew Wild Remove some old unused (and empty) functions from s2smanager
Fri, 14 Nov 2008 02:54:56 +0000 Matthew Wild Now outgoing s2s sessions are associated with their from_host, fixes #15
Fri, 14 Nov 2008 02:41:37 +0000 Matthew Wild Some more logging fixes
Fri, 14 Nov 2008 02:38:41 +0000 Matthew Wild Yep, s2s definitely works now. This is just a small fix for logging...
Fri, 14 Nov 2008 02:33:20 +0000 Matthew Wild I knew it ;) Fix sending error replies over s2s (though we shouldn't be error'ing on stream:features anyway)
Fri, 14 Nov 2008 02:23:43 +0000 Matthew Wild Print out the stanza also
Fri, 14 Nov 2008 02:20:46 +0000 Matthew Wild Fix for detecting when we are routing a stanza to ourself (I'm sure this has something to do with you, waqas...)
Fri, 14 Nov 2008 02:12:08 +0000 Matthew Wild Another small fix, for logging in s2smanager
Fri, 14 Nov 2008 02:09:20 +0000 Matthew Wild Another small fix, for logging in s2smanager
Fri, 14 Nov 2008 02:06:17 +0000 Matthew Wild Mmm, s2s fixed :)
Thu, 13 Nov 2008 03:56:22 +0000 Matthew Wild Missed importing a function in last commit
Thu, 13 Nov 2008 03:48:20 +0000 Matthew Wild Change sending reply stream header to use top_tag()
Wed, 12 Nov 2008 19:26:08 +0000 Matthew Wild Some s2s fixes. Now connect() does not block, and stanzas are not lost when connection is slow
Sun, 09 Nov 2008 21:46:42 +0000 Matthew Wild Move some code about so that we don't leave connections hanging if they hit the connection timeout
Sun, 09 Nov 2008 20:14:58 +0000 Matthew Wild Prevent slow connects for s2s from blocking for so long
Sat, 08 Nov 2008 20:44:32 +0000 Matthew Wild Fix some very misleading logging
Sat, 08 Nov 2008 20:39:08 +0000 Matthew Wild Just committing this warning, because I want to know if the problem really affects us
Sun, 02 Nov 2008 06:36:42 +0500 Waqas Hussain Added resource priority handling, etc
Sat, 01 Nov 2008 21:07:14 +0000 Matthew Wild Fix s2s once and for all
Sat, 01 Nov 2008 18:28:46 +0000 Matthew Wild General fixes for s2s, to make it more robust (I hope), sending data to remote hosts sane (s2ssession.send() works as expected), recycle outgoing dialback connections, etc.
Thu, 30 Oct 2008 21:11:22 +0000 Matthew Wild sends2s -> s2s_session.send(), s2s_session.send() -> s2s_session.sends2s()
Sun, 26 Oct 2008 14:03:40 +0000 Matthew Wild Better logging of s2s connections
Sun, 26 Oct 2008 13:14:14 +0000 Matthew Wild Little tweak for more useful logging of closed s2s sessions
Sat, 25 Oct 2008 18:21:34 +0100 Matthew Wild Remove misleading log message regarding s2s/dialback
Fri, 24 Oct 2008 18:14:40 +0100 Matthew Wild other half of previous commit
Fri, 24 Oct 2008 15:33:38 +0100 Matthew Wild Remove some overly-verbose debug log output
Fri, 24 Oct 2008 15:32:31 +0100 Matthew Wild Destroy s2s sendqueue when connection is established successfully and data written
Fri, 24 Oct 2008 14:59:04 +0100 Matthew Wild Hack until we get SRV resolving
Fri, 24 Oct 2008 07:27:36 +0100 Matthew Wild s2s works! \o/ \o/ s2s