Like this kind of single IP automatic defense against uplink bandwidth? Although you can manually to find the IP sealing off him, but can't 24 hours staring at? A carelessly by exploiting the loopholes, bother you so much!
Site environment is nginx, program is PHP, where to begin?