Mercurial > prosody-modules
changeset 4583:bb8459c220c9
mod_firewall: Documentation updates to reduce confusion and use inclusive language
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 05 Jun 2021 16:23:21 +0100 |
parents | cc20493018f6 |
children | f6f28ceff53a |
files | mod_firewall/README.markdown |
diffstat | 1 files changed, 9 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/README.markdown Sat Jun 05 16:22:22 2021 +0100 +++ b/mod_firewall/README.markdown Sat Jun 05 16:23:21 2021 +0100 @@ -126,8 +126,9 @@ ### Lists -It is possible to create or load lists of strings for use in scripts. For example, you might load a JID blacklist, -a list of malware URLs or simple words that you want to filter messages on. +It is possible to create or load lists of strings for use in scripts. For +example, you might load a list of blocked JIDs, malware URLs or simple words +that you want to filter messages on. List type Example ----------- ----------------------- @@ -183,13 +184,13 @@ Example: - %LIST blacklist: file:/etc/prosody/blacklist.txt + %LIST blocked_jids: file:/etc/prosody/blocked_jids.txt - # Rule to block presence subscription requests from blacklisted JIDs + # Rule to block presence subscription requests from blocked JIDs KIND: presence TYPE: subscribe - CHECK LIST: blacklist contains $<@from> - BOUNCE=policy-violation (Your JID is blacklisted) + CHECK LIST: blocked_jids contains $<@from> + BOUNCE=policy-violation (Your JID is blocked) #### SCAN @@ -279,8 +280,8 @@ FROM: <<admin%d*>>@example.com **Note:** It is important to know that 'example.com' is a valid JID on -its own, and does **not** match 'user@example.com'. To perform domain -whitelists or blacklists, use [Zones](#zones). +its own, and does **not** match 'user@example.com'. To efficiently match +domains we recommend defining them as [Zones](#zones). Condition Matches ---------------- ---------------------------------------------------------------