2006-07-17 19:26:14 +00:00
|
|
|
# Fail2Ban configuration file
|
|
|
|
#
|
|
|
|
# Author: Cyril Jaquier
|
|
|
|
#
|
|
|
|
# $Revision$
|
|
|
|
#
|
|
|
|
|
2006-06-26 20:05:00 +00:00
|
|
|
[dummy]
|
|
|
|
|
|
|
|
enabled = true
|
|
|
|
filter = sshd
|
2006-07-16 21:35:08 +00:00
|
|
|
action = hostsdeny[file=/tmp/hosts.deny]
|
2006-06-26 20:05:00 +00:00
|
|
|
maxretry = 2
|
2006-07-08 16:51:14 +00:00
|
|
|
bantime = 5
|
2006-06-26 20:05:00 +00:00
|
|
|
|
2006-07-16 21:35:08 +00:00
|
|
|
[ssh]
|
2006-06-26 20:05:00 +00:00
|
|
|
|
|
|
|
enabled = false
|
|
|
|
filter = sshd
|
|
|
|
action = iptables
|
|
|
|
bantime = 10
|
|
|
|
|
2006-07-16 21:35:08 +00:00
|
|
|
[apache-error]
|
2006-06-26 20:05:00 +00:00
|
|
|
|
|
|
|
enabled = false
|
|
|
|
filter = apache-error
|
|
|
|
action = hostdeny
|
|
|
|
|