summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2007-10-30 17:16:15 +0000
committerNed Ludd <solar@gentoo.org>2007-10-30 17:16:15 +0000
commitbfd545a8010c6a8c46a2e17110b389b324aa2a77 (patch)
tree0fd1fcb5c4555f89fc8288ce69a9bbb930c73971 /app-admin/syslog-ng
parentremoved ~ppc/ppc keywords from all versions (diff)
downloadgentoo-2-bfd545a8010c6a8c46a2e17110b389b324aa2a77.tar.gz
gentoo-2-bfd545a8010c6a8c46a2e17110b389b324aa2a77.tar.bz2
gentoo-2-bfd545a8010c6a8c46a2e17110b389b324aa2a77.zip
- update syslog-ng.conf for hardened
(Portage version: 2.1.3.9)
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/ChangeLog5
-rw-r--r--app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened21
2 files changed, 22 insertions, 4 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index 4f940ccc0cae..6b6251a9f9de 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.166 2007/10/12 05:11:13 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.167 2007/10/30 17:16:14 solar Exp $
+
+ 30 Oct 2007; <solar@gentoo.org> files/syslog-ng.conf.gentoo.hardened:
+ - update syslog-ng.conf for hardened
11 Oct 2007; Tom Gall <tgall@gentoo.org> syslog-ng-2.0.5.ebuild:
stable on ppc64
diff --git a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened
index c4f70bde4ce4..4123b9532aaa 100644
--- a/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened
+++ b/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened
@@ -1,16 +1,32 @@
# Copyright 2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/files/syslog-ng.conf.gentoo.hardened,v 1.4 2006/07/12 23:59:59 solar Exp $
+# $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 $
#
# Syslog-ng configuration file, compatible with default hardened installations.
#
-options { chain_hostnames(off); sync(0); };
+options {
+ chain_hostnames(off);
+ sync(0);
+ stats(43200);
+};
+
+#options {
+# chain_hostnames(off);
+# sync(0);
+# stats(43200);
+# long_hostnames(off);
+# use_dns(no);
+# create_dirs(yes);
+#};
source src { unix-stream("/dev/log"); internal(); };
source kernsrc { file("/proc/kmsg"); };
+
#source net { udp(); };
+#log { source(net); destination(net_logs); };
+#destination net_logs { file("/var/log/HOSTS/$HOST/$YEAR$MONTH$DAY.log"); };
destination authlog { file("/var/log/auth.log"); };
destination syslog { file("/var/log/syslog"); };
@@ -99,4 +115,3 @@ log { source(src); filter(f_emergency); destination(console); };
log { source(src); destination(console_all); };
-