diff mod_firewall/README.markdown @ 2095:3b4a6d255d7a

mod_firewall: README: Add note about BOUNCE and error stanzas/iq results
author Matthew Wild <mwild1@gmail.com>
date Wed, 16 Mar 2016 12:42:51 +0000
parents 7b9520479e99
children b75d29a162cd
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