Reducing iptables feedback in console?
Are there any good ways to reduce or redirect the kernel iptables output logs from the console to a log file? I want to try and trim down the kernel output somewhat.
|
Quote:
These are generated by klogd. The default log level of console messages can be adjusted to overcome this (see klogd manual page, the -c option). Using -c 3 will be a safe setting, this way you are only informed of kernel errors (or worse). Add this option to the start_daemon /sbin/klogd line in the /etc/rc.d/init.d/sysklogd script. |
It's iptables specific. I have got it routed temporarily to port 10000 for webmin. So far my console isn't cluttered with iptables feedback, so that's good for now.
|
1 Attachment(s)
I'm not sure this is the same problem but i solved by changing the last iptables line:
# Log everything else. What's Windows' latest exploitable vulnerability? # iptables -A INPUT -j LOG --log-prefix "FIREWALL:INPUT " # End $rc_base/rc.iptables |
All times are GMT -5. The time now is 01:20 PM. |