Mercurial > prosody-modules
view mod_s2s_whitelist/README.markdown @ 5792:14e17927c0ec
mod_firewall: Fix TO/FROM ROLE
These conditions did not match because get_jid_role() returns a role object.
We want to compare based on the name.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 11 Dec 2023 19:09:25 +0000 |
parents | 313937349fbc |
children |
line wrap: on
line source
This module lets you block connections to any remote servers not on a whitelist. ``` {.lua} modules_enabled = { -- other modules -- "s2s_whitelist", } s2s_whitelist = { "example.org", } ```