Deny insecure matrix homeservers from using your rooms
- Go 96.2%
- Dockerfile 3.8%
| .gitignore | ||
| config.example.yml | ||
| denyimpl.go | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| README.md | ||
Matrix DenyImpl
In the wake of several homeserver implementations being abused to damage rooms, I've whipped up this quick bot to help protect rooms from being damaged by the same homeserver implementations.
Installing
You can use docker, git.nexy7574.co.uk/nex/matrix-denyimpl:latest, or use the following steps to compile it:
git clone git.nexy7574.co.uk/nex/matrix-denyimpl.git # clone repo
cd matrix-denyimpl
go build # build the binary
mv matrix-denyimpl /usr/local/bin/ # move it to your $PATH
cp config.example.yml config.yml # Copy the config to a new file
$EDITOR config.yml # edit the config
You can put any account token in the configuration as it does not use encryption.
Configuration
See config.example.yml for an example configuration.
Running
Just run matrix-denyimpl and it will start up and start syncing. Only new joins are checked!