-

1300 -

1157 -

8196 -

3448
41032 plików
796,53 GB
FolderyInstallation of mod_evasive "libapache2-mod-security"
To install mod_evasive for Apache 2 on Debian Lenny, simply run aptitude install as following.
# aptitude install libapache2-mod-evasive
During package installation, Apache service will be restarted on your system, and mod_evasive is already enabled.
You may add additional parameters for mod_evasive, edit /etc/apache2/mods-available/mod-evasive.load file, and add the following lines.
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 100
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 600
Test of mod_evasive
A perl script for mod_evasive test is included and installed on the system, you can simply run it. You will get 'HTTP/1.1 200 OK' return code in the beginning, but 'HTTP/1.1 403 Forbidden' will be returned soon.
# perl /usr/share/doc/libapache2-mod-evasive/examples/test.pl
Hereby is one of my test result.
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OK
HTTP/1.1 200 OKHTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
HTTP/1.1 403 Forbidden
Nie ma plików w tym folderze
-

0 -

0 -

0 -

0
0 plików
0 KB
Zaprzyjaźnione i polecane chomiki (663)











