Skip to content

redecs/ddos-deflate

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(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:https://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 ([email protected]) ** Installation procedure changed to git-centric ** Removed install.sh and uninstall.sh

About

Improved version of Zaf's DDoS Deflate script

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published