# HG changeset patch # User MWild1@gmail.com # Date 1386948900 0 # Node ID f26be0f12027c05c70f0d693d52e34800ffffece # Parent 30cf284e5680ef5ca022181c885137b5f91ead87 Created wiki page through web user interface. diff -r 30cf284e5680 -r f26be0f12027 mod_secure_interfaces.wiki --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mod_secure_interfaces.wiki Fri Dec 13 15:35:00 2013 +0000 @@ -0,0 +1,32 @@ +#summary Mark some network interfaces (e.g. loopback/LAN) as always secure +#labels Stage-Beta + += Introduction = + +Sometimes you might run clients without encryption on the same machine or LAN as Prosody - and you want Prosody to treat them as secure (e.g. allowing plaintext authentication) even though they are not encrypted. + +This module allows you to tell Prosody which of the current server's interfaces (IP addresses) that you consider to be on secure networks. + + += Configuration = + +Configuration is simple, just load the module like any other by adding it to your modules_enabled list: + +{{{ + modules_enabled = { + ... + "secure_interfaces"; + ... + } +}}} + +Then set the list of secure interfaces (just make sure it is set in the global section of your config file, and *not* under a VirtualHost or Component): + +{{{ + secure_interfaces = { "127.0.0.1", "::1", "192.168.1.54" } +}}} + += Compatibility = +|| 0.9 || Works || +|| 0.8 || Unknown || +|| trunk || Works || \ No newline at end of file