# HG changeset patch # User Matthew Wild # Date 1622906601 -3600 # Node ID bb8459c220c9cd34230d20fe4c6caa2dde948206 # Parent cc20493018f6ded5723afaf70f99f07b007168fe mod_firewall: Documentation updates to reduce confusion and use inclusive language diff -r cc20493018f6 -r bb8459c220c9 mod_firewall/README.markdown --- 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: <>@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 ---------------- ---------------------------------------------------------------