This is a single PHP script that allows you set bans across all your sites using a single database for managing bans. The idea behind this is to make it simple to integrate and make it so you don't have to touch iptables or other firewall software.
/* * CentralACL * By: Nathan Adams * * Licensed under Apache 2.0 (see LICENSE.txt) * * How to use: * * 1. Replace MySQL credentials with your own * 2. Write the following line at the top of your PHP scripts: * include /path/to/centralacl.php; * 3. ????? * 4. Profit! * * */