Automatically bans ever-evading IP changing bots, known on Rizon as "vpn".
3.4K
This bot automatically sets bans when it detects clients with specific patterns known from bots that evade bans and (probably) log channels.
The pattern is roughly as follows:
go get -v github.com/icedream/vpnbot
Make sure your GOPATH is set properly and that you have PATH also pointing at your GOPATH binary folder.
Docker allows an easy, isolated setup of vpnbot.
docker run --rm -v /path/to/your/data:/data icedream/vpnbot vpnbot -generateconfig.yml to your needs, you'll probably need root permissions for this.docker run --rm -d -v /path/to/your/data:/data icedream/vpnbotdocker logs <printed container ID here>.Alternatively, after step 3 you can use docker-compose with a YAML configuration like this:
bot:
image: icedream/vpnbot
volumes:
- "./data:/data"
First, generate a default configuration in a new folder:
mkdir vpnbot
cd vpnbot
vpnbot -generate
This will generate config.yml - the file path can be changed by appending -config "<your own path here>". Edit this file to your needs, then rerun the bot without -generate.
vpnbot
Again, optionally add -config "<your own path here>" if you use your own path to the configuration file.
This work is licensed under the GNU General Public License Version 3. For more information check LICENSE.txt.
Content type
Image
Digest
Size
59.8 MB
Last updated
over 8 years ago
docker pull icedream/vpnbot