iplock
Easy to use tool to block unwanted network access.
...When you detect that a user is likely a hacker (i.e. tries to access a folder named wp-admin on a non-Wordpress website) then you can use iplock <his-IP-address> to block him.
The iptables commands are defined in the configuration file so you can really tweak your firewall to your liking.