Mercurial > prosody-modules
annotate mod_proxy65_whitelist/README.md @ 6092:bd3ff802d883
mod_anti_spam: Fix another traceback for origin sessions without an IP
This is likely to be the case for stanzas originating from local hosts, for
example (so not true s2s). It should be safe to bypass the IP check for those.
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sat, 28 Dec 2024 21:02:08 +0000 |
| 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 |
