Lines 1-6
Link Here
|
1 |
# Copyright 2005 Gentoo Foundation |
1 |
# Copyright 2005 Gentoo Foundation |
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/www/viewcvs.gentoo.org/raw_cvs/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened,v 1.5 2007/10/30 17:16:15 solar Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened,v 1.5 2007/10/30 17:16:15 solar Exp $ |
4 |
|
4 |
|
5 |
# |
5 |
# |
6 |
# Syslog-ng configuration file, compatible with default hardened installations. |
6 |
# Syslog-ng configuration file, compatible with default hardened installations. |
Lines 84-93
Link Here
|
84 |
filter f_crit { level(crit); }; |
84 |
filter f_crit { level(crit); }; |
85 |
filter f_err { level(err); }; |
85 |
filter f_err { level(err); }; |
86 |
|
86 |
|
87 |
filter f_avc { match(".*avc: .*"); }; |
87 |
# grsec & pax |
88 |
filter f_audit { match("^audit.*") and not match(".*avc: .*"); }; |
88 |
filter f_avc { match("^\\[.*\] .*avc: .*"); }; |
89 |
filter f_pax { match("^PAX:.*"); }; |
89 |
filter f_audit { match("^\\[.*\] audit.*") and not match(".*avc: .*"); }; |
90 |
filter f_grsec { match("^grsec:.*"); }; |
90 |
filter f_pax { match("^\\[.*\] PAX:.*"); }; |
|
|
91 |
filter f_grsec { match("^\\[.*\] grsec:.*"); }; |
91 |
|
92 |
|
92 |
log { source(src); filter(f_authpriv); destination(authlog); }; |
93 |
log { source(src); filter(f_authpriv); destination(authlog); }; |
93 |
log { source(src); filter(f_syslog); destination(syslog); }; |
94 |
log { source(src); filter(f_syslog); destination(syslog); }; |