Software /
code /
prosody
Diff
spec/scansion/prosody.cfg.lua @ 11036:79e410cd7f6e
mod_external_services: XEP-0215: External Service Discovery
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 18 Jul 2020 15:36:25 +0200 |
parent | 11010:6b27cb706b89 |
child | 11251:520b09bbbad5 |
line wrap: on
line diff
--- a/spec/scansion/prosody.cfg.lua Mon Apr 13 02:49:19 2020 +0200 +++ b/spec/scansion/prosody.cfg.lua Sat Jul 18 15:36:25 2020 +0200 @@ -62,6 +62,7 @@ --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use "lastactivity"; + "external_services"; -- Useful for testing --"scansion_record"; -- Records things that happen in scansion test case format @@ -77,6 +78,17 @@ support = { "https://localhost/support.html", "xmpp:support@localhost" }; } +external_service_host = "default.example" +external_service_port = 9876 +external_service_secret = "<secret>" +external_services = { + {type = "stun"; transport = "udp"}; + {type = "turn"; transport = "udp"; secret = true}; + {type = "turn"; transport = "udp"; secret = "foo"}; + {type = "ftp"; transport = "tcp"; port = 2121; username = "john"; password = "password"}; + {type = "ftp"; transport = "tcp"; host = "ftp.example.com"; port = 21; username = "john"; password = "password"}; +} + modules_disabled = { "s2s"; }