APF and mod_dosevasive (first time)

Hi

I'm playing with my first server (goodbye VPS)

1) I installed APF and it ok but how can I block IPs from my server

another thing when I restart APF it shows

lsmod: QM_MODULES: Function not implemented

I changed MONOKERN="0" to MONOKERN="1" in conf.apf but the problem not solved

my kernel is the lastest one for my server
and when I run uname -a

it shows 2.4.30-managed

2) I installed also mod_dosevasive

but I found step that tells me to run command

visudo

and add this line in the end of the file
nobody ns1 = NOPASSWD: /usr/local/sbin/apf -d *

my question is did I put the line in right place ??

thank you and sorry for my long txt

 

 

 

 

Top