]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Fixed some syslog related config bugs.
authorChristian Schmidt <maniacikarus@ipfire.org>
Sat, 29 Aug 2009 21:07:35 +0000 (23:07 +0200)
committerChristian Schmidt <maniacikarus@ipfire.org>
Sat, 29 Aug 2009 21:07:35 +0000 (23:07 +0200)
config/syslog-ng/syslog-ng.conf

index e6f3221aac58aed52b1d542e77ad81fb4173ada8..e3c14787c5ab0fa4f00e9c7b5d5c2a07348fcb49 100644 (file)
@@ -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);};