You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

I have recently installed the latest sarge apache package. I am now wanting to install an apache module to prevent DoS attacks. mod_dosevasive seems like what everyone is using.

Now I've worked out that with debian you need to run the command modules-config, and that before that you need a line in a .info file. And the other .info files all refer to a .so file. But I downloaded the tar file and it only had .c files in it.

Now I guess I could look at compiling the source etc., but I would have thought it would all be a bit easier than this. How do debian users normally install mod_dosevasive?

I thought about somehow installing the rpm, and was then pointed to using alien, but then thought that this was a very strange road I'm travelling, so I must be doing something wrong.

I've let this perculate a little, and had another try, but still no luck. I've read the
README that comes with mod_dosevasive, but it doesn't tell you how to create a
.so file for itself. And doing something like this just doesn't work at all:

gcc -fPIC -shared -o mod_dosevasive.so mod_dosevasive.c

Is there anyone out there? Do debian users use a different package, or just allow
DoS attacks to occur all the time?