Mod_evasive di Httpd Apache 2.2.x

mod_evasive is an evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack.
____
Mod_evasive=Modul buat menghindar bagi Apache saat terjadi HTTP Dos atau DDos.Sa

Sudah saya coba di mesin slackware dan berkerja,Download modul mod_evasive : http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz .

  • # tar xzvf  mod_evasive_1.10.1.tar.gz
  • Masuk ke direktory tsb, Kompile dengan apxs :
  • # apxs  -i  -a - c  mod_evasive20.c Kalau berhasil akan muncul peringatan :

    Libraries have been installed in:
    /usr/lib/httpd/modules
    [activating module `evasive20' in /etc/httpd/httpd.conf]
    Edit /etc/httpd/httpd.conf dan tambah direktif ini :

    <IfModule mod_evasive20.c>
    DOSHashTableSize 3097
    DOSPageCount 2
    DOSSiteCount 50
    DOSPageInterval 1
    DOSSiteInterval 1
    DOSBlockingPeriod 10
    </IfModule>

  • Restart Apache :

#apachectl -k restart

  • Share/Save/Bookmark

Post a Response