CrowdSec — современная альтернатива Fail2Ban и коллективный иммунитет для Интернета
https://github.com/crowdsecurity/crowdsec
curl -s <https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh> | sudo bash
sudo apt update
sudo apt install crowdsec
sudoapt install crowdsec-firewall-bouncer-iptables
curl -s <https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.rpm.sh> | sudo bash
sudo yum install crowdsec
wget <https://github.com/crowdsecurity/crowdsec/releases/latest/download/crowdsec-release.tgz>
tar xzvf crowdsec-release.tgz
cd crowdsec-v* && sudo ./wizard.sh -i
Machine 'abe43b9************UfIPxA9A' successfully added to the local API.
API credentials written to '/etc/crowdsec/local_api_credentials.yaml'.
You can always run the configuration again interactively by using '/usr/share/crowdsec/wizard.sh -c'