Compare commits

..

No commits in common. "7e0755c33e54ac1181811e5f6ce5b52891da1e9f" and "694275d0f2f55a6e6ae1d5b371cf815c58f1428b" have entirely different histories.

4 changed files with 26 additions and 120 deletions

View File

@ -1,62 +0,0 @@
# `m.policy.rule.server`
This event is the language of Draupnir/Mjolnir and experimental Mjolnir style ignore in Element Web labs when speaking of homeservers.
TL;DR
- Event type: `m.policy.rule.server`
- State key: `example.net` (server name goes here)
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Allowing all servers](#allowing-all-servers)
- [Allowing server mjolnir.matrix.org](#allowing-server-mjolnirmatrixorg)
- [Banning evil example.org](#banning-evil-exampleorg)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
## Allowing all servers
- Event type: `m.policy.rule.server`
- State key: `*`
```json
{
"entity": "*",
"reason": "Default ACL allow all",
"recommendation": "org.matrix.mjolnir.allow"
}
```
## Allowing server mjolnir.matrix.org
- Event type: `m.policy.rule.server`
- State key: `mjolnir.matrix.org`
```json
{
"entity": "mjolnir.matrix.org",
"reason": "Mjolnir for all!",
"recommendation": "org.matrix.mjolnir.allow"
}
```
## Banning evil example.org
_Well, the example organization domain is now evil :smirk_cat:_
- Event type: `m.policy.rule.server`
- State key: `example.org`
```json
{
"entity": "*",
"reason": "Evil example homeserver",
"recommendation": "m.ban"
}
```

View File

@ -1,32 +0,0 @@
# `m.policy.rule.user`
This event is the language of Draupnir/Mjolnir and experimental Mjolnir style ignore in Element Web labs when speaking of individual users.
TL;DR
- Event type: `m.policy.rule.server`
- State key: `_username:example.net` (The leading`@` is replaced with an underscore `_`)
<!-- prettier-ignore-start -->
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
- [Banning an user](#banning-an-user)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
<!-- prettier-ignore-end -->
## Banning an user
- Event type: `m.policy.rule.user`
- State key: `_username:example.net`
```json
{
"entity": "@username:example.net",
"reason": "Example ban",
"recommendation": "m.ban"
}
```

View File

@ -35,6 +35,7 @@ The main point I do this for is users `users`
"@leon:the-apothecary.club": 99,
"@leon:masfloss.net": 99,
"@fidino:artemislena.eu": 99,
"@mjolnir_3671ee5a-cd2a-47c0-97da-e5662f3324d9:mjolnir.matrix.org": 99,
"@aminda.git:pirateriot.net": 13
}
},

View File

@ -13,57 +13,55 @@ 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
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.
- Subdomains appear to be implied by specifying 2nd level domain. E.g.
`matrix.org` appears to apply to `*.matrix.org` at least on Synapse.
```json
{
"allow": ["*", "mjolnir.matrix.org"],
"allow": ["*"],
"allow_ip_literals": false,
"deny": [
"matrix.org",
"*.matrix.org",
"mjolnir.matrix.org",
"disroot.org",
"privacytools.io",
"feneas.org",
"glowers.club",
"*.glowers.club",
"midov.pl",
"*.midov.pl",
"kiwifarms.net",
"*.kiwifarms.net",
"liberta.casa",
"nitro.chat",
"*.nitro.chat",
"nerdsin.space",
"*.nerdsin.space",
"thisisjoes.site",
"*.thisisjoes.site",
"pp13.space",
"evulid.cc"
"*.pp13.space"
]
}
```
Explanations:
- `matrix.org`, `*.matrix.org`
- Very big homeservers promoting centralisation of users and power. Also
big source of spam, poor moderation and abusive bot performing public
logging of members-only rooms.
- `matrix.org`, `evulid.cc`
- Run instances of [matrix-public-archive](https://github.com/matrix-org/matrix-public-archive/issues/47) which [misses proper ability to opt-out](https://github.com/matrix-org/matrix-public-archive/issues/47)
- `nitro.chat`
- Poorly protected from abuse, abuse contact joins room that their users are raiding and leaves immediately without doing anything.
- `disroot.org`, `privacytools.io`, `feneas.org`, `liberta.casa`
- Legacy servers that have discontinued, are in progress of discontinuing or
are just closed for public, that have PL100 in my rooms.
- `glowers.club`, `midov.pl`, `kiwifarms.net`, `nerdsin.space`, `thisisjoes.site`, `pp13.space`
- Connected to abusive raids on communities that I am a part of, sometimes even moderate.
- Others
- Most likely inherited from _Community Moderation Effort_.
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 or especially close friends have accounts on in.
This configuration only lets servers I have accounts on in.
```json
{
@ -76,7 +74,8 @@ This configuration only lets servers I or especially close friends have accounts
"fedora.im",
"jae.fi",
"converser.eu",
"artemislena.eu"
"artemislena.eu",
"the-apothecary.club"
],
"allow_ip_literals": false,
"deny": []