gist/matrix/m.room.server_acl/README.md

65 lines
1.4 KiB
Markdown
Raw Normal View History

2021-09-30 21:56:11 +02:00
# m.room.server_acl
This event type controls which servers can access the room at all. Be very careful
adjusting this.
* https://matrix.org/docs/guides/moderation#banning-servers-from-rooms-server-acls
Note: when sending the custom event via `/devtools` for the first time, click
the `Event` so it says `State Event` and asks for `State key` in addition to `type`,
which can/is left empty as usual.
2021-09-30 21:56:11 +02:00
```json
{
"allow": [
"*"
],
"allow_ip_literals": false,
2021-09-30 21:56:11 +02:00
"deny": [
"disroot.org",
"privacytools.io",
"feneas.org",
2021-09-30 21:56:11 +02:00
"glowers.club",
"*.glowers.club",
"midov.pl",
"*.midov.pl",
"kiwifarms.net",
"*.kiwifarms.net"
]
}
```
Explanations:
* Legacy servers that have discontinued, are in progress of discontinuing or
are just closed for public, that have PL100 in my rooms. They don't need subdomains
to be denylisted as the subdomain MXIDs wouldn't have power.
* `disroot.org`, `privacyguides.io`, `feneas.org`.
* The rest are connected to abusive raids on communities that I am a part of,
sometimes even moderate.
## Allowlist
This configuration only lets servers I have accounts on in.
```json
{
"allow": [
"pikaviestin.fi",
"matrix.org",
"mozilla.org",
"tedomum.net",
"pirateriot.net",
"tchncs.de",
"fedora.im",
"jae.fi",
"converser.eu",
"artemislena.eu",
"the-apothecary.club"
],
"allow_ip_literals": false,
"deny": []
}
```