changeset 2095:3b4a6d255d7a

mod_firewall: README: Add note about BOUNCE and error stanzas/iq results
author Matthew Wild <>
date Wed, 16 Mar 2016 12:42:51 +0000
parents a1e9ca4cb181
children b75d29a162cd
files mod_firewall/README.markdown
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/README.markdown	Wed Mar 16 12:42:17 2016 +0000
+++ b/mod_firewall/README.markdown	Wed Mar 16 12:42:51 2016 +0000
@@ -294,6 +294,8 @@
   `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. The copied stanza flows through Prosody's routing code, and as such is affected by firewall rules. Be careful to avoid loops.
+**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).
 ### Stanza modification
 These actions make it possible to modify the content and structure of a