mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-01 16:09:23 +01:00
76 lines
1.4 KiB
Markdown
76 lines
1.4 KiB
Markdown
# 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.
|
|
|
|
```json
|
|
{
|
|
"allow": [
|
|
"*"
|
|
],
|
|
"allow_ip_literals": false,
|
|
"deny": [
|
|
"disroot.org",
|
|
"privacytools.io",
|
|
"feneas.org",
|
|
"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": []
|
|
}
|
|
```
|
|
|
|
## Nuke
|
|
|
|
Bricks the room. :tada::tada::tada:
|
|
|
|
```json
|
|
{
|
|
"deny": [
|
|
*
|
|
]
|
|
}
|
|
```
|