One frequent complaint about XMPP chatrooms (MUCs) compared to IRC is the inability for a room admin to ban a user based on their IP address. This is because an XMPP user is not identified on the network by their IP address, only their JID.
This means that it is possible to create a new account (usually quite easily), and rejoin the room that you were banned from.
This module allows the user’s server to enforce bans by IP address, which is very desirable for server admins who want to prevent their server being used for spamming and abusive behaviour.
An important point to note is that this module enforces the IP ban on the banned user’s server, not on the MUC server. This means that:
Also note that IP bans are not saved permanently, and are reset upon a server restart.
There is no extra configuration for this module except for loading
it. Remember… do not load it on the MUC host, simply add it to your
global modules_enabled
list, or under a specific host
like:
"anon.example.com"
VirtualHost = "anonymous"
authentication = { "muc_ban_ip" } modules_enabled
0.9 | Works |
0.8 | Doesn’t work |
With the plugin installer in Prosody 0.12 you can use:
sudo prosodyctl install --server=https://modules.prosody.im/rocks/ mod_muc_ban_ip
For earlier versions see the documentation for installing 3rd party modules