Comparison

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
comparison
equal deleted inserted replaced
11035:ba1143ddae9b 11036:79e410cd7f6e
60 --"watchregistrations"; -- Alert admins of registrations 60 --"watchregistrations"; -- Alert admins of registrations
61 --"motd"; -- Send a message to users when they log in 61 --"motd"; -- Send a message to users when they log in
62 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots. 62 --"legacyauth"; -- Legacy authentication. Only used by some old clients and bots.
63 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use 63 --"proxy65"; -- Enables a file transfer proxy service which clients behind NAT can use
64 "lastactivity"; 64 "lastactivity";
65 "external_services";
65 66
66 -- Useful for testing 67 -- Useful for testing
67 --"scansion_record"; -- Records things that happen in scansion test case format 68 --"scansion_record"; -- Records things that happen in scansion test case format
68 } 69 }
69 70
73 feedback = { "http://localhost/feedback.html", "mailto:feedback@localhost", "xmpp:feedback@localhost" }; 74 feedback = { "http://localhost/feedback.html", "mailto:feedback@localhost", "xmpp:feedback@localhost" };
74 sales = { "xmpp:sales@localhost" }; 75 sales = { "xmpp:sales@localhost" };
75 security = { "xmpp:security@localhost" }; 76 security = { "xmpp:security@localhost" };
76 status = { "gopher://status.localhost" }; 77 status = { "gopher://status.localhost" };
77 support = { "https://localhost/support.html", "xmpp:support@localhost" }; 78 support = { "https://localhost/support.html", "xmpp:support@localhost" };
79 }
80
81 external_service_host = "default.example"
82 external_service_port = 9876
83 external_service_secret = "<secret>"
84 external_services = {
85 {type = "stun"; transport = "udp"};
86 {type = "turn"; transport = "udp"; secret = true};
87 {type = "turn"; transport = "udp"; secret = "foo"};
88 {type = "ftp"; transport = "tcp"; port = 2121; username = "john"; password = "password"};
89 {type = "ftp"; transport = "tcp"; host = "ftp.example.com"; port = 21; username = "john"; password = "password"};
78 } 90 }
79 91
80 modules_disabled = { 92 modules_disabled = {
81 "s2s"; 93 "s2s";
82 } 94 }