Skip to content

segfault with awstats #53

@clydzik

Description

@clydzik

Hello. I have an issue when enabled modevasive with awstats

apache: Apache/2.4.52 (Ubuntu)
awstats: 7.8
modevasive: 2.2.0 installed from https://github.com/jvdmr/mod_evasive/releases/download/2.2.0/libapache2-mod-evasive.deb

it is my example config:

<IfModule mod_evasive.c>
        DOSEnabled true
        DOSHashTableSize 1000
        DOSPageCount 5
        DOSPageInterval 1
        DOSSiteCount 70
        DOSSiteInterval 10
        DOSBlockingPeriod 20
        DOSHTTPStatus 429
</IfModule>

truly i got segfault also when

DOSEnabled false

in above config

I got 500 from awstats

the output is pretty consistend in syslog (example entries):

Sep  4 11:51:31 aaa kernel: [237204.234753] apache2[318991]: segfault at 10 ip 00007f7cf21c04c4 sp 00007fff123c1800 error 4 in mod_evasive.so[7f7cf21bf000+2000]
Sep  4 11:54:27 aaa kernel: [237380.110660] apache2[319369]: segfault at 10 ip 00007f44fea904c4 sp 00007ffc93648290 error 4 in mod_evasive.so[7f44fea8f000+2000]
Sep  4 12:02:35 aaa kernel: [237868.594790] apache2[319959]: segfault at 10 ip 00007f44fea904c4 sp 00007ffc93648290 error 4 in mod_evasive.so[7f44fea8f000+2000]
Sep  4 12:03:54 aaa kernel: [237947.763958] apache2[320335]: segfault at 10 ip 00007f812af694c4 sp 00007ffeec5488e0 error 4 in mod_evasive.so[7f812af68000+2000]

As it seems it is awstats specific as it seems for now.

Any suggestion?
Anyone experinced the issue and know how to solve it ?

Thank You in advance
Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions