Improved version of Zaf's DDoS Deflate script
Shell
Pull request Compare This branch is 8 commits ahead of jfernandez:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
LICENSE
README.md
ddos.conf
ddos.sh
ignore

README.md

(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