DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Ban IPs From A Server
Use the code below to permanently ban an IP address from accessing your server.
iptables -A INPUT -s ip.address -j DROP