annotate mod_s2s_blacklist/README.markdown @ 4362:116c88c28532

mod_http_admin_api: restructure group-related info in API - Return the members of the group right in the get_group_by_id call. This is an O(1) of extra work. - Remove the groups attribute from get_user_by_name as that is O(n) of work and rarely immediately needed. The replacement for the group membership information in the user is for now to use the group API and iterate; future work may fix that.
author Jonas Schäfer <jonas@wielicki.name>
date Wed, 20 Jan 2021 15:30:29 +0100
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 ```