Mercurial > prosody-modules
annotate mod_s2s_never_encrypt_blacklist/README.markdown @ 5285:8e1f1eb00b58
mod_sasl2_fast: Fix harmless off-by-one error (invalidates existing tokens!)
Problem:
This was causing the key to become "<token>--cur" instead of the expected
"<token>-cur". As the same key was used by the code to both set and get, it
still worked.
Rationale for change:
Although it worked, it's unintended, inconsistent and messy. It increases the
chances of future bugs due to the unexpected format.
Side-effects of change:
Existing '--cur' entries will not be checked after this change, and therefore
existing FAST clients will fail to authenticate until they attempt password
auth and obtain a new FAST token.
Existing '--cur' entries in storage will not be cleaned up by this commit, but
this is considered a minor issue, and okay for the relatively few FAST
deployments.
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 29 Mar 2023 16:12:15 +0100 |
parents | 4d73a1a6ba68 |
children |
rev | line source |
---|---|
1803 | 1 --- |
2 labels: | |
3 - 'Stage-Beta' | |
4 summary: | | |
5 Stops prosody from including starttls into available features for | |
6 specified remote servers. | |
7 ... | |
8 | |
9 Details | |
10 ------- | |
11 | |
12 Let's you stop Prosody from sending \<starttls | |
13 xmlns='urn:ietf:params:xml:ns:xmpp-tls'\> feature to choppy/buggy | |
14 servers which therefore would fail to re-negotiate and use a secure | |
15 stream. (e.g. [OpenFire | |
16 3.7.0](http://issues.igniterealtime.org/browse/OF-405)) | |
17 | |
18 Usage | |
19 ----- | |
20 | |
21 Copy the plugin into your prosody's modules directory. | |
22 | |
23 And add it between your enabled modules into the global section | |
24 (modules\_enabled). | |
25 | |
26 Then list each host as follow: | |
27 | |
28 tls_s2s_blacklist = { "host1.tld", "host2.tld", "host3.tld" } | |
29 | |
30 In the unfortunate case of OpenFire... you can add the Server's ip | |
31 address directly as it may not send proper rfc6121 requests. | |
32 | |
33 tls_s2s_blacklist_ip = { "a.a.a.a", "b.b.b.b", "c.c.c.c" } | |
34 | |
35 Compatibility | |
36 ------------- | |
37 | |
38 It's supposed to work with 0.7-0.8.x |