mirror of https://github.com/fail2ban/fail2ban
				
				
				
			
		
			
				
	
	
		
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			63 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
# Common
 | 
						|
#
 | 
						|
 | 
						|
[INCLUDES]
 | 
						|
 | 
						|
after  = paths-overrides.local
 | 
						|
 | 
						|
[DEFAULT]
 | 
						|
 | 
						|
sshd_log = %(syslog_authpriv)s
 | 
						|
 | 
						|
dropbear_log = %(syslog_authpriv)s
 | 
						|
 | 
						|
# There is no sensible generic defaults for syslog log targets, thus
 | 
						|
# leaving them empty here so that no errors while parsing/interpollatin configs
 | 
						|
syslog_daemon =
 | 
						|
syslog_ftp =
 | 
						|
syslog_local0 =
 | 
						|
syslog_mail_warn =
 | 
						|
syslog_user =
 | 
						|
 | 
						|
# from /etc/audit/auditd.conf
 | 
						|
auditd_log = /var/log/audit/audit.log
 | 
						|
 | 
						|
 | 
						|
nginx_error_log = /var/log/nginx/error.log
 | 
						|
 | 
						|
nginx_access_log = /var/log/nginx/access.log
 | 
						|
 | 
						|
 | 
						|
lighttpd_error_log = /var/log/lighttpd/error.log
 | 
						|
 | 
						|
# http://www.hardened-php.net/suhosin/configuration.html#suhosin.log.syslog.facility
 | 
						|
# syslog_user is the default. Lighttpd also hooks errors into its log.
 | 
						|
 | 
						|
suhosin_log = %(syslog_user)s %(lighttpd_error_log)s
 | 
						|
 | 
						|
# defaults to ftp or local2 if ftp doesn't exist
 | 
						|
proftpd_log = %(syslog_ftp)s
 | 
						|
 | 
						|
# http://svnweb.freebsd.org/ports/head/ftp/proftpd/files/patch-src_proftpd.8.in?view=markup
 | 
						|
# defaults to ftp but can be overwritten.
 | 
						|
pureftpd_log = %(syslog_ftp)s
 | 
						|
 | 
						|
# ftp, daemon and then local7 are tried at configure time however it is overwriteable at configure time
 | 
						|
#
 | 
						|
wuftpd_log = %(syslog_ftp)s
 | 
						|
 | 
						|
# syslog_enable defaults to no. so it defaults to vsftpd_log_file setting of /var/log/vsftpd.log
 | 
						|
# No distro seems to set it to syslog by default
 | 
						|
# If syslog set it defaults to ftp facility if exists at compile time otherwise falls back to daemonlog.
 | 
						|
vsftpd_log = /var/log/vsftpd.log
 | 
						|
 | 
						|
# Technically syslog_facility in main.cf can overwrite but no-one sane does this.
 | 
						|
postfix_log = %(syslog_mail_warn)s
 | 
						|
 | 
						|
dovecot_log = %(syslog_mail_warn)s
 | 
						|
 | 
						|
# Seems to be set at compile time only to LOG_LOCAL0 (src/const.h) at Notice level
 | 
						|
solidpop3d_log = %(syslog_local0)s
 | 
						|
 | 
						|
mysql_log = %(syslog_daemon)s
 |