Mercurial > prosody-modules
comparison mod_secure_interfaces/README.wiki @ 1782:29f3d6b7ad16
Import wiki pages
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 24 Aug 2015 16:43:56 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1781:12ac88940fe3 | 1782:29f3d6b7ad16 |
---|---|
1 #summary Mark some network interfaces (e.g. loopback/LAN) as always secure | |
2 #labels Stage-Beta | |
3 | |
4 = Introduction = | |
5 | |
6 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. | |
7 | |
8 This module allows you to tell Prosody which of the current server's interfaces (IP addresses) that you consider to be on secure networks. | |
9 | |
10 | |
11 = Configuration = | |
12 | |
13 Configuration is simple, just load the module like any other by adding it to your modules_enabled list: | |
14 | |
15 {{{ | |
16 modules_enabled = { | |
17 ... | |
18 "secure_interfaces"; | |
19 ... | |
20 } | |
21 }}} | |
22 | |
23 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): | |
24 | |
25 {{{ | |
26 secure_interfaces = { "127.0.0.1", "::1", "192.168.1.54" } | |
27 }}} | |
28 | |
29 = Compatibility = | |
30 || 0.9 || Works || | |
31 || 0.8 || Unknown || | |
32 || trunk || Works || |