Script to ban all Amazon Web Services IP address ranges. Protect your node's ressources from VPS nodes.
The list of AWS IP ranges is obtained from http://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html
Install on Debian-based Linux
sudo apt-get install jq
git clone https://github.com/iioch/ban-aws-bitcoin-nodes.git
Run:
cd ban-aws-bitcoin-nodes
chmod u+x ban.sh
./ban.sh
bitcoin-cli listbanned
bitcoin-cli clearbanned