It depends on what you are trying to block. http, ssh, ftp, etc..... different methods for each... or you can just use your firewall to block the IP. APF firewall has a tool that will allow you to insert an IP block on hte fly but you need to have a method to count the connections from the source you are trying to block.
ZZ Servers - Business Hosting, HIPAA and PCI Compliant Hosting Solutions - http://www.zzservers.com
Xen Virtual Private Servers | Dedicated Servers | Shared Hosting
Custom configurations, firewall, VPN, load balancers, private networks and more.