aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_component.lua
Commit message (Collapse)AuthorAgeFilesLines
* mod_c2s, mod_s2s, mod_component, mod_bosh, mod_websockets: Set default ↵Matthew Wild2021-05-071-1/+2
| | | | | | | | | | | | 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.
* Many things: switch from hacky multi-arg xpcall implementations to a ↵Matthew Wild2018-10-261-2/+3
| | | | standard util.xpcall
* Merge 0.10->trunkKim Alvefur2018-06-081-3/+4
|\
| * mod_component: Fix a wrongly-placed closing parenthesis, fixes #1164.Emmanuel Gil Peyrot2018-06-081-3/+4
| |
* | Merge 0.10->trunkKim Alvefur2018-02-041-1/+2
|\|
| * mod_component: Advertise disco#info in fallback handling of disco#info query ↵Kim Alvefur2018-01-061-1/+2
| | | | | | | | (fixes #1062)
* | 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-05-171-1/+1
|\| |
| * | mod_component: Use typed config APIKim Alvefur2017-04-261-1/+1
| | |
* | | Merge 0.10->trunkKim Alvefur2017-02-101-0/+18
|\| |
| * | mod_component: Add read timeout handler (same behaviour as c2s and s2s)Kim Alvefur2017-02-101-0/+18
| | |
* | | Merge 0.10->trunkKim Alvefur2017-01-281-15/+15
|\| |
| * | mod_component: Trim trailing whitespaceKim Alvefur2017-01-281-15/+15
| | |
* | | Merge 0.10->trunkMatthew Wild2016-09-121-1/+3
|\| |
| * | mod_component: Fire 'component-disconnected' event on host, to maintain ↵Matthew Wild2016-09-121-1/+3
| | | | | | | | | | | | consistency - sessions with no host never authenticated. Fixes #737
* | | Update every link to the documentation to use HTTPSEmmanuel Gil Peyrot2016-04-161-1/+1
|/ /
* | mod_component: Some cleanup [luacheck]Matthew Wild2016-03-181-4/+3
| |
* | mod_component: Fire event when component disconnectsMatthew Wild2016-03-181-0/+1
| |
* | mod_component: Add config option for deciding what happens if a component ↵Kim Alvefur2015-10-211-3/+11
| | | | | | | | connects while already connected (fixes #525)
* | Merge 0.9->0.10Kim Alvefur2015-08-101-15/+16
|\|
| * mod_component: Fire an event on successful component authentication (For Goffi)Kim Alvefur2015-08-101-0/+1
| |
* | Merge 0.9->0.10Kim Alvefur2014-09-021-0/+4
|\|
| * net.http, net.http.server, mod_c2s, mod_s2s, mod_component, ↵Matthew Wild2014-08-291-0/+4
| | | | | | | | mod_admin_telnet, mod_net_multiplex: Add ondetach to release connection from 'sessions' table (or equivalent)
* | mod_c2s, mod_s2s, mod_component, util.xmppstream: Move all ↵Kim Alvefur2014-04-101-3/+1
| | | | | | | | session:open_stream() functions to util.xmppstream
* | Merge 0.9->0.10Kim Alvefur2013-12-181-1/+7
|\|
| * mod_component: Enable TCP keepalives on component streamsKim Alvefur2013-12-181-0/+6
| |
| * mod_component: Decrease priority of component auth hookKim Alvefur2013-12-181-1/+1
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-16/+16
|/
* mod_component: Local imports for some functions, including xpcallMatthew Wild2013-07-081-0/+1
|
* mod_component: xpcall() stanza processing, as per other listeners, ↵Matthew Wild2013-07-081-1/+6
| | | | preventing potentially harmful 'top-level errors'
* mod_announce, mod_auth_anonymous, mod_c2s, mod_c2s, mod_component, mod_iq, ↵Kim Alvefur2013-03-231-1/+1
| | | | mod_message, mod_presence, mod_tls: Access prosody.{hosts,bare_sessions,full_sessions} instead of the old globals
* mod_component: Look for the correct xmlns (thanks NebuK)Kim Alvefur2013-01-271-1/+1
|
* s2smanager: Generate session names used for logging the same way everywhereKim Alvefur2013-01-241-1/+1
|
* mod_component: Make listener private (thanks Ge0rG)Kim Alvefur2013-01-171-0/+1
|
* mod_{admin_telnet,c2s,component,http,net_multiplex,s2s}: Use ↵Waqas Hussain2012-09-121-1/+1
| | | | module:provides() instead of module:add_item().
* mod_component: For disconnected external components, if a name is specified ↵Waqas Hussain2012-08-011-0/+12
| | | | in config, return it in disco#info replies.
* mod_admin_adhoc, mod_admin_telnet, mod_bosh, mod_c2s, mod_component, ↵Kim Alvefur2012-07-261-2/+2
| | | | mod_pep, mod_presence, mod_roster, mod_s2s: Import core_post_stanza from the global prosody table.
* Hopefully inert commit to clean up logging across a number of modules, ↵Matthew Wild2012-07-231-1/+1
| | | | removing all cases of concatenation when building log messages
* mod_component: Allow unauthenticated components to authenticate (thanks Maranda)Matthew Wild2012-04-301-1/+1
|
* mod_component: Components start out as component_unauthed until successful ↵Matthew Wild2012-04-301-1/+2
| | | | authentication (thanks xnyhps)
* mod_component: Send <?xml on initial stream (thanks xnyhps)Matthew Wild2012-04-301-0/+1
|
* mod_component: Remove unused variableMatthew Wild2012-04-281-1/+0
|
* mod_component: Return true after denying a second component connection for a ↵Matthew Wild2012-04-271-0/+1
| | | | host (thanks xnyhps)
* mod_component: Handle component connecting to non-existent hostMatthew Wild2012-04-221-1/+1
|
* mod_component: Make a shared module, and move the xmppcomponent_listener ↵Matthew Wild2012-04-211-65/+268
| | | | into it ('port'ing over to portmanager). Ha ha.
* mod_component: removed unused variable reference, added "flagging" to assert ↵Marco Cirillo2012-01-061-2/+2
| | | | if a component is connected or not.
* mod_component: Clearer log message when bouncing a stanza from a component ↵Matthew Wild2011-06-181-1/+1
| | | | that is not connected (thanks MK)
* mod_component: Small code clarity fixMatthew Wild2011-06-041-1/+1
|