From: Christian Schmidt Date: Sat, 29 Aug 2009 21:07:35 +0000 (+0200) Subject: Fixed some syslog related config bugs. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=659f0c79e2c8da476829608d054f837474424c74;p=ipfire-3.x.git Fixed some syslog related config bugs. --- diff --git a/config/syslog-ng/syslog-ng.conf b/config/syslog-ng/syslog-ng.conf index e6f3221aa..e3c14787c 100644 --- a/config/syslog-ng/syslog-ng.conf +++ b/config/syslog-ng/syslog-ng.conf @@ -41,7 +41,6 @@ destination kernel {file("/var/log/kernel.log");}; destination console {usertty("root");}; destination console_all {file("/dev/tty12");}; destination ids {program("/usr/sbin/ids-block");}; -destination ntpdate {program("ntpdate pool.ntp.org");}; #destination loghost {#tcp("10.0.0.1" port(514));}; filter f_boot {facility(local7);}; @@ -52,12 +51,10 @@ filter f_messages {not facility(mail, news, cron);}; filter f_emergency {level(emerg);}; filter f_snort {match("snort") and match("Priority: 1");}; filter f_ssh {program("sshd.*") and match("Failed password for root from");}; -filter f_setclock {match("time error") and match("is too large") and match("set clock manually");}; log {source(sys);filter(f_messages);destination(messages);}; log {source(sys);filter(f_emergency);destination(console);}; log {source(sys);filter(f_boot);destination(boot);}; log {source(sys);destination(console_all);}; -log {source(sys);filter(f_snort) or filter(f_ssh);destination(ids);}; -log {source(sys);filter(f_setclock);destination(ntpdate);}; +log {source(sys);filter(f_snort);destination(ids);}; log {source(sys);filter(f_kern);destination(kernel);};