Skip to content

Instantly share code, notes, and snippets.

@tomgullo
Created August 21, 2013 11:06
Show Gist options
  • Save tomgullo/6293127 to your computer and use it in GitHub Desktop.
Save tomgullo/6293127 to your computer and use it in GitHub Desktop.
drop_dos.sh
-A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -m recent --set --name DEFAULT --rsource
-A INPUT -p tcp -m tcp --dport 80 -m state --state NEW -m recent --update --seconds 5 --hitcount 20 --name DEFAULT --rsource -j DROP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment