Linux Netfilter discussions
 help / color / mirror / Atom feed
* Messages to console
@ 2003-08-18 22:29 Len L.
  2003-08-18 22:45 ` Frank Smith
  2003-08-19 10:58 ` André Valente
  0 siblings, 2 replies; 6+ messages in thread
From: Len L. @ 2003-08-18 22:29 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Hey guys,
 
Not a killer, but I get all the iptable log messages to /dev/console.  I can not find where to control this.  I checked /etc/syslog.conf, but kernal messages was turned off (in fact if I turn kernal logging on I get duplicate messages to the console).  I also did man on iptables, but I do not see any reference to logging to /dev/console 
 
Can anyone point me in the right direction?

[-- Attachment #2: Type: text/html, Size: 654 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: Messages to console
@ 2003-08-19 14:48 Anderson, Ray
  0 siblings, 0 replies; 6+ messages in thread
From: Anderson, Ray @ 2003-08-19 14:48 UTC (permalink / raw)
  To: Len L., netfilter

[-- Attachment #1: Type: text/plain, Size: 1393 bytes --]

I have a RedHat 9 box, and this problem haunted me for MONTHS.....

The way I found to fix it (Thanks to Bryan - bryanp@visi.com) was to modify
the syslog in /etc/sysconfig/

The man page says that anything UNDER the given number will be shown on the
console, but I've found that anything equal to the number or below will spew
to the console, so I added -c 3 (instead of 4 as man suggests) to the
KLOGD_OPTIONS line:

KLOGD_OPTIONS="-x -c 3"

I also changed the syslog file in /etc/rc.d/init.d just for good measure.

My console logging has since stopped.

-=Ray
---------------------------------------
As a fighter pilot I knew from my own experiences how decisive surprise and
luck can be for a success, which in the long run only comes to the one who
combines daring with cool thinking.
Lt. General Adolph Galland, Luftwaffe

-----Original Message-----
From: Len L. [mailto:len@euler.com] 
Sent: Monday, August 18, 2003 3:29 PM
To: netfilter@lists.netfilter.org
Subject: Messages to console


Hey guys,

Not a killer, but I get all the iptable log messages to /dev/console.  I can
not find where to control this.  I checked /etc/syslog.conf, but kernal
messages was turned off (in fact if I turn kernal logging on I get duplicate
messages to the console).  I also did man on iptables, but I do not see any
reference to logging to /dev/console 

Can anyone point me in the right direction?

[-- Attachment #2: Type: text/html, Size: 2264 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-08-21 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-18 22:29 Messages to console Len L.
2003-08-18 22:45 ` Frank Smith
2003-08-19 10:58 ` André Valente
2003-08-19 14:07   ` Carlos Delfino Carvalho Pinheiro
2003-08-21 13:38   ` Port forward Rimas
  -- strict thread matches above, loose matches on Subject: below --
2003-08-19 14:48 Messages to console Anderson, Ray

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox