mod_firewall: README: Add note about BOUNCE and error stanzas/iq results
authorMatthew Wild <mwild1@gmail.com>
Wed, 16 Mar 2016 12:42:51 +0000
changeset 2099 3b4a6d255d7a
parent 2098 a1e9ca4cb181
child 2100 b75d29a162cd
mod_firewall: README: Add note about BOUNCE and error stanzas/iq results
mod_firewall/README.markdown
--- 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