Results 1 to 8 of 8
  1. #1
    Join Date
    Oct 2003
    Location
    California
    Posts
    1,271

    messages flooded

    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

  2. #2
    Join Date
    Dec 2003
    Location
    Brisbane, Queensland, Australia
    Posts
    547
    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.

  3. #3
    Join Date
    Dec 2003
    Location
    Brisbane, Queensland, Australia
    Posts
    547
    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

  4. #4
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    well see what it says first:


    cat /proc/sys/net/ipv4/conf/default/log_martians
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  5. #5
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    sysctl -w net.ipv4.conf.default.log_martians=0
    sysctl -w net.ipv4.conf.all.log_martians=0
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  6. #6
    Join Date
    Oct 2003
    Location
    California
    Posts
    1,271
    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
    [email protected] [~]# cat /proc/sys/net/ipv4/conf/default/log_martians
    0
    [email protected] [~]#

    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!

  7. #7
    Join Date
    Mar 2003
    Location
    California USA
    Posts
    13,294
    add

    net.ipv4.conf.all.log_martians = 0
    to /etc/sysctl.conf

    if it worked or it will go away when u reboot
    Steven Ciaburri | Industry's Best Server Management - Rack911.com
    Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com
    Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
    FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance

  8. #8
    Join Date
    Oct 2003
    Location
    California
    Posts
    1,271
    Added. Thanks linux!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •