Skip to content

Instantly share code, notes, and snippets.

@turutosiya
Created November 10, 2014 04:19
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 turutosiya/0459cf8add376eb5053a to your computer and use it in GitHub Desktop.
Save turutosiya/0459cf8add376eb5053a to your computer and use it in GitHub Desktop.
--- mod_evasive20.c 2014-02-05 15:26:14.000000000 +0900
+++ mod_evasive20n.c 2014-11-10 13:12:31.368517100 +0900
@@ -212,6 +212,10 @@
/* BEGIN DoS Evasive Maneuvers Code */
+ /* IGNORE_DOS */
+ if (apr_table_get(r->subprocess_env, "IGNORE_DOS") != NULL)
+ return OK;
+
/* Do not check for not targetted URL*/
if(destination_is_filtered(r)){
return OK;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment