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
commit117b53efe5cf5a9b2c2f2da3abb0bcda0cc9aa05 (patch)
tree5eaaafe42094aabd25268e1f69da53dba9efb4a7 /spec/scansion/prosody.cfg.lua
parent923994105c47cf4d8a9df88d4afb5e7a1d0354eb (diff)
downloadprosody-117b53efe5cf5a9b2c2f2da3abb0bcda0cc9aa05.tar.gz
prosody-117b53efe5cf5a9b2c2f2da3abb0bcda0cc9aa05.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";
}