view mod_secure_interfaces/README.markdown @ 4709:679f1834dbdb default tip

mod_delegation: update to XEP-0355 v0.5 - namespace bump to "urn:xmpp:delegation:2" - disco remaining infos now uses the XEP defined "urn:xmpp:delegation:2:bare:disco#info:*" namespace - complemeted disco remaining infos implementation for requests made on nodes not already managed by the server - bare JID disco items now uses the XEP defined "urn:xmpp:delegation:2:bare:disco#items:*'" namespace
author Goffi <>
date Fri, 15 Oct 2021 15:10:36 +0200
parents 4d73a1a6ba68
line wrap: on
line source

- 'Stage-Beta'
summary: 'Mark some network interfaces (e.g. loopback/LAN) as always secure'


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 is simple, just load the module like any other by adding
it to your modules\_enabled list:

        modules_enabled = {

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

        secure_interfaces = { "", "::1", "" }


  ------- ---------
  0.9     Works
  0.8     Unknown
  trunk   Works
  ------- ---------