# HG changeset patch # User Matthew Wild # Date 1458128780 0 # Node ID f5d78bc016a620e3dbac419bdcaa5bd9586c8c21 # Parent de6b95d5e01b357adb1595f2b643d9b1d6412fab mod_firewall: README: Add warning about COPY action's ability to cause loops (thanks Ge0rG) diff -r de6b95d5e01b -r f5d78bc016a6 mod_firewall/README.markdown --- 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