Mercurial > prosody-modules
annotate mod_proxy65_whitelist/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 | fe081789f7b5 |
| children |
| rev | line source |
|---|---|
|
1820
8de50be756e5
Various README files: Correct indentation levels, fix syntax and other small fixes
Kim Alvefur <zash@zash.se>
parents:
1803
diff
changeset
|
1 --- |
|
5899
694b62d8a82f
various/README: Fix 'labels' metadata, should be a list
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
2 labels: |
|
694b62d8a82f
various/README: Fix 'labels' metadata, should be a list
Kim Alvefur <zash@zash.se>
parents:
1820
diff
changeset
|
3 - Stage-Alpha |
| 1803 | 4 summary: Limit which file transfer users can use |
| 5 ... | |
| 6 | |
| 7 Introduction | |
| 8 ------------ | |
| 9 | |
| 10 This module attempts to restrict use of non-whitelisted XEP-0065 | |
| 11 proxies. | |
| 12 | |
| 13 Configuration | |
| 14 ------------- | |
| 15 | |
| 16 Without any options, the module will restrict users to local [proxy65 | |
| 17 components](https://prosody.im/doc/modules/mod_proxy65). | |
| 18 | |
| 19 -- additional proxies to allow | |
| 20 allowed_streamhosts = { "proxy.eu.jabber.org" } | |
| 21 | |
| 22 The module will add all local proxies to that list. To prevent it from | |
| 23 doing that, set | |
| 24 | |
| 25 allow_local_streamhosts = false |
