Log

plugins/mod_c2s.lua @ 13270:14bbfb2cc8dd default tip

description author age
plugins: Handle how get_option_period returns "never" Kim Alvefur Fri, 21 Jul 2023 17:23:00 +0200
plugins: Use integer config API with interval specification where sensible Kim Alvefur Mon, 17 Jul 2023 01:38:54 +0200
plugins: Switch to :get_option_period() for time range options Kim Alvefur Sun, 16 Jul 2023 20:49:33 +0200
core.sessionmanager: Delay closing a replaced connection after replacement Kim Alvefur Sun, 07 May 2023 12:27:55 +0200
mod_c2s,mod_s2s: Fix tag name for SLA (thanks mjk) Kim Alvefur Wed, 03 May 2023 18:02:11 +0200
plugins: Prefix module imports with prosody namespace Kim Alvefur Fri, 24 Mar 2023 13:15:28 +0100
mod_c2s: Disconnect accounts when they are disabled Kim Alvefur Thu, 23 Feb 2023 16:28:57 +0100
mod_c2s,mod_s2s: Adapt to XEP-xxxx: Stream Limits Advertisement Kim Alvefur Thu, 20 Oct 2022 14:04:56 +0200
mod_c2s: Advertise stanza size limit to clients Kim Alvefur Tue, 16 Mar 2021 18:17:05 +0100
mod_c2s: Include stream attributes in stream-features event Matthew Wild Fri, 14 Oct 2022 11:21:16 +0100
mod_smacks: Long overdue cleanup of resumption code, fixes some old TODOs Matthew Wild Fri, 26 Aug 2022 17:04:15 +0100
mod_authz_internal, and more: New iteration of role API Matthew Wild Wed, 17 Aug 2022 16:38:53 +0100
net: isolate LuaSec-specifics Jonas Schäfer Wed, 27 Apr 2022 17:44:14 +0200
mod_c2s,mod_s2s: Fix error on shutdown (Thanks Martin) Kim Alvefur Tue, 22 Feb 2022 14:17:27 +0100
mod_c2s,mod_s2s: Wrap callback to improve tracebacks Kim Alvefur Tue, 22 Feb 2022 12:35:31 +0100
mod_c2s: Ignore unused event payload [luacheck] Kim Alvefur Fri, 18 Feb 2022 23:13:01 +0100
mod_c2s,mod_s2s: Wait for sessions to close before proceeding with shutdown steps Kim Alvefur Thu, 17 Feb 2022 03:49:47 +0100
mod_c2s: Close ports in a separate, earlier event from closing sessions Kim Alvefur Fri, 18 Feb 2022 14:25:22 +0100
mod_c2s,mod_s2s: Disable and close port listeners before closing sessions Kim Alvefur Fri, 11 Feb 2022 21:36:53 +0100
mod_c2s: Fire pre-closing event regardless of connected state Kim Alvefur Sat, 18 Dec 2021 13:43:57 +0100
mod_c2s: Add event just before closing as session Kim Alvefur Wed, 01 Dec 2021 15:06:48 +0100
mod_c2s: Disconnect user sessions on a role change event Matthew Wild Fri, 12 Nov 2021 13:26:05 +0000
mod_c2s,etc: Identify stanza object with appropriate function Kim Alvefur Sun, 24 Oct 2021 15:17:01 +0200
mod_c2s: Rename Direct TLS listener 'c2s_direct_tls' for clarity Kim Alvefur Thu, 09 Sep 2021 22:14:43 +0200
mod_c2s,mod_s2s: Indicate stanza size violation with condition from XEP-0205 (thanks mjk) Kim Alvefur Mon, 06 Sep 2021 23:21:25 +0200
Merge 0.11->trunk Matthew Wild Thu, 26 Aug 2021 16:42:42 +0100
mod_c2s: Indicate stream secure state in error text when no stream features to offer 0.11 Matthew Wild Tue, 06 Jul 2021 08:18:28 +0100
mod_c2s,mod_s2s: Fire event just before writes Kim Alvefur Mon, 16 Aug 2021 12:45:14 +0200
mod_c2s: Guard against LuaSec not returning TLS info (thanks Martin) Kim Alvefur Mon, 21 Jun 2021 13:36:05 +0200
mod_c2s: Log the same messages for Direct TLS as with starttls Kim Alvefur Sun, 20 Jun 2021 18:15:59 +0200
mod_c2s: Update a comment to reflect Direct TLS Kim Alvefur Sun, 20 Jun 2021 18:14:18 +0200
mod_c2s: Add a Direct TLS listener Kim Alvefur Sun, 20 Jun 2021 16:51:08 +0200
mod_c2s,mod_s2s: Collect stats on TLS versions and ciphers Kim Alvefur Wed, 16 Jun 2021 00:00:17 +0200
Merge 0.11->trunk Matthew Wild Thu, 13 May 2021 11:17:13 +0100
mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default stanza size limits 0.11 Matthew Wild Fri, 07 May 2021 17:03:49 +0100
mod_c2s: Port to new OpenMetrics API Jonas Schäfer Sun, 18 Apr 2021 12:34:17 +0200
mod_c2s: Fix traceback if session was destroyed while opening stream (thanks Ge0rG) Kim Alvefur Wed, 14 Apr 2021 16:02:47 +0200
Merge 0.11->trunk Kim Alvefur Sat, 10 Apr 2021 16:45:44 +0200
mod_c2s: Log about missing conn on async state changes 0.11 Kim Alvefur Thu, 18 Mar 2021 16:24:46 +0100
mod_c2s: Improve code style 0.11 Kim Alvefur Thu, 18 Mar 2021 16:23:47 +0100
mod_c2s: Fix traceback in session close when conn is nil 0.11 Kim Alvefur Wed, 17 Mar 2021 12:47:16 +0100
mod_c2s: Don't throw errors in async code when connections are gone 0.11 tmolitor Thu, 18 Mar 2021 14:30:32 +0100
mod_c2s: Log a debug message before closing due to c2s_timeout Kim Alvefur Tue, 23 Mar 2021 21:46:11 +0100
mod_c2s: Reflect stream 'from' attribute back if set (fix #1625) Kim Alvefur Wed, 03 Feb 2021 21:41:45 +0100
Merge 0.11->trunk Matthew Wild Wed, 30 Sep 2020 09:50:33 +0100
mod_c2s,mod_s2s: Make stanza size limits configurable 0.11 0.11.7 Kim Alvefur Sun, 31 May 2020 22:39:34 +0200
mod_c2s,mod_s2s: Make stanza size limits configurable Kim Alvefur Sun, 31 May 2020 22:39:34 +0200
mod_c2s,mod_s2s: Use a distinct stream error for hitting stanza size limit Kim Alvefur Sun, 31 May 2020 22:25:48 +0200
mod_c2s: Run stream open and close events in async thread, fixes #1103 Kim Alvefur Fri, 08 May 2020 23:58:24 +0200
mod_c2s: Swap comments Kim Alvefur Sun, 19 Apr 2020 13:04:12 +0200
mod_net_multiplex: Add support for using ALPN Kim Alvefur Fri, 29 Nov 2019 23:27:51 +0100
mod_c2s: Validate that a 'to' attribute exists at all Kim Alvefur Sat, 02 Nov 2019 15:39:40 +0100
Remove COMPAT with temporary luasec fork Kim Alvefur Sun, 25 Aug 2019 23:12:55 +0200
plugins: Remove tostring call from logging Kim Alvefur Tue, 30 Jul 2019 02:29:36 +0200
Merge 0.11->trunk Kim Alvefur Sun, 26 May 2019 19:41:58 +0200
mod_c2s: Associate connection with session last (fixes #1313) 0.11 Kim Alvefur Sat, 18 May 2019 17:45:20 +0200
mod_c2s: Fire an event when outgoing buffers have been emptied Kim Alvefur Sun, 24 Mar 2019 18:30:51 +0100
mod_c2s, mod_s2s, mod_component: Log invalid XML escaped (fixes #734) Kim Alvefur Tue, 15 Jan 2019 20:08:30 +0100
mod_c2s: Improve log message in case there are no stream features on offer (thanks hexa) Kim Alvefur Fri, 28 Dec 2018 00:13:03 +0100
mod_c2s: Fix fallback for missing session logger Kim Alvefur Fri, 12 Oct 2018 02:16:24 +0200
Merge 0.10->trunk Matthew Wild Wed, 30 May 2018 22:43:45 +0100
Merge 0.9->0.10 0.10.2 Matthew Wild Wed, 30 May 2018 21:55:09 +0100
mod_c2s: Do not allow the stream 'to' to change across stream restarts (fixes #1147) 0.9.14 Kim Alvefur Fri, 25 May 2018 21:09:34 +0200
Merge 0.10->trunk Kim Alvefur Tue, 22 May 2018 22:25:59 +0200
mod_c2s: Avoid concatenating potential nil value (fixes #753) Kim Alvefur Tue, 22 May 2018 22:22:57 +0200
mod_c2s: Add a counter for IPv6. Emmanuel Gil Peyrot Sat, 09 Sep 2017 14:45:23 +0100
Merge 0.10->trunk Kim Alvefur Fri, 10 Nov 2017 17:47:50 +0100
mod_c2s: Set a default value for c2s_timeout (fixes #1036) Kim Alvefur Fri, 10 Nov 2017 07:11:03 +0100
Merge 0.10->trunk Kim Alvefur Thu, 14 Sep 2017 02:48:34 +0200
Merge 0.9->0.10 Kim Alvefur Thu, 14 Sep 2017 02:47:40 +0200
mod_c2s: Iterate over child tags instead of child nodes in stream error (fixes traceback from #987) Kim Alvefur Wed, 13 Sep 2017 18:18:57 +0200
Merge 0.10->trunk Kim Alvefur Mon, 28 Aug 2017 21:05:12 +0200
core.usermanager, various modules: Disconnect other resources on password change (thanks waqas) (fixes #512) Kim Alvefur Fri, 28 Jul 2017 13:15:29 +0200
mod_c2s: Remove unused locals [luacheck] Kim Alvefur Sat, 01 Apr 2017 22:40:09 +0200
Merge 0.10->trunk Kim Alvefur Mon, 06 Mar 2017 15:31:21 +0100
mod_c2s: Rename unused loop variable to _ [luacheck] Kim Alvefur Mon, 06 Mar 2017 15:24:44 +0100
mod_c2s: Rename variable no avoid name clash [luacheck] Kim Alvefur Mon, 06 Mar 2017 15:24:33 +0100
Merge 0.10->trunk Kim Alvefur Thu, 26 Jan 2017 19:47:33 +0100
mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8 Kim Alvefur Wed, 25 Jan 2017 11:18:00 +0100
mod_c2s: Clarify that there were no *stream* features to offer Kim Alvefur Wed, 25 Jan 2017 10:47:31 +0100
Merge 0.10->trunk Matthew Wild Mon, 12 Sep 2016 22:31:25 +0100
mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate once per statistics interval Kim Alvefur Mon, 12 Sep 2016 15:01:16 +0200
Merge 0.10->trunk Kim Alvefur Mon, 08 Aug 2016 16:41:09 +0200
mod_c2s: Don't try to keep alive sessions where the stream is not (yet) open Kim Alvefur Sun, 07 Aug 2016 20:51:34 +0200
mod_c2s: Fix whitespace (why does it keep getting messed up?) Kim Alvefur Sun, 07 Aug 2016 20:50:56 +0200
Merge 0.10->trunk Kim Alvefur Fri, 08 Jul 2016 15:12:44 +0200
mod_c2s, mod_s2s: Bootstrap connection count statistic on module load Kim Alvefur Thu, 07 Jul 2016 18:48:58 +0200
Merge 0.10->trunk Kim Alvefur Sun, 03 Apr 2016 15:53:00 +0200
Merge 0.9->0.10 Kim Alvefur Sun, 03 Apr 2016 15:52:40 +0200
mod_c2s: Just destroy the session when it has no connection (see #641) Kim Alvefur Sun, 03 Apr 2016 15:18:21 +0200
Merge 0.10->trunk Kim Alvefur Thu, 17 Mar 2016 18:04:43 +0100
mod_c2s: Remove use of util.async Kim Alvefur Thu, 17 Mar 2016 12:47:24 +0100
Merge 0.9->0.10 Kim Alvefur Wed, 02 Mar 2016 16:32:37 +0100
mod_c2s: Remove connection object from session object when connection disconnected to prevent accidental use (see #590) Kim Alvefur Wed, 02 Mar 2016 16:28:11 +0100
Merge 0.9->0.10 Kim Alvefur Tue, 26 Jan 2016 14:15:00 +0100
mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that plugins hooking at the default priority run first (fixes #601) Kim Alvefur Tue, 26 Jan 2016 00:28:07 +0100
mod_c2s, mod_s2s: Close incoming connections if there are no features to offer on incomplete streams (fixes #285) Kim Alvefur Thu, 24 Sep 2015 20:05:23 +0200
mod_c2s, mod_s2s: Collect statistics on number of connections Kim Alvefur Sun, 26 Apr 2015 00:06:11 +0200
Merge 0.9->0.10 Kim Alvefur Tue, 02 Sep 2014 22:33:11 +0200
net.http, net.http.server, mod_c2s, mod_s2s, mod_component, mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent) Matthew Wild Fri, 29 Aug 2014 11:54:34 +0100
Merge 0.9->0.10 Matthew Wild Thu, 28 Aug 2014 09:23:24 +0100
mod_c2s, mod_s2s: Log received invalid stream headers Matthew Wild Sat, 23 Aug 2014 09:29:17 +0100
Merge 0.9->0.10 Kim Alvefur Sat, 21 Jun 2014 15:05:21 +0200
mod_c2s: Fix traceback if c2s stream sent to component Kim Alvefur Sat, 10 May 2014 02:12:51 +0200
mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all session:open_stream() functions to util.xmppstream Kim Alvefur Thu, 10 Apr 2014 13:13:07 +0200
mod_c2s: Break out stream opening into a separate function Florian Zeitz Fri, 31 Jan 2014 12:01:12 +0100
mod_c2s, mod_s2s: Set session.encrypted as session.secure does not allways mean encrypted (eg consider_bosh_secure) Kim Alvefur Mon, 07 Oct 2013 12:43:00 +0200
mod_c2s: Move another log message to debug level Kim Alvefur Wed, 14 Aug 2013 15:38:56 +0200
mod_c2s, mod_s2s: Log cipher and encryption info in a more compact and (hopefully) less confusing way Kim Alvefur Wed, 14 Aug 2013 15:00:36 +0200
mod_c2s: Port coroutine code to util.async Matthew Wild Sun, 11 Aug 2013 14:46:27 +0100
Remove all trailing whitespace Florian Zeitz Fri, 09 Aug 2013 17:48:21 +0200
mod_c2s: Add session:sleep() and session:wake() to pause a session (e.g. while waiting for an external event). Needs a gallon or two of testing. Matthew Wild Fri, 09 Aug 2013 11:10:22 +0100
mod_c2s, mod_s2s: Log a message that stream encryption has been enabled with some details Kim Alvefur Fri, 02 Aug 2013 15:12:24 +0200
Merge 0.9->trunk Kim Alvefur Wed, 24 Jul 2013 21:50:38 +0200
mod_c2s: Change default of tcp_keepalives to true, and make it individually configurable through c2s_tcp_keepalives Kim Alvefur Wed, 24 Jul 2013 15:28:36 +0200
mod_bosh, mod_c2s: No longer fire stream-features globally (nobody uses it, and shared modules make it easy for global modules to hook per-host now) Matthew Wild Mon, 15 Jul 2013 11:44:49 +0100
mod_c2s, mod_s2s: Fire an event on read timeouts Kim Alvefur Tue, 11 Jun 2013 21:36:15 +0200
mod_c2s: Become a shared module and allow being disabled on some virtualhosts Kim Alvefur Tue, 11 Jun 2013 21:18:51 +0200
mod_c2s, mod_c2s: Send a whitespace on read timeout, to prod TCP into detecting if the connection died Kim Alvefur Thu, 30 May 2013 14:32:40 +0200
mod_c2s: Fix session:close() when a stanza is passed as reason Kim Alvefur Fri, 10 May 2013 22:29:03 +0200
mod_c2s: Refactor <stream:error> building to allways tostring() it and only call send once Kim Alvefur Thu, 25 Apr 2013 17:50:22 +0200
mod_c2s, mod_s2s, net.http, net.http.server: Improve tracebacks (omit traceback function), to make it clearer where an error occured Matthew Wild Mon, 22 Apr 2013 12:35:52 +0100
mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals Kim Alvefur Sat, 23 Mar 2013 01:27:16 +0100
prosody, mod_c2s, mod_s2s: Move closing of c2s and s2s sessions to respective plugins Kim Alvefur Fri, 28 Dec 2012 14:33:47 +0100
mod_c2s: Check if TLS compression is used Kim Alvefur Sun, 09 Dec 2012 11:50:09 +0100
mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use module:provides() instead of module:add_item(). Waqas Hussain Wed, 12 Sep 2012 22:22:31 +0500
mod_c2s: When a user gets deleted, drop all their sessions Kim Alvefur Sat, 25 Aug 2012 01:28:38 +0200
mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table. Kim Alvefur Thu, 26 Jul 2012 04:33:17 +0200
mod_c2s, mod_s2s: Lower 'Disconnecting X' log messages from 'info' to 'debug' Matthew Wild Mon, 23 Jul 2012 18:28:14 +0100
mod_c2s: Change 'reason' parameter of session:close() to take nil to mean 'graceful close initiated by us' and false for 'graceful close initiated by client' Matthew Wild Mon, 23 Jul 2012 12:56:47 +0100
mod_c2s: Don't call ondisconnect manually on close, it is now called by net.server. Replace with inline code for destroying the session, and also waiting for a reply </stream:stream> if there is a chance of further data sent by the client. session.send() on a half-closed stream returns false (and does not deliver the data). Matthew Wild Sun, 22 Jul 2012 16:59:12 +0100
mod_c2s: Another lurking string.format squashed. Matthew Wild Fri, 11 May 2012 14:57:29 +0100
mod_c2s: Remove unused import of portmanager Matthew Wild Sat, 28 Apr 2012 03:05:03 +0100
mod_c2s: Add missing multiplexed service discovery pattern. Kim Alvefur Thu, 15 Mar 2012 17:37:07 +0100
mod_c2s, mod_s2s: Drop default_port and default_mode from listener objects (default_port is deprecated, and default_mode already defaults to *a) Matthew Wild Thu, 15 Mar 2012 16:31:10 +0000
mod_c2s, mod_s2s: Add multiplex support Matthew Wild Thu, 15 Mar 2012 03:05:24 +0000
mod_c2s: Use module:add_item() to add the net-provider for portmanager Matthew Wild Wed, 14 Mar 2012 21:42:08 +0000
mod_c2s: Code reduction Matthew Wild Mon, 23 Jan 2012 02:15:28 +0000
sessionmanager, mod_c2s: Move timeout logic to mod_c2s Matthew Wild Mon, 23 Jan 2012 00:56:57 +0000
mod_c2s, sessionmanager, xmppclient_listener: Move all c2s network and stream logic into a new module, mod_c2s Matthew Wild Sun, 22 Jan 2012 23:57:13 +0000