Skip to content

Commit

Permalink
Merge pull request fail2ban#780 from opoplawski/logpath
Browse files Browse the repository at this point in the history
Fxi jail.conf to use more syslog macros
  • Loading branch information
yarikoptic committed Aug 21, 2014
2 parents f756278 + 6b554fb commit 426ed7f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions config/jail.conf
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ logpath = /var/log/monit
[webmin-auth]

port = 10000
logpath = /var/log/auth.log
logpath = %(syslog_authpriv)s


#
Expand Down Expand Up @@ -429,7 +429,7 @@ maxretry = 6

[vsftpd]
# or overwrite it in jails.local to be
# logpath = /var/log/auth.log
# logpath = %(syslog_authpriv)s
# if you want to rely on PAM failed login attempts
# vsftpd's failregex should match both of those formats
port = ftp,ftp-data,ftps,ftps-data
Expand Down Expand Up @@ -539,7 +539,7 @@ logpath = %(postfix_log)s
[perdition]

port = imap3,imaps,pop3,pop3s
logpath = /var/log/maillog
logpath = %(syslog_mail)s


[squirrelmail]
Expand Down Expand Up @@ -663,13 +663,13 @@ maxretry = 5
[pam-generic]
# pam-generic filter can be customized to monitor specific subset of 'tty's
banaction = iptables-allports
logpath = /var/log/auth.log
logpath = %(syslog_authpriv)s


[xinetd-fail]

banaction = iptables-multiport-log
logpath = /var/log/daemon.log
logpath = %(syslog_daemon)s
maxretry = 2


Expand Down Expand Up @@ -699,7 +699,7 @@ action = %(banaction)s[name=%(__name__)s-tcp, port="%(tcpport)s", protocol="tcp
[nagios]

enabled = false
logpath = /var/log/messages ; nrpe.cfg may define a different log_facility
logpath = %(syslog_daemon)s ; nrpe.cfg may define a different log_facility
maxretry = 1


Expand Down

0 comments on commit 426ed7f

Please sign in to comment.