RE: help needed: clogged console

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

 



On Fri, 2 Jan 2004, John A. Sullivan III wrote:

> > Search for 'dmesg -n 1' - I think that's what you're after.
                ^^^^^
> I've been really confused by this issue.  I am also running iptables on
> RedHat 9.0.  /etc/syslog.conf shows nothing being logged to the
> console.  Yet, ever since applying the netfilter patch-o-matic
> tcp-window patch, all of its messages appear on my console.  The
> netfilter mail lists say this is a misconfiguration of syslog but it
> sure looks correctly configured to me.  No other iptables messages go to
> the console - just the tcp-window messages. How do I stop them!!! Thanks

Default the tcp-window-tracking patch uses extensive kernel logging,
while the other parts of netfilter keeps mouth shut. You can easily
disable the logging by

echo 0 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_log_invalid

Back to the console logging: klogd uses the console to display the kernel
log messages. You can alter it's default behaviour by issuing dmesg like
above or setting the proper command line switches for klogd. If you want
to send the kernel logs to other places (file/remote machine etc.), *then*
you have to configure syslogd properly.

Best regards,
Jozsef
-
E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxxxxx
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
          H-1525 Budapest 114, POB. 49, Hungary



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux