Software /
code /
prosody-modules
Diff
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 |
line wrap: on
line diff
--- a/mod_firewall/README.markdown Wed Mar 16 11:09:46 2016 +0000 +++ b/mod_firewall/README.markdown Wed Mar 16 11:46:20 2016 +0000 @@ -292,7 +292,7 @@ `BOUNCE.` Bounce the stanza with the default error (usually service-unavailable) `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). `BOUNCE=error (text)` As above, but include the supplied human-readable text with a description of the error - `COPY=jid` Make a copy of the stanza and send the copy to the specified JID. + `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. ### Stanza modification