aboutsummaryrefslogtreecommitdiffstats
path: root/spec/scansion/prosody.cfg.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-07-18 15:36:25 +0200
committerKim Alvefur <zash@zash.se>2020-07-18 15:36:25 +0200
commitb289d05cfbde014799fcf66fec36895bee5be071 (patch)
tree5eaaafe42094aabd25268e1f69da53dba9efb4a7 /spec/scansion/prosody.cfg.lua
parentaeaad491d454d15c215cfc4eeb587f85d6f23837 (diff)
downloadprosody-b289d05cfbde014799fcf66fec36895bee5be071.tar.gz
prosody-b289d05cfbde014799fcf66fec36895bee5be071.zip
mod_external_services: XEP-0215: External Service Discovery
Diffstat (limited to 'spec/scansion/prosody.cfg.lua')
-rw-r--r--spec/scansion/prosody.cfg.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/scansion/prosody.cfg.lua b/spec/scansion/prosody.cfg.lua
index 0bf68ddb..4e43d312 100644
--- a/spec/scansion/prosody.cfg.lua
+++ b/spec/scansion/prosody.cfg.lua
@@ -62,6 +62,7 @@ modules_enabled = {
--"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 @@ contact_info = {
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";
}