====== ban-ip ====== ban-ip() { /root/scripts/ban-ip/ban-ip.sh $1 } #!/bin/bash IPTOBAN=$1; echo "banning IP ${IPTOBAN} now"; echo "command: iptables -A INPUT -s ${IPTOBAN} -j DROP;"; iptables -A INPUT -s ${IPTOBAN} -j DROP; exit;