Package: libapache2-mod-evasive
Version: 1.10.1-1~bpo1
Severity: normal

I tried using DOSEmailNotify as follows:

[EMAIL PROTECTED]:~> cat /etc/apache2/mods-enabled/evasive.conf
#<IfModule mod_evasive20.c>
    #DOSHashTableSize    3097
    #DOSPageCount        2
    #DOSSiteCount        50
    #DOSPageInterval     1
    #DOSSiteInterval     1
    #DOSBlockingPeriod   10

    DOSEmailNotify       [EMAIL PROTECTED]
    #DOSSystemCommand    "su - someuser -c '/sbin/... %s ...'"
    #DOSLogDir           "/var/log/mod_evasive"
#</IfModule>

The dos prevention works as the example perl script shows. I also get an
entry in syslog telling about the possible dos attack. But it does not
even try to send an email. 

I do not understand why. There is no trace of an email being send in
Postfix's mail.log. The mail in the source seems to be set correctly as
well:

#define MAILER  "/bin/mail %s"

At least I have this command here and when using it from the command
line it works as it should.

Any idea?

I am using a etch backport I created[1], but I also tested it on my 
notebook with the lenny version.

[1] http://people.teamix.org/~ms/backports/etch-backports/libapache-mod-evasive/

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.22.2-workstation-cfs-v19.1-sws2-2.2.10
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages libapache2-mod-evasive depends on:
ii  apache2.2-common            2.2.3-4      Next generation, scalable, extenda
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries

libapache2-mod-evasive recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to