Bug 788542

Summary: mod_evasive does not work
Product: [Fedora] Fedora EPEL Reporter: mad <mad>
Component: mod_evasiveAssignee: Jan ONDREJ <ondrejj>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: el6CC: ondrejj
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-08 17:49:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description mad 2012-02-08 12:09:57 UTC
Description of problem:
mod_evasive 

Version-Release number of selected component (if applicable):
1.10.1-10.el6

How reproducible:
Every time

Steps to Reproduce:
1. install httpd and mod_evasive
2. run test.pl script delivered with package from another host
  
Actual results:
nothing is blocked

Expected results:
after a certain amount of requests, as configured, requests should be blocked

Additional info:
tested w/ Debian stable, works out of the box with nearly the same versions of Apache2 and mod_evasive.

Comment 1 Jan ONDREJ 2012-02-08 17:49:32 UTC
I can't see any problems. Here is output of test.pl on my system.
Target system - Centos6, default configuration,
test.pl system - Fedora 16.

[ondrejj@work tmp]$ ./test.pl
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
...

Did you changed IP address in test.pl? By default localhost is tested.

Closing this as works for me. If you can reproduce this on other system, reopen bug.