Mercurial > prosody-modules
annotate mod_extdisco/README.md @ 6556:7477e97a9045
mod_firewall: Apply pre-reload state before re-reading config
This change makes load/reload a bit more robust. module.load() runs before
module.restore() and it reads from the config and updates the state (if
needed).
However, after this, module.restore() could run and apply the old state again.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 24 May 2026 20:03:20 +0100 |
| parents | 8d75d5f82a83 |
| children |
| rev | line source |
|---|---|
| 1889 | 1 --- |
| 2 summary: External Service Discovery | |
|
6459
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
3 superseded_by: mod_external_services |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
4 labels: |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
5 - 'Stage-Obsolete' |
| 1889 | 6 ... |
| 7 | |
|
6459
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
8 |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
9 ::: {.alert .alert-warning} |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
10 This module is obsolete, please use [mod_external_services] (nearly exact replacement) |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
11 or [mod_turn_external] (narrow scope for turn), both included in prosody. |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
12 ::: |
|
8d75d5f82a83
mod_extdisco/README.md: mark as superseded
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
13 |
| 1889 | 14 Introduction |
| 15 ============ | |
| 16 | |
| 17 This module adds support for [XEP-0215: External Service Discovery], | |
| 18 which lets Prosody advertise non-XMPP services. | |
| 19 | |
| 20 Configuration | |
| 21 ============= | |
| 22 | |
| 23 Example services from the XEP: | |
| 24 | |
| 25 ``` {.lua} | |
| 26 modules_enabled = { | |
| 27 -- other modules ... | |
| 28 "extdisco"; | |
| 29 } | |
| 30 | |
| 31 external_services = { | |
| 32 ["stun.shakespeare.lit"] = { | |
| 33 port="9998"; | |
| 34 transport="udp"; | |
| 35 type="stun"; | |
| 36 }; | |
| 37 ["relay.shakespeare.lit"] = { | |
| 38 password="jj929jkj5sadjfj93v3n"; | |
| 39 port="9999"; | |
| 40 transport="udp"; | |
| 41 type="turn"; | |
| 42 username="nb78932lkjlskjfdb7g8"; | |
| 43 }; | |
| 44 ["192.0.2.1"] = { | |
| 45 port="8888"; | |
| 46 transport="udp"; | |
| 47 type="stun"; | |
| 48 }; | |
| 49 ["192.0.2.1"] = { | |
| 50 port="8889"; | |
| 51 password="93jn3bakj9s832lrjbbz"; | |
| 52 transport="udp"; | |
| 53 type="turn"; | |
| 54 username="auu98sjl2wk3e9fjdsl7"; | |
| 55 }; | |
| 56 ["ftp.shakespeare.lit"] = { | |
| 57 name="Shakespearean File Server"; | |
| 58 password="guest"; | |
| 59 port="20"; | |
| 60 transport="tcp"; | |
| 61 type="ftp"; | |
| 62 username="guest"; | |
| 63 }; | |
| 64 } | |
| 65 ``` | |
|
4020
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
66 |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
67 Compatibility |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
68 ============= |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
69 |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
70 Incompatible with |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
1889
diff
changeset
|
71 [mod_turncredentials](https://modules.prosody.im/mod_turncredentials). |
