aboutsummaryrefslogtreecommitdiffstats
path: root/core/stanza_router.lua
Commit message (Collapse)AuthorAgeFilesLines
* stanza_router: only fire pre-stanza if firing other preevents (e.g. for c2s ↵Matthew Wild2020-02-051-6/+6
| | | | sessions)
* stanza_router: Add once-per-routed-stanza event, pre-stanzaMatthew Wild2020-02-051-1/+8
|
* core.stanza_router: Silence warning about unused err_message [luacheck]Kim Alvefur2019-12-201-1/+1
|
* core.stanza_router: Extract host part of JIDs directly [luacheck]Kim Alvefur2019-12-201-3/+4
| | | | Silences warning about unused return values
* Backed out changeset 64ddcbc9a328 as it would prevent communicating with ↵Kim Alvefur2019-10-301-1/+1
| | | | valid remote JIDs that aren't valid under STRINGPREP / Unicode 3.2
* core.stanza_router: Do strict jidprep on c2sKim Alvefur2019-09-091-1/+1
| | | | | | | | | | Be conservative in what you let your clients send, be liberal in what you let in via s2s. Being strict on s2s leads to interop problems and poor experiences, ie users being ejected from MUCs if something invalid enters. By starting with tightening up input into the network, we may be able to gradually approach a point where no invalid JIDs are allowed.
* core.stanza_router: Handle s2s in more direction-agnostic wayKim Alvefur2019-09-071-2/+2
|
* core.stanza_router: Remove tostring call from loggingKim Alvefur2019-07-301-1/+1
| | | | Taken care of by loggingmanager now
* stanza_router: Remove deprecation warning for core routing functions from ↵Kim Alvefur2018-10-211-10/+0
| | | | global scope (deprecated in 0.9)
* core.stanza_router: Reduce logging of common routing (#776)Kim Alvefur2018-07-221-2/+1
|
* stanza_router: Limit scope of deprecated warning function since it is not ↵Kim Alvefur2018-03-231-1/+1
| | | | used anywhere else [luacheck]
* core.stanza_router: Verify that xmlns exists for firing stanza/iq/xmlns/name ↵Kim Alvefur2017-10-171-1/+2
| | | | events (fixes #1022) (thanks SamWhited)
* core: Split some very long lines [luacheck]Kim Alvefur2017-03-041-4/+8
|
* stanza_router: Fix typoKim Alvefur2017-01-021-1/+1
|
* core.stanza_router: Remove hack for allowing resource binding IQ before ↵Kim Alvefur2016-12-131-10/+0
| | | | resource binding
* core.stanza_router: Separate iq type check from child count checkKim Alvefur2016-11-251-2/+5
|
* core.stanza_router: Require 'id' attribute on iq stanzas (fixes #785)Kim Alvefur2016-11-251-0/+3
|
* stanza_router: Make 'unhandled stanza' errors more informativeMatthew Wild2016-08-311-1/+6
|
* core.stanza_router: Remove compatibility with Jabiru not including id ↵Kim Alvefur2016-05-301-1/+0
| | | | attribute (originally added in 9b352c8a32e6)
* portmanager, s2smanager, sessionmanager, stanza_router, storagemanager, ↵Matthew Wild2015-05-061-1/+3
| | | | usermanager, util.xml: Add luacheck annotations
* Merge 0.9->0.10Kim Alvefur2015-01-261-1/+1
|\
| * stanza_router: Fix routing of 'error' IQs with multiple childs (thanks Pawel)Kim Alvefur2015-01-061-1/+1
| |
* | core.stanza_router, mod_s2s: Move handling of S2S features to mod_s2s from ↵Kim Alvefur2014-09-091-1/+1
| | | | | | | | stanza_router
* | Merge 0.9->0.10Kim Alvefur2014-09-091-21/+24
|\|
| * core.stanza_router: Stricter validation of stanzasKim Alvefur2014-09-091-21/+24
| |
* | Remove all trailing whitespaceFlorian Zeitz2013-08-091-2/+2
|/
* stanza_router: Warn if the global core_*_stanza() functions are calledKim Alvefur2012-07-261-0/+12
|
* stanza_router: Also don't bounce <iq type='result'>Matthew Wild2012-05-271-1/+1
|
* stanza_router: Don't bounce type=error stanzasKim Alvefur2012-05-271-0/+2
|
* prosody, stanza_router: Load stanza_router earlier. Put routing functions in ↵Kim Alvefur2012-05-141-0/+3
| | | | the global prosody table. Fixes module:send()
* stanza_router: Fix variable nameMatthew Wild2012-05-121-2/+2
|
* stanza_router: Close stream for unhandled stanzas from unauthenticated ↵Matthew Wild2012-05-121-2/+2
| | | | connections (we can't reply)
* stanza_router: Remove FIXME comment and close stream with not-authorized for ↵Matthew Wild2012-05-121-1/+2
| | | | s2s stanzas from unauthed domains
* stanza_router: Catch s2s stanzas to hosts we don't serve earlier, and close ↵Matthew Wild2012-05-121-0/+4
| | | | with host-unknown (thanks darkrain)
* stanza_router: Fire route/remote per-hostMatthew Wild2012-05-041-3/+4
|
* stanza_router: Allow route/remote handlers to return false to block a stanzaMatthew Wild2012-05-041-1/+1
|
* stanza_router: Replace s2s send logic with firing of a 'route/remote' eventMatthew Wild2012-01-231-16/+7
|
* stanza_router: Remove obsolete commented codeMatthew Wild2012-01-231-5/+0
|
* stanza_router: Return a <bad-request/> error on invalid IQ type.Waqas Hussain2011-01-291-2/+3
|
* componentmanager, stanza_router: Get rid of componentmanager.handle_stanza().Waqas Hussain2010-11-101-6/+0
|
* modulemanager, stanza_router: Moved modulemanager.handle_stanza to ↵Waqas Hussain2010-10-161-3/+24
| | | | stanza_router, as a local function handle_unhandled_stanza. modulemanager is no longer a dependency of stanza_router.
* Merge 0.6->0.7Matthew Wild2010-03-301-7/+4
|\
| * stanza_router, s2smanager, modulemanager: Fix for handling of the default ↵Matthew Wild2010-03-301-7/+4
| | | | | | | | namespace on stanzas, causing sometimes jabber:client to be sent over s2s, and accepted
* | Merge 0.6->0.7Matthew Wild2010-03-221-2/+2
|\|
| * Update copyright headers for 2010Matthew Wild2010-03-221-2/+2
| |
| * stanza_router: Don't send error replies for stanzas of type 'error' and ↵Waqas Hussain2010-03-041-1/+3
| | | | | | | | 'result' on unbound authenticated connections.
| * stanza_router: Allow non-jabber:client elements after auth, before bind.Waqas Hussain2010-03-041-1/+1
| |
| * stanza_router: Added third parameter to core_post_stanza, to control pre-events.Waqas Hussain2010-01-291-3/+3
| |
| * stanza_router: Log the name of unhandled stanzas (thanks bear)Matthew Wild2010-01-181-1/+1
| |
* | stanza_router: Don't send error replies for stanzas of type 'error' and ↵Waqas Hussain2010-03-221-1/+3
| | | | | | | | 'result' on unbound authenticated connections. [originally fa84451e9b35 in 0.6]