Deny insecure matrix homeservers from using your rooms
  • Go 96.2%
  • Dockerfile 3.8%
Find a file
2025-03-07 20:17:43 +00:00
.gitignore Initial commit 2025-03-06 21:48:50 +00:00
config.example.yml Allow only banning open registration servers 2025-03-07 20:07:34 +00:00
denyimpl.go Allow only banning open registration servers 2025-03-07 20:07:34 +00:00
Dockerfile include /etc/ssl? 2025-03-07 00:18:12 +00:00
go.mod Merge remote-tracking branch 'origin/dev' into dev 2025-03-07 20:17:43 +00:00
go.sum Initial commit 2025-03-06 21:48:50 +00:00
LICENSE docker 2025-03-06 23:46:20 +00:00
README.md Add README 2025-03-07 20:17:37 +00:00

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!