Logging to the screen

Marc Haber mh+netfilter at zugschlus.de
Tue Nov 22 20:26:46 CET 2005


On Tue, Nov 22, 2005 at 12:16:20PM -0600, Scott Mayo wrote:
> I just noticed that my fireall is sending some of my LOGs to the screen. 
>  I had tried setting something up a while back to LOG certain things, 
> and was not sure if it was working or not.  Today, I went to the actual 
> firewall itself and see all this info that I had my IPTABLES log, on the 
> screen.  Any reason why it is not sending it to the /var/log/messages?

It should be sending to syslog via klogd, if you have that properly
set up. To keep it from logging to the console, set sysctl
kernel.printk to something like 2 4 1 7

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835



More information about the netfilter mailing list