1 |
zorry 10/04/05 22:19:33 |
2 |
|
3 |
Modified: syslog-ng.conf.gentoo.hardened.3.0 |
4 |
syslog-ng.logrotate.hardened |
5 |
Log: |
6 |
Fix bug #284669 #232847 #291259 Thank you all |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0 |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: syslog-ng.conf.gentoo.hardened.3.0 |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- syslog-ng.conf.gentoo.hardened.3.0 25 May 2009 20:07:21 -0000 1.1 |
22 |
+++ syslog-ng.conf.gentoo.hardened.3.0 5 Apr 2010 22:19:33 -0000 1.2 |
23 |
@@ -1,7 +1,7 @@ |
24 |
@version: 3.0 |
25 |
# Copyright 2005 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0,v 1.1 2009/05/25 20:07:21 mr_bones_ Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened.3.0,v 1.2 2010/04/05 22:19:33 zorry Exp $ |
29 |
|
30 |
# |
31 |
# Syslog-ng configuration file, compatible with default hardened installations. |
32 |
@@ -80,10 +80,10 @@ |
33 |
filter f_crit { level(crit); }; |
34 |
filter f_err { level(err); }; |
35 |
|
36 |
-filter f_avc { match(".*avc: .*"); }; |
37 |
-filter f_audit { match("^audit.*") and not match(".*avc: .*"); }; |
38 |
-filter f_pax { match("^PAX:.*"); }; |
39 |
-filter f_grsec { match("^grsec:.*"); }; |
40 |
+filter f_avc { message(".*avc: .*"); }; |
41 |
+filter f_audit { message("^(\\[.*\..*\] |)audit.*") and not message(".*avc: .*"); }; |
42 |
+filter f_pax { message("^(\\[.*\..*\] |)PAX:.*"); }; |
43 |
+filter f_grsec { message("^(\\[.*\..*\] |)grsec:.*"); }; |
44 |
|
45 |
log { source(src); filter(f_authpriv); destination(authlog); }; |
46 |
log { source(src); filter(f_syslog); destination(_syslog); }; |
47 |
|
48 |
|
49 |
|
50 |
1.3 app-admin/syslog-ng/files/syslog-ng.logrotate.hardened |
51 |
|
52 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened?rev=1.3&view=markup |
53 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened?rev=1.3&content-type=text/plain |
54 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened?r1=1.2&r2=1.3 |
55 |
|
56 |
Index: syslog-ng.logrotate.hardened |
57 |
=================================================================== |
58 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v |
59 |
retrieving revision 1.2 |
60 |
retrieving revision 1.3 |
61 |
diff -u -r1.2 -r1.3 |
62 |
--- syslog-ng.logrotate.hardened 26 Jul 2007 20:58:01 -0000 1.2 |
63 |
+++ syslog-ng.logrotate.hardened 5 Apr 2010 22:19:33 -0000 1.3 |
64 |
@@ -1,12 +1,14 @@ |
65 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v 1.2 2007/07/26 20:58:01 mr_bones_ Exp $ |
66 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.logrotate.hardened,v 1.3 2010/04/05 22:19:33 zorry Exp $ |
67 |
# |
68 |
# Syslog-ng logrotate snippet for Hardened Gentoo Linux |
69 |
# contributed by Maciej Grela |
70 |
# |
71 |
+# Updated bug #284669 |
72 |
|
73 |
# Generic |
74 |
/var/log/debug /var/log/syslog /var/log/kern.log { |
75 |
sharedscripts |
76 |
+ missingok |
77 |
postrotate |
78 |
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true |
79 |
endscript |
80 |
@@ -24,6 +26,7 @@ |
81 |
# User log |
82 |
/var/log/user.log { |
83 |
sharedscripts |
84 |
+ missingok |
85 |
postrotate |
86 |
/etc/init.d/syslog-ng reload > /dev/null 2>&1 || true |
87 |
endscript |