Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 38371 invoked from network); 10 Feb 2009 19:49:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 19:49:36 -0000 Received: (qmail 75859 invoked by uid 500); 10 Feb 2009 19:49:23 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 75839 invoked by uid 500); 10 Feb 2009 19:49:23 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 75825 invoked by uid 99); 10 Feb 2009 19:49:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 11:49:23 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [194.126.125.147] (HELO mx.mulgikaabel.ee) (194.126.125.147) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 19:49:14 +0000 Received: from localhost (unknown [127.0.0.1]) by mx.mulgikaabel.ee (Postfix) with ESMTP id 31BACE4987 for ; Tue, 10 Feb 2009 19:51:35 +0000 (UTC) Received: from [192.168.88.100] (gw1.mulgikaabel.ee [194.126.125.150]) by mx.mulgikaabel.ee (Postfix) with ESMTPSA id A8E49E48AF for ; Tue, 10 Feb 2009 21:51:34 +0200 (EET) Message-ID: <4991DAD8.5010606@post.io> Date: Tue, 10 Feb 2009 21:51:52 +0200 From: Ivo Kostikov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b1pre) Gecko/20081006 Shredder/3.0a3 MIME-Version: 1.0 To: users@httpd.apache.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] problem with mod_evasive Hey. I have a problem with apache 2.2.9 on gentoo system. mod_evasive just does not work. grep -v "#" /etc/conf.d/apache2 APACHE2_OPTS="-D DEFAULT_VHOST -D LANGUAGE -D PHP5 -D EVASIVE -D CHROOT" PIDFILE=/var/run/apache2.pid Apache is using mpm-itk and mod_chroot. Apache version is 2.2.9-r1 Chroot and ITK is working ok. But not mod_evasive. No errors on startup. I see mod_evasive on loaded modules. But test.pl gives HTTP/1.1 200 OK all time. test.pl (not included with mod_evasive gentoo package) #!/usr/bin/perl # test.pl: small script to test mod_dosevasive's effectiveness use IO::Socket; use strict; for(0..100) { my($response); my($SOCKET) = new IO::Socket::INET( Proto => "tcp", PeerAddr=> "127.0.0.1:80"); if (! defined $SOCKET) { die $!; } print $SOCKET "GET /?$_ HTTP/1.0\n\n"; $response = <$SOCKET>; print $response; close($SOCKET); } mod_evasive configuration: grep -v "#" /etc/apache2/modules.d/10_mod_evasive.conf LoadModule evasive_module modules/mod_evasive.so DOSHashTableSize 3097 DOSPageCount 5 DOSSiteCount 100 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 10 DOSEmailNotify xxxx@xxx.xx DOSLogDir /var/log/apache2/evasive I tested it with apache not in chroot - same result. Also i tested mod_evasive from gentoo package and mod_evasive latest version from http://www.zdziarski.com/projects/mod_evasive/ Result is same, it just does not work. Could this be a result of using mpm-itk? --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org