redecs / ddos-deflate

Improved version of Zaf's DDoS Deflate script

Home Page:http://deflate.medialayer.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(D)DoS Deflate

This simple shell script will block IPs at the firewall that are found to have too many connections under the presumption that they are part of a (D)DoS attack. The script supports auto-unblocking, email notifications, logging, a simple cron installer and reverse DNS.

Instructions

  1. Clone this repo into /usr/local/ddos:

     sudo git clone git://github.com/colinmollenhour/ddos-deflate.git /usr/local/ddos
    
  2. Add your IP address to the whitelist:

     vim /usr/local/ddos/ignore
    
  3. Configure (D)DoS Deflate:

     vim /usr/local/ddos/ddos.conf
    
  4. Add the cron job (optional)

     /usr/local/ddos/ddos.sh --cron
    

Changes

  • 7/21/2012 - Colin Mollenhour (colin@mollenhour.com) ** Installation procedure changed to git-centric ** Removed install.sh and uninstall.sh

About

Improved version of Zaf's DDoS Deflate script

http://deflate.medialayer.com/

License:Other