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

Re: Re: annoying iptables messages



Hi,

I just had the same problem. It seems to me that if you don't want the
messages to be stored at all you should stop them from being logged.

I installed kmyfirewall to manage my iptables. It generates the iptables
script automatically. The following lines enable logging:

for i /proc/sys/net/ipv4/conf/*/log_martians; do
echo 1 > $i
done

So if you just dont want to log the packages change it to:

for i /proc/sys/net/ipv4/conf/*/log_martians; do
echo 0 > $i
done

It works for me.




Reply to: