protect from DoS/Brute-Force attacks by installing and configuring Apache’s mod_evasive in Gentoo, Debian, CentOS, Arch Linux and Ubuntu
صفحة 1 من اصل 1
protect from DoS/Brute-Force attacks by installing and configuring Apache’s mod_evasive in Gentoo, Debian, CentOS, Arch Linux and Ubuntu
=> Installation on Debian / Ubuntu
The installation of mod_evasive in a Debian / Ubuntu based VPS is identical. Before we go any steps further with the installation, make sure you have an up-to date system by issuing:
# apt-get update && apt-get upgrade --show-upgraded
Next, install Apache’s module mod_evasive by executing:
# apt-get install libapache2-mod-evasive -y
Once the installation is finished, execute the following commands to configure Apache to use mod_evasive module:
# nano /etc/apatche2/conf.d/mod_evasive.conf
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 5
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 60
DOSEmailNotify your@email.com
DOSLogDir /var/log/apache2/evasive
</IfModule>
# chown www-data: -R /var/log/apache2/
# /etc/init.d/apache2 restart
MOJRM-511- المدير العام
- المساهمات : 105
تاريخ التسجيل : 13/03/2011
مواضيع مماثلة
» “No root file system defined” error while installing ubuntu
» Ubuntu Linux root Password (Default Password)
» Desktop for Debian 6 32 Bit
» change debian 6 language
» setup mail service smtp on debian 6
» Ubuntu Linux root Password (Default Password)
» Desktop for Debian 6 32 Bit
» change debian 6 language
» setup mail service smtp on debian 6
صفحة 1 من اصل 1
صلاحيات هذا المنتدى:
لاتستطيع الرد على المواضيع في هذا المنتدى