mod_host_guard/mod_host_guard.lua
changeset 519 219ffe3541ff
parent 515 e98fe28c50b0
child 528 1737c08fde30
equal deleted inserted replaced
518:d4adda950546 519:219ffe3541ff
     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", {})