[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: log-messages of iptables

On 2004-05-13 Frank Geschner wrote:
> i've got a minimal installation of debian3.0r2 with iptables and ipmasq.
> however, after installing ipmasq i get lot of messages onto my console 
> in the following manner:
> IN=eth0 out= MAC:#=01:00 .... PROTO=2
> i thought that the entry at /etc/syslog.conf
> kern.*    -/var/log/kern.log
> means that messages of this kind are logged there. but they were wrote 
> into this file and additionally to the console and that is nerved.
> how can i avoid this effect?

echo 4 > /proc/sys/kernel/printk

To make the effect permanent add the option "-c 4" in /etc/init.d/klogd.

Ansgar Wiechers

Reply to: