Bonjour,

I try to configure fail2ban in order to ban IP which try to connect to
directories protected by .htaccess.

Here is my [apache] section in jail.conf:

enabled  = true
port     = http,https
filter   = apache-auth
logpath  = /var/log/apache*/*error.log
maxretry = 3

But I tested filling the auth form with erroneous login/password and
nothing happens! Nothing appeared in /var/log/fail2ban.log...

I tried the same for ssh connections and the IP of the computer from
which I tried was banned after the third attempt.

What is missing in my config?


Here is the ssh section in jail.conf:

enabled  = true
port     = ssh
filter   = sshd
logpath  = /var/log/auth.log
maxretry = 6



Thanks

-- 
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to