Mercurial > prosody-modules
view mod_s2s_whitelist/README.markdown @ 3981:7e8f2e36419d
mod_firewall: Use util.envload instead of deprecated loadstring (thanks Martin)
loadstring was deprecated in Lua 5.2 and removed from in 5.3
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 19 Apr 2020 23:37:13 +0200 |
parents | 6e5bde0879ad |
children | 313937349fbc |
line wrap: on
line source
This module lets you block connections to any remote servers not on a whitelist. ``` {.lua} s2s_whitelist = { "example.org", } ```