Changeset

5533:09311a8a3cfa

mod_firewall: spam-blocking.pfw: Remove requirement for invites to have no body Some clients (e.g. Gajim) send a body, which I guess makes sense. The bare JID sender check should already make it hard to bypass this (i.e. a normal client putting muc#user into a normal chat message shouldn't bypass the usual message filters).
author Matthew Wild <mwild1@gmail.com>
date Thu, 08 Jun 2023 12:20:34 +0100
parents 5532:d84757f9adcb
children 5534:7b4e0c3642bf
files mod_firewall/scripts/spam-blocking.pfw
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_firewall/scripts/spam-blocking.pfw	Thu Jun 08 11:30:39 2023 +0100
+++ b/mod_firewall/scripts/spam-blocking.pfw	Thu Jun 08 12:20:34 2023 +0100
@@ -100,7 +100,6 @@
 # Mediated MUC invitations are naturally from 'strangers' and have special
 # handling. We lean towards accepting them, unless overridden by custom rules.
 NOT FROM FULL JID?
-NOT INSPECT: body
 INSPECT: {http://jabber.org/protocol/muc#user}x/invite
 JUMP CHAIN=user/spam_check_muc_invite