Software /
code /
prosody-modules
Comparison
mod_host_guard/mod_host_guard.lua @ 522:0c756f62758d
Merge
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 06 Jan 2012 12:13:14 +0100 |
parent | 519:219ffe3541ff |
child | 528:1737c08fde30 |
comparison
equal
deleted
inserted
replaced
521:6d0d2673f95e | 522:0c756f62758d |
---|---|
1 -- (C) 2011, Marco Cirillo (LW.Org) | 1 -- (C) 2011, Marco Cirillo (LW.Org) |
2 -- Block or restrict by blacklist remote access to local components. | 2 -- Block or restrict by blacklist remote access to local components or hosts. |
3 | 3 |
4 module:set_global() | 4 module:set_global() |
5 | 5 |
6 local guard_blockall = module:get_option_set("host_guard_blockall", {}) | 6 local guard_blockall = module:get_option_set("host_guard_blockall", {}) |
7 local guard_ball_wl = module:get_option_set("host_guard_blockall_exceptions", {}) | 7 local guard_ball_wl = module:get_option_set("host_guard_blockall_exceptions", {}) |