Sep 3 2010

Horde i brute force

Wchodzimy do folderu z horde.

W  config/conf.php ustawiamy linijkę:

conf.php:$conf[‘log’][‘name’] = ‘/var/log/httpd/horde_log’;

Tworzymy plik: /etc/fail2ban/filter.d/horde.conf :

[Definition]
failregex = .* FAILED LOGIN for .* \[<HOST>\]
ignoreregex =

W pliku /etc/fail2ban/jail.conf dodajemy linikji:

[horde]
enabled  = true
port     = http,https
filter   = horde
action   = iptables-multiport[name=horde, port=”http,https”]
sendmail-whois[name=Horde, dest=root]
logpath  = /var/log/httpd/horde_log
maxretry = 5
bantime =1800
Restartujemy fail2ban.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.