Project

General

Profile

Actions

Feature #1214

closed

Added two features to mod_evasive

Added by tsj5j almost 17 years ago. Updated over 7 years ago.

Status:
Obsolete
Priority:
Normal
Category:
mod_evasive
Target version:
ASK QUESTIONS IN Forums:

Description

I found that the default error code (403) was not appropriate in all situations.

Neither was the error logging, which can cause huge error logs on systems where evasive was purposely meant to limit connection speeds.

Attached is a copy of mod_evasive.c that introduces :

evasive.enable-logging => false by default, set true to enable logging.
evasive.error-code => any number between 100 (lowest HTTP code) and 505 (highest)


Files

mod_evasive.c (4.69 KB) mod_evasive.c mod_evasive updated. just replace old one for it to work. tested. tsj5j, 2007-06-02 17:16
Actions #1

Updated by gstrauss over 7 years ago

  • Description updated (diff)
  • Assignee deleted (jan)
  • Priority changed from High to Normal
  • Missing in 1.5.x set to Yes

FYI: lighttpd 1.4.40 provides evasive.silent = "enable" to quell logging, and evasive.location = "..." to return a 302 with a Location header.

Actions #2

Updated by gstrauss over 7 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom