Yury Polyanskiy wrote:
Hello everyone! I wanted to filter out the annoying logs: Jan 24 00:19:54 tetra kernel: martian destination 0.0.0.0 from 1.2.3.4, dev eth0 and issued the following: #iptables -t raw -I PREROUTING -s 1.2.3.4 -d 0.0.0.0 -j DROP #iptables -t raw -I PREROUTING -s 1.2.3.4 -j DROP Amazingly, I'm still getting those pesky log messages. How is this possible? # uname -a Linux xxx.xxx.xxx.EDU 2.6.28 #1 SMP PREEMPT Fri Jan 16 00:41:03 EST 2009 i686 GNU/Linux
find /proc -name log_martians set the one for your interface to `0'. greets mart -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html