annotate mod_s2s_blacklist/README.markdown @ 4923:c83b009b5bc5

mod_rest: Add configuration of which stanzas to route to callback Makes it simpler to build APIs that only handle a certain kind of stanzas, letting them be handled by the unhandled stanza handler instead of having to write code to ignore certain kinds of stanzas.
author Kim Alvefur <zash@zash.se>
date Sat, 09 Apr 2022 01:04:25 +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 ```