Table of Contents

mod_legacyauth

Some old clients and bots are unable to use the SASL features provided by mod_tls so mod_legacyauth is required if it is necessary to support them.

Details

mod_legacyauth implements XEP-0078.

Usage

    modules_enabled = {
        -- Other modules
        "legacyauth"; -- Enable mod_legacyauth
    }

Configuration

Option Default Notes
c2s_require_encryption false Whether client-to-server encryption is required
require_encryption false Same as above, used as a fallback if c2s_require_encryption isn't set
legacy_ssl_ports { 5223 } Specify which ports to listen for SSL connections

Example

    modules_enabled = {
        -- Other modules
        "legacyauth"; -- Enable mod_legacyauth
    }
 
    c2s_require_encryption = true
    legacy_ssl_ports = { 5223, 6543 }