Mercurial > prosody-modules
view mod_firewall/scripts/jabberspam-simple-blocklist.pfw @ 5495:7998b49d6512
mod_http_oauth2: Create proper template for OOB code delivery
This also improves security by reusing the security and cache headers,
where mod_http_errors/http-message doesn't add such headers.
Colors selected by taking rotating the error colors, rrggbb -> ggbbrr
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 31 May 2023 03:44:04 +0200 |
parents | bebc5740fc16 |
children |
line wrap: on
line source
# This is a simple ruleset to block all traffic from servers # on the JabberSPAM blocklist. Even traffic from existing user # contacts will be blocked. # # Example config (make sure "firewall" is in modules_enabled): # # firewall_scripts = { "module:scripts/jabberspam-simple-blocklist.pfw" } # # For a more advanced ruleset, consider using spam-blocking.pfw # and spam-blocklists.pfw. %LIST blocklist: https://cdn.jsdelivr.net/gh/jabberspam/blacklist/blacklist.txt ::deliver CHECK LIST: blocklist contains $<@from|host> BOUNCE=policy-violation (Your server is blocked due to spam)