Hi, I had no knowledge of the french documentation in the Debian Wiki for mod_evasive, but after briefly checking it, I have to conclude that it seems at least a bit outdated. It's hard to maintain proper documentation at multiple locations. In my opinion, it would be wiser to keep the Debian Wiki entry very short and simple, preferably only linking to the correct documentation page and not attempting to provide any details that might become outdated with future updates.
Please find up-to-date documentation at https://github.com/jvdmr/mod_evasive (in English, sorry!) One detail I notice is that the Debian wiki's 'proposed reference' tells you to use `<IfModule mod_evasive20.c>`, which I'm pretty sure should be `<IfModule mod_evasive.c>`. This might actually be the entire solution to your problem. Hope that helps! -- Kind regards, jvdmr On Sat, Nov 22, 2025 at 2:35 PM Daniel Leidert < [email protected]> wrote: > Hi Christian, > > On Sat, 2025-11-22 at 11:14 +0100, Christian Göttsche wrote: > > On Thu, 20 Nov 2025 at 23:53, Daniel Leidert <[email protected]> > wrote: > > > > > > I attempted to install and use the evasive module, but it seems > completely > > > dysfunctional. I couldn't get it to at least output something to a log > file or > > > send a mail. I tested with the standard config and with the > instructions found > > > at https://wiki.debian.org/fr/Apache/mod_evasive. I am sure that the > config did > > > not contain an issue. I confirmed that the module was loaded. The logs > didn't > > > show anything at all. > > > > > > Is it possible that this module is no longer functional with the > Apache version > > > in Trixie? > > > > Works for me (tm). > > I have already replaced it with the qos module. However, I can answer > your questions: > > > What is the output of `apache2ctl -M | grep -i evasive`? > > That one showed "evasive" as output. It was one of the first steps to > confirm that the module was loaded. > > > Also you could perform a DOS yourself via `ab -c 50 -n 1000 > > http[s]://example.org/` <http://example.org/> (with ab from the package > apache2-utils). > > I did with the exact same values from multiple servers and from > localhost. There was no reaction, no block, no log entry. I debugged > this for over an hour without getting evasive to work. > > The server in question only provides some static sites. Thus, nothing > fancy here. > > May I asked if you have tested under Trixie or Sid? > > Regards, Daniel >

