On 07/27/11 09:34, Ronald Johnson wrote:
> What I would like to do is to block their IP:s instantly, my thinking so far is:
> detect them in my php scripts,
> write their IP to nginx blocked-ips config file,
> and tell nginx to reload the config files.
Have a look at fail2ban (http://www.fail2ban.org/).
Typically it monitors log files and responds by changing iptables rules.
Dick
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx