annotate mod_s2s_blacklist/README.markdown @ 4727:e6f46d1b3337

mod_rest: Set type on temp session to satisfy certain auth checks E.g. mod_external_services and some others use `origin.type == "c2s"` as access check, which rejected the previous nil value.
author Kim Alvefur <zash@zash.se>
date Tue, 26 Oct 2021 18:07:35 +0200
parents 59dd0cdae560
children 3b5358934d15
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3154
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
1 This module lets you block connections to remote servers at the s2s
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
2 level.
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
3
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
4 ``` {.lua}
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
5 s2s_blacklist = {
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
6 "proxy.eu.jabber.org",
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
7 }
59dd0cdae560 mod_s2s_blacklist: Add a README
Kim Alvefur <zash@zash.se>
parents:
diff changeset
8 ```