Re: Iptables - flooding console

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



--On Wednesday, July 20, 2011 10:44 AM -0500 cbulist@xxxxxxxxx wrote:

> We are trying to track some specific rules using  LOG as target.
> Everything is working well but the problem is that iptables is flooding
> the console with LOG messages.

In addition to the other suggestions, you could switch to rsyslog, included 
in CentOS base. It provides much more flexible filtering options. Add a 
unique string to your iptables log lines and match on it to divert all of 
its logs to a separate file (or virtual console).

After switching to rsyslog, my /var/log/messages rarely gets a new message, 
as I've diverted everything to subsystem-specific log files. (Remember to 
add logrotate entries for them so your disk doesn't fill up.)


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux