mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2025-08-19 12:57:22 +02:00
Compare commits
7 Commits
694275d0f2
...
7e0755c33e
Author | SHA1 | Date | |
---|---|---|---|
7e0755c33e | |||
034d71ee38 | |||
e5b0f11720 | |||
965c115b0e | |||
db9e42a00f | |||
4fc6a96824 | |||
6ea5a835b2 |
62
matrix/m.policy.rule.server/README.md
Normal file
62
matrix/m.policy.rule.server/README.md
Normal file
@ -0,0 +1,62 @@
|
||||
# `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"
|
||||
}
|
||||
```
|
32
matrix/m.policy.rule.user/README.md
Normal file
32
matrix/m.policy.rule.user/README.md
Normal file
@ -0,0 +1,32 @@
|
||||
# `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"
|
||||
}
|
||||
```
|
@ -35,7 +35,6 @@ 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
|
||||
}
|
||||
},
|
||||
|
@ -13,55 +13,57 @@ 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.
|
||||
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": ["*"],
|
||||
"allow": ["*", "mjolnir.matrix.org"],
|
||||
"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",
|
||||
"*.pp13.space"
|
||||
"evulid.cc"
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Explanations:
|
||||
|
||||
- Very big homeservers promoting centralisation of users and power. Also
|
||||
- `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.
|
||||
- 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.
|
||||
- `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_.
|
||||
|
||||
## Allowlist
|
||||
|
||||
This configuration only lets servers I have accounts on in.
|
||||
This configuration only lets servers I or especially close friends have accounts on in.
|
||||
|
||||
```json
|
||||
{
|
||||
@ -74,8 +76,7 @@ This configuration only lets servers I have accounts on in.
|
||||
"fedora.im",
|
||||
"jae.fi",
|
||||
"converser.eu",
|
||||
"artemislena.eu",
|
||||
"the-apothecary.club"
|
||||
"artemislena.eu"
|
||||
],
|
||||
"allow_ip_literals": false,
|
||||
"deny": []
|
||||
|
Loading…
x
Reference in New Issue
Block a user