Comparison

mod_firewall/README.markdown @ 2092:f5d78bc016a6

mod_firewall: README: Add warning about COPY action's ability to cause loops (thanks Ge0rG)
author Matthew Wild <mwild1@gmail.com>
date Wed, 16 Mar 2016 11:46:20 +0000
parent 2047:2ec7c0b8a371
child 2093:7b9520479e99
comparison
equal deleted inserted replaced
2086:de6b95d5e01b 2092:f5d78bc016a6
290 `REDIRECT=jid` Redirect the stanza to the given JID. 290 `REDIRECT=jid` Redirect the stanza to the given JID.
291 `REPLY=text` Reply to the stanza (assumed to be a message) with the given text. 291 `REPLY=text` Reply to the stanza (assumed to be a message) with the given text.
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. 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 ### Stanza modification 297 ### Stanza modification
298 298
299 These actions make it possible to modify the content and structure of a 299 These actions make it possible to modify the content and structure of a
300 stanza. 300 stanza.