Skip to content
This repository was archived by the owner on Jun 29, 2024. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 810 Bytes

File metadata and controls

29 lines (17 loc) · 810 Bytes

(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