how to disable iptables log from displaying on tty

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: shadow
Date:  
Subject: how to disable iptables log from displaying on tty
Jim wrote:

> I am using a fw script created by fwbuilder on Debian sid, kernel
> 2.4.22 and when the the firewall is running the messages from
> /var/log/syslog is displayed on the screen on all tty's to the point
> that the console can not be used.
>
> Ssh access into the firewall is the only way to access it. I want to
> configure the server so that the logs are sent to /var/log/syslog
> like usual but not displayed on the screen. What is the best way to
> do this?


Sounds like klogd is a little too verbose on the console. You can
adjust the verbosity to the console without effecting syslog by changing
the following line in /etc/init.d/klogd.

from:  KLOGD=""
to:    KLOGD="-c 3 -2"


For more info on those args, take a look at the klogd man page.


-- 
Chris Lewis

----------------------------------------
If it compiles, it is good, if it boots up it is perfect.
       - Linus Torvalds
----------------------------------------