Tabela de conteúdos

mod-evasive (Apache)

Prevenir ataque DoS e força bruta.

Debian 7

# 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

CentOS 6

Em breve…

Fonte : https://library.linode.com/web-servers/apache/mod-evasive