comparison mod_firewall/README.markdown @ 5838:1ae8f7b3787a

mod_firewall: Fix REPORT TO action name in documentation
author Matthew Wild <mwild1@gmail.com>
date Mon, 12 Feb 2024 16:31:25 +0000
parents ad5c77793750
children
comparison
equal deleted inserted replaced
5837:7d11a3133d17 5838: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: