[PLUG] Red Hat 9 - syslog - iptables - console messages

Chaz chaz at bctonline.com
Sat Jun 7 14:34:01 UTC 2003


Red Hat 9
Use of the LOG target in iptables causes the log message to appear on
the console as well as in /var/log/messages.
The netfilter docs say that iptables logs at the 'warning' level via
syslog.
I've tried setting the kernel console logging in syslog.conf to 'err'
(and every other level above warning) but the messages still appear
on the screen.

syslog.conf
   orig:  #kern.*		    /dev/console
   new:   kern.err		    /dev/console

I'm assuming that since the console line was originally commented
out, that syslog must default to copying it's output to the console
screen.

Please advise on how to prevent the iptables messages from apearing
on the console.  It's very disruptive because the firewall blocks
(and logs) a lot of packets.

I've also sent this to Red Hat...

-chaz
Charles L. Sliger
chaz at bctonline.com





More information about the PLUG mailing list