08431a1378
Fail2Ban scans log files like /var/log/pwdfail and bans IP that makes too many password failures. It updates firewall rules to reject the IP address. Theses rules can be defined by the user. Fail2Ban can read multiple log files such as sshd or Apache web server ones.
28 lines
383 B
Text
Executable file
28 lines
383 B
Text
Executable file
# NetBSD
|
|
|
|
[INCLUDES]
|
|
|
|
before = paths-common.conf
|
|
|
|
after = paths-overrides.local
|
|
|
|
|
|
[DEFAULT]
|
|
|
|
syslog_mail = /var/log/maillog
|
|
|
|
syslog_mail_warn = /var/log/maillog
|
|
|
|
syslog_authpriv = /var/log/authlog
|
|
|
|
syslog_ftp = /var/log/xferlog
|
|
|
|
syslog_daemon = /var/log/messages
|
|
|
|
syslog_local0 = /var/log/messages
|
|
|
|
# Linux things
|
|
# we fake to avoid parse error in startups
|
|
|
|
auditd_log = /dev/null
|
|
|