Comparison

mod_firewall/README.markdown @ 2095:3b4a6d255d7a

mod_firewall: README: Add note about BOUNCE and error stanzas/iq results
author Matthew Wild <mwild1@gmail.com>
date Wed, 16 Mar 2016 12:42:51 +0000
parent 2093:7b9520479e99
child 2096:b75d29a162cd
comparison
equal deleted inserted replaced
2094:a1e9ca4cb181 2095:3b4a6d255d7a
292 `BOUNCE.` Bounce the stanza with the default error (usually service-unavailable) 292 `BOUNCE.` Bounce the stanza with the default error (usually service-unavailable)
293 `BOUNCE=error` Bounce the stanza with the given error (MUST be a defined XMPP stanza error, see [RFC6120](http://xmpp.org/rfcs/rfc6120.html#stanzas-error-conditions). 293 `BOUNCE=error` Bounce the stanza with the given error (MUST be a defined XMPP stanza error, see [RFC6120](http://xmpp.org/rfcs/rfc6120.html#stanzas-error-conditions).
294 `BOUNCE=error (text)` As above, but include the supplied human-readable text with a description of the error 294 `BOUNCE=error (text)` As above, but include the supplied human-readable text with a description of the error
295 `COPY=jid` Make a copy of the stanza and send the copy to the specified JID. The copied stanza flows through Prosody's routing code, and as such is affected by firewall rules. Be careful to avoid loops. 295 `COPY=jid` Make a copy of the stanza and send the copy to the specified JID. The copied stanza flows through Prosody's routing code, and as such is affected by firewall rules. Be careful to avoid loops.
296 296
297 **Note:** It is incorrect behaviour to reply to an 'error' stanza with another error, so BOUNCE will simply act the same as 'DROP' for stanzas that should not be bounced (error stanzas and iq results).
298
297 ### Stanza modification 299 ### Stanza modification
298 300
299 These actions make it possible to modify the content and structure of a 301 These actions make it possible to modify the content and structure of a
300 stanza. 302 stanza.
301 303