Skip to content

Instantly share code, notes, and snippets.

@karthiks
Created September 13, 2021 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthiks/031995e04417b55d524aaee9bf0172ec to your computer and use it in GitHub Desktop.
Save karthiks/031995e04417b55d524aaee9bf0172ec to your computer and use it in GitHub Desktop.
Minimal workable configuration for mod_evasive
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 1
DOSSiteCount 3
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 10
#DOSEmailNotify geek@codonomics.com
#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
#DOSLogDir "/var/log/mod_evasive"
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment