I cannot get fail2ban to work. The logs are looking okay, but it simply does not block ssh logins.
Any ideas?
fail2ban.local:
jail.local:
Any ideas?
fail2ban.local:
Code:
[Definition]
loglevel = DEBUG
dbpurgeage = 2592000
jail.local:
Code:
[DEFAULT]
action = %(action_mwl)s
# -- 3 Tage:
bantime = 259200
destemail = root
sender = root
mta = mail
findtime = 600
maxretry = 2
ignoreip = 127.0.0.1 10.2.3.4
[bsd-sshd]
port = ssh
logpath = %(sshd_log)s
backend = %(sshd_backend)s
enabled = true
banaction = bsd-ipfw
# action = bsd-ipfw[table=1]
blocktype = deny