Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
# Common
2
#
3
 
4
[INCLUDES]
5
 
6
after  = paths-overrides.local
7
 
8
[DEFAULT]
9
 
10
default_backend = %(default/backend)s
11
 
12
# Initial common values (to overwrite in path-<distribution>.conf)...
13
# There is no sensible generic defaults for syslog log targets, thus
14
# leaving them empty here (resp. set to mostly used variant) in order
15
# to avoid errors while parsing/interpolating configs.
16
#
17
# Note systemd-backend does not need the logpath at all.
18
#
19
syslog_local0 = /var/log/messages
20
 
21
syslog_authpriv = /var/log/auth.log
22
syslog_daemon  = %(syslog_local0)s
23
syslog_ftp = %(syslog_local0)s
24
syslog_mail =
25
syslog_mail_warn =
26
syslog_user = %(syslog_local0)s
27
 
28
# Set the default syslog backend target to default_backend
29
syslog_backend = %(default_backend)s
30
 
31
# Default values for several jails:
32
 
33
sshd_log = %(syslog_authpriv)s
34
sshd_backend = %(default_backend)s
35
 
36
dropbear_log = %(syslog_authpriv)s
37
dropbear_backend = %(default_backend)s
38
 
39
apache_error_log = /var/log/apache2/*error.log
40
 
41
apache_access_log = /var/log/apache2/*access.log
42
 
43
# from /etc/audit/auditd.conf
44
auditd_log = /var/log/audit/audit.log
45
 
46
exim_main_log = /var/log/exim/mainlog
47
 
48
nginx_error_log = /var/log/nginx/*error.log
49
 
50
nginx_access_log = /var/log/nginx/*access.log
51
 
52
 
53
lighttpd_error_log = /var/log/lighttpd/error.log
54
 
55
# http://www.hardened-php.net/suhosin/configuration.html#suhosin.log.syslog.facility
56
# syslog_user is the default. Lighttpd also hooks errors into its log.
57
 
58
suhosin_log = %(syslog_user)s
59
              %(lighttpd_error_log)s
60
 
61
# defaults to ftp or local2 if ftp doesn't exist
62
proftpd_log = %(syslog_ftp)s
63
proftpd_backend = %(default_backend)s
64
 
65
# http://svnweb.freebsd.org/ports/head/ftp/proftpd/files/patch-src_proftpd.8.in?view=markup
66
# defaults to ftp but can be overwritten.
67
pureftpd_log = %(syslog_ftp)s
68
pureftpd_backend = %(default_backend)s
69
 
70
# ftp, daemon and then local7 are tried at configure time however it is overwriteable at configure time
71
#
72
wuftpd_log = %(syslog_ftp)s
73
wuftpd_backend = %(default_backend)s
74
 
75
# syslog_enable defaults to no. so it defaults to vsftpd_log_file setting of /var/log/vsftpd.log
76
# No distro seems to set it to syslog by default
77
# If syslog set it defaults to ftp facility if exists at compile time otherwise falls back to daemonlog.
78
vsftpd_log = /var/log/vsftpd.log
79
 
80
# Technically syslog_facility in main.cf can overwrite but no-one sane does this.
81
postfix_log = %(syslog_mail_warn)s
82
postfix_backend = %(default_backend)s
83
 
84
dovecot_log = %(syslog_mail_warn)s
85
dovecot_backend = %(default_backend)s
86
 
87
# Seems to be set at compile time only to LOG_LOCAL0 (src/const.h) at Notice level
88
solidpop3d_log = %(syslog_local0)s
89
 
90
mysql_log = %(syslog_daemon)s
91
mysql_backend = %(default_backend)s
92
 
93
roundcube_errors_log = /var/log/roundcube/errors
94
 
95
# Directory with ignorecommand scripts
96
ignorecommands_dir = /etc/fail2ban/filter.d/ignorecommands