Project

General

Profile

Feature #1214

Added two features to mod_evasive

Added by tsj5j over 12 years ago. Updated over 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_evasive
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

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)

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

History

#1

Updated by gstrauss over 3 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.

#2

Updated by gstrauss over 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom