Web Hosting Talk







View Full Version : messages flooded


blockcipher
05-29-2004, 11:53 AM
Hello everyone!

I have been doing 'tail -f messages' today and noticed ALOT of errors, every second generating from eth0. eth1 is are 'internet' interface, and the eth0 is our TC Management card. I am getting the following errors flooding this log.



May 29 08:52:30 titan kernel: NET: 7 messages suppressed.
May 29 08:52:30 titan kernel: martian source 0.0.0.240 from 0.0.0.240, on dev eth0
May 29 08:52:30 titan kernel: ll header: ff:ff:ff:ff:ff:ff:00:30:48:29:98:f2:08:06
May 29 08:52:35 titan kernel: NET: 4 messages suppressed.
May 29 08:52:35 titan kernel: martian source 0.0.0.240 from 0.0.0.240, on dev eth0
May 29 08:52:35 titan kernel: ll header: ff:ff:ff:ff:ff:ff:00:30:48:29:98:f2:08:06
May 29 08:52:40 titan kernel: NET: 7 messages suppressed.
May 29 08:52:40 titan kernel: martian source 0.0.0.240 from 0.0.0.240, on dev eth0
May 29 08:52:40 titan kernel: ll header: ff:ff:ff:ff:ff:ff:00:30:48:29:98:f2:08:06
May 29 08:52:44 titan kernel: NET: 5 messages suppressed.
May 29 08:52:44 titan kernel: martian source 255.255.255.255 from 69.93.253.180, on dev eth0
May 29 08:52:44 titan kernel: ll header: ff:ff:ff:ff:ff:ff:00:30:48:29:c8:04:08:00
May 29 08:52:49 titan kernel: NET: 7 messages suppressed.
May 29 08:52:49 titan kernel: martian source 255.255.255.255 from 67.18.21.36, on dev eth0
May 29 08:52:49 titan kernel: ll header: ff:ff:ff:ff:ff:ff:00:30:48:29:8b:84:08:00



I added a this like in rc.local to stop it, and it worked for awhile. But has came back. How do I get this to stop?

rc.local

echo 0 > /proc/sys/net/ipv4/conf/default/log_martians


Any suggestions would be appreciated

pizzaboy_au
05-29-2004, 09:31 PM
Hi Blockcipher,

Can you give us an output of ifconfig -a

Also make sure that your /etc/hosts is setup correctly for example

127.0.0.1 localhost.localdomain localhost
156.154.132.187 my-server.my-dom.tld my-server

Where 156.154.132.187 my-server.my-dom.tld my-server Equals your server ip address and servername.

pizzaboy_au
05-29-2004, 09:42 PM
Instead of using:
echo 0 > /proc/sys/net/ipv4/conf/default/log_martians Try using this:

echo 0 >/proc/sys/net/ipv4/conf/eth0/log_martians

Steven
05-29-2004, 09:44 PM
well see what it says first:



cat /proc/sys/net/ipv4/conf/default/log_martians

Steven
05-29-2004, 09:46 PM
sysctl -w net.ipv4.conf.default.log_martians=0
sysctl -w net.ipv4.conf.all.log_martians=0

blockcipher
05-29-2004, 11:15 PM
Originally posted by DiBellaweb
Hi Blockcipher,

Also make sure that your /etc/hosts is setup correctly for example

127.0.0.1 localhost.localdomain localhost
156.154.132.187 my-server.my-dom.tld my-server

Where Equals your server ip address and servername.

Ya, /etc/hosts is setup the way you are explaining above



cat /proc/sys/net/ipv4/conf/default/log_martians


root@titan [~]# cat /proc/sys/net/ipv4/conf/default/log_martians
0
root@titan [~]#


echo 0 >/proc/sys/net/ipv4/conf/eth0/log_martians


Log is still going crazy.


sysctl -w net.ipv4.conf.default.log_martians=0


Did this, still was going.


sysctl -w net.ipv4.conf.all.log_martians=0


The above command seems to have stopped it!

Thank you guys for your posts!

Steven
05-29-2004, 11:41 PM
add


net.ipv4.conf.all.log_martians = 0


to /etc/sysctl.conf

if it worked or it will go away when u reboot

blockcipher
05-29-2004, 11:43 PM
Added. Thanks linux! :D