mod_firewall/README.markdown
changeset 5842 1ae8f7b3787a
parent 5708 ad5c77793750
equal deleted inserted replaced
5841:7d11a3133d17 5842:1ae8f7b3787a
   660   `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.
   660   `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.
   661   `FORWARD=jid`            Forward a copy of the stanza to the given JID (using XEP-0297). The stanza will be sent from the current host's JID.
   661   `FORWARD=jid`            Forward a copy of the stanza to the given JID (using XEP-0297). The stanza will be sent from the current host's JID.
   662 
   662 
   663 ### Reporting
   663 ### Reporting
   664 
   664 
   665   Action                    Description
   665   Action                           Description
   666   ------------------------  ---------------------------------------------------------------------------------------------------------------------------------------------------------
   666   -------------------------------  ---------------------------------------------------------------------------------------------------------------------------------------------------------
   667   `REPORT=jid reason text`  Forwards the full stanza to `jid` with a XEP-0377 abuse report attached.
   667   `REPORT TO=jid [reason] [text]`  Forwards the full stanza to `jid` with a XEP-0377 abuse report attached.
   668 
   668 
   669 Only the `jid` is mandatory. The `reason` parameter should be either `abuse`, `spam` or a custom URI. If not specified, it defaults to `abuse`.
   669 Only the `jid` is mandatory. The `reason` parameter should be either `abuse`, `spam` or a custom URI. If not specified, it defaults to `abuse`.
   670 After the reason, some human-readable text may be included to explain the report.
   670 After the reason, some human-readable text may be included to explain the report.
   671 
   671 
   672 Example:
   672 Example: