Mercurial > prosody-modules
annotate mod_turncredentials/README.md @ 6319:04c3273cb81f
mod_auth_cyrus: Add empty 'profile' table to SASL handler objects
This is for compatibility with Prosody's built-in util.sasl objects.
A SASL profile table usually includes methods supported by the backend, which
can be used by SASL mechanism handlers to perform operations (such as testing
the password). It also optionally contains a 'cb' field with channel binding
method handlers.
The Cyrus backend doesn't support channel binding, and doesn't have the same
concept of auth backend methods (it handles all that internally, and Prosody
has no insight or control over it).
Thus, we create an empty profile which informs Prosody that the SASL handler
does not support any of the auth or channel binding methods. Some features
will not work, but they didn't work anyway. This just makes it explicit.
This fixes a traceback in mod_sasl2_fast, which expected SASL handlers to
always contain a 'profile' field.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 04 Sep 2025 10:14:46 +0100 |
| parents | 78418e86c003 |
| children |
| rev | line source |
|---|---|
|
5983
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
1 --- |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
2 summary: Implement XEP-0215 |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
3 labels: |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
4 - 'Stage-Obsolete' |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
5 ... |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
6 |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
7 ::: {.alert .alert-warning} |
|
5986
78418e86c003
mod_turncredentials: fix copy error.
Menel <menel@snikket.de>
parents:
5983
diff
changeset
|
8 A similar module is already included in prosody since 0.12, see [mod_turn_external][doc:modules:mod_turn_external] making this module obsolete. |
|
5983
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
9 ::: |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
10 |
|
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
11 # Introduction |
|
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
12 |
|
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
13 [XEP-0215] implementation for [time-limited TURN |
|
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
14 credentials](https://tools.ietf.org/html/draft-uberti-behave-turn-rest-00). |
|
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
15 |
|
4002
9e84a9cc3415
mod_turncredentials/README: Markdown syntax normalization
Kim Alvefur <zash@zash.se>
parents:
4001
diff
changeset
|
16 # Configuration |
|
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
17 |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
18 Option Type Default |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
19 ------------------------- -------- ------------ |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
20 turncredentials\_secret string *required* |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
21 turncredentials\_host string *required* |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
22 turncredentials\_port number `3478` |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
23 turncredentials\_ttl number `86400` |
|
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
24 |
|
4003
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
25 # Compatible TURN / STUN servers. |
|
2473
fa8fe2ab332f
mod_turncredentials: Add a stub README
Kim Alvefur <zash@zash.se>
parents:
diff
changeset
|
26 |
|
4003
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
27 - [coturn](https://github.com/coturn/coturn) - [setup guide][doc:coturn] |
|
b6fdd7e24bcc
mod_turncredentials/README: Link to some stun/turn implementations (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4002
diff
changeset
|
28 - [restund](http://www.creytiv.com/restund.html) |
|
4055
cf1304ad2336
mod_turncredentials/README: Link to eturnal (thanks Holger)
Kim Alvefur <zash@zash.se>
parents:
4020
diff
changeset
|
29 - [eturnal](https://eturnal.net/) |
|
4020
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
30 |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
31 # Compatibility |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
32 |
|
4b47c8eeca22
mod_extdisco, mod_turncredentials: Note incompatibility in readmes.
tastytea <tastytea@tastytea.de>
parents:
4005
diff
changeset
|
33 Incompatible with [mod_extdisco](https://modules.prosody.im/mod_extdisco.html) |
|
5983
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
34 |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
35 ------- -------------- |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
36 0.12 Works |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
37 0.11 Works |
|
e37473232b0d
mod_turncredentials: marking obsolete
Menel <menel@snikket.de>
parents:
5975
diff
changeset
|
38 ------- -------------- |
