Prevenir ataque DoS e força bruta.
# apt-get install libapache2-mod-evasive
Criar o arquivo /etc/apache2/mods-available/mod-evasive.conf
:
<IfModule evasive20_module> DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 60 # DOSEmailNotify someone@somewhere.com </IfModule>
Executar no shell:
# a2enmod mod-evasive # service apache2 restart
Em breve…
Fonte : https://library.linode.com/web-servers/apache/mod-evasive