Mercurial > prosody-wiki
changeset 282:caffa894b070
Add table of config options with descriptions
author | MWild1@gmail.com |
---|---|
date | Sat, 26 May 2012 21:13:49 +0000 |
parents | a0d014edd8df |
children | bc0b13c53b57 |
files | mod_host_guard.wiki |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_host_guard.wiki Sat May 26 21:06:41 2012 +0000 +++ b/mod_host_guard.wiki Sat May 26 21:13:49 2012 +0000 @@ -15,7 +15,15 @@ * The plugin can work either by blocking all remote access (s2s) to a certain resource with optional exceptions (useful for components) * Or by selectively blocking certain remote hosts through blacklisting (by using host_guard_selective and host_guard_blacklisting) -Module configuration syntax: += Configuration = + +|| *Option name* || *Description* || +|| host_guard_blockall || A list of local hosts to protect from incoming s2s || +|| host_guard_blockall_exceptions || A list of remote hosts that are always allowed to access hosts listed in host_guard_blockall || +|| host_guard_selective || A list of local hosts to allow selective filtering (blacklist) of incoming s2s connections || +|| host_guard_blacklist || A blacklist of remote hosts that are not allowed to access hosts listed in host_guard_selective || + +== Example == <code language="lua"> host_guard_blockall = { "no_access.yourhost.com", "no_access2.yourhost.com" } -- insert here the local hosts where you want to forbid all remote traffic to. host_guard_blockall_exceptions = { "i_can_access.no_access.yourhost.com" } -- optional exceptions for the above.