aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_s2s/mod_s2s.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵Matthew Wild2021-05-071-1/+1
| | | | | | | | | | | | stanza size limits c2s/bosh/ws streams will default to 256KB, s2s and components to 512KB. These values are aligned with ejabberd's default settings, which should reduce issues related to inconsistent size limits between servers on the XMPP network. The previous default (10MB) is excessive for any production server, and allows significant memory usage by even unauthenticated sessions.
* mod_s2s: Fix copypaste mistake in b3ae48362f78Kim Alvefur2020-12-161-1/+1
| | | | | Directly sending something over s2s needs to use sends2s() but the code copied from mod_c2s had .send()
* mod_s2s: Prevent whitespace keepalives the stream has been openedKim Alvefur2020-12-101-1/+4
| | | | | | | | | This will result in the stream timing out instead, which is probably correct if the stream has not been opened yet. This was already done for c2s in e69df8093387 Thanks Ge0rG
* mod_c2s,mod_s2s: Make stanza size limits configurable0.11.7Kim Alvefur2020-05-311-1/+2
|
* mod_s2s: Escape invalid XML in loggin (same way as mod_c2s) fix #15740.11.6Kim Alvefur2020-08-011-2/+1
|
* mod_s2s: Indicate origin of s2s errorKim Alvefur2018-10-081-1/+1
|
* mod_s2s: Silence all warnings instead of ignoring the entire moduleKim Alvefur2018-09-301-6/+13
|
* sessionmanager, mod_s2s: Bring debug line for outgoing stanzas in line with ↵Kim Alvefur2018-07-241-1/+1
| | | | that for incoming
* mod_s2s: Reduce logging (#776)Kim Alvefur2018-07-221-2/+0
|
* Merge 0.10->trunkKim Alvefur2018-06-221-0/+3
|\
| * mod_s2s: Close sockets held by resolver (#1170)Kim Alvefur2018-06-171-0/+3
| |
* | mod_s2s: Add a counter for IPv6.Emmanuel Gil Peyrot2017-09-091-1/+7
| |
* | mod_s2s: Don't use string concatenation when passing values to loggingKim Alvefur2018-02-251-1/+1
| |
* | mod_s2s: Remove tostring() in logging since this is handled by util.format nowKim Alvefur2017-12-211-6/+6
| |
* | mod_s2s: Restructure some codeKim Alvefur2017-12-051-2/+9
| |
* | mod_s2s: Remove unused argument [luacheck]Kim Alvefur2017-12-051-1/+1
| |
* | mod_s2s: Remove unused local [luacheck]Kim Alvefur2017-12-051-1/+1
| |
* | Merge 0.10->trunkMatthew Wild2017-09-261-0/+2
|\|
| * mod_s2s: Use a separate resolver object for each outgoing sessionMatthew Wild2017-09-251-0/+2
| | | | | | | | | | | | | | | | Cleaner approach hopefully fixes problems with some peoples' DNS hanging after a while, failed DNS when a large number of queries are made at once, and source port re-use. Related issues: #487, 761, #991, #992, #1001
* | Merge 0.10->trunkKim Alvefur2017-09-141-10/+8
|\|
| * Merge 0.9->0.10Kim Alvefur2017-09-141-10/+8
| |\
| | * mod_component, mod_s2s: Iterate over child tags instead of child nodes (can ↵Kim Alvefur2017-09-141-10/+8
| | | | | | | | | | | | include text) in stream error (same as 176b7f4e4ac9)
* | | Merge 0.10->trunkKim Alvefur2017-01-261-4/+2
|\| |
| * | mod_c2s, mod_s2s: Remove comment that no longer applies since 946871f6e3c8Kim Alvefur2017-01-251-2/+0
| | |
| * | mod_s2s: Clarify that it is stream features that can't be offered (here too)Kim Alvefur2017-01-251-2/+2
| | |
* | | Merge 0.10->trunkKim Alvefur2016-10-071-1/+1
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-09-281-1/+1
| |\|
| | * mod_s2s: Lower log message to 'warn' level, standard for remotely-triggered ↵0.9.11Matthew Wild2016-09-271-1/+1
| | | | | | | | | | | | protocol issues
* | | Merge 0.10->trunkMatthew Wild2016-09-121-10/+3
|\| |
| * | mod_c2s, mod_s2s: Switch connection counting to 'amount' type and enumerate ↵Kim Alvefur2016-09-121-10/+3
| | | | | | | | | | | | once per statistics interval
* | | Merge 0.10->trunkMatthew Wild2016-08-311-1/+0
|\| |
| * | Backed out changeset a23b5cb8c22bMatthew Wild2016-08-311-1/+0
| | | | | | | | | | | | | | | It was a nice idea, but our s2s connection logic is too complicated. The session may have been destroyed inside attempt_connection().
* | | Merge 0.10->trunkKim Alvefur2016-08-281-0/+1
|\| |
| * | mod_s2s: Fire event when s2s connection failsMatthew Wild2016-08-271-0/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2016-08-081-1/+1
|\| |
| * | mod_s2s: Index session after checking if it exists (fixes traceback in case ↵Kim Alvefur2016-08-071-1/+1
| | | | | | | | | | | | of a connection without a session having a read timeout)
* | | Merge 0.10->trunkKim Alvefur2016-07-081-0/+10
|\| |
| * | mod_c2s, mod_s2s: Bootstrap connection count statistic on module loadKim Alvefur2016-07-071-0/+10
| | |
* | | mod_s2s: Add util.async supportKim Alvefur2016-05-301-9/+37
| | |
* | | Merge 0.10->trunkKim Alvefur2016-05-301-3/+0
|\| |
| * | mod_s2s: Remove compat with namespace issue from Prosody pre-0.6.2Kim Alvefur2016-05-301-3/+0
| | |
* | | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2016-03-141-1/+1
|\| |
| * | mod_s2s: Include name of remote server when it's missing the stream ID ↵Kim Alvefur2016-03-141-1/+1
| | | | | | | | | | | | (thanks Ge0rG)
* | | Merge 0.10->trunkKim Alvefur2016-01-261-1/+1
|\| |
| * | Merge 0.9->0.10Kim Alvefur2016-01-261-1/+1
| |\|
| | * mod_c2s, mod_s2s: Lower priority of session shutdown to negative, so that ↵Kim Alvefur2016-01-261-1/+1
| | | | | | | | | | | | plugins hooking at the default priority run first (fixes #601)
* | | Merge 0.10->trunkKim Alvefur2015-10-111-0/+1
|\| |
| * | mod_s2s: Fire global event for stream features where the remote server has ↵Kim Alvefur2015-10-111-0/+1
| | | | | | | | | | | | not sent the 'to' stream attribute
* | | Merge 0.10->trunkKim Alvefur2015-09-251-0/+5
|\| |