LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2003, 09:17 AM   #1
dexter_modem
Member
 
Registered: Oct 2002
Location: Chicago
Distribution: slackware > redhat
Posts: 69

Rep: Reputation: 15
how do i get these out of my messages log?


May 9 09:16:15 yomomma kernel: ll header: 00:a0:cc:40:fa:f2:08:00:11:07:ec:17:08:00
May 9 09:16:19 yomomma kernel: martian source 192.168.1.255 from 192.168.1.229, on dev eth0
May 9 09:16:19 yomomma kernel: ll header: ff:ff:ff:ff:ff:ff:00:00:39:1c:ec:17:08:00

the log just has like 9 megs of this.. its hard to find important messages. i dont care about martians lol.. the linux machine is running as a firewall. any help would be awesome thanx.
 
Old 05-09-2003, 09:31 AM   #2
mawdryn
LQ Newbie
 
Registered: Jun 2001
Posts: 25

Rep: Reputation: 15
Hi,

Try this:

echo "0" > /proc/sys/net/ipv4/conf/all/log_martians
 
Old 05-09-2003, 09:37 AM   #3
dexter_modem
Member
 
Registered: Oct 2002
Location: Chicago
Distribution: slackware > redhat
Posts: 69

Original Poster
Rep: Reputation: 15
DOH!!
 
Old 01-05-2004, 09:33 AM   #4
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Rep: Reputation: 15
So, this seams like a good way to ignore what's happening, but how do you correct the actual problem of it happening?

MadTurki
 
Old 01-05-2004, 10:33 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Martians show up from IPs that are not on a local network, but they're sending directly to your machine (in this case, broadcasting to all machines). If you have a 192.168.0.0/24 network, then 192.168.1.229 is not going to fall on that network.

Make sure that all machines and devices (this includes printers, PDAs, or anything else with an IP) connected to the network have proper IPs and subnet masks. The proper way to "take care of" something is not to ignore it! The proper way is to identify the problem and fix it, as it's obviously a network misconfiguration.
 
Old 01-05-2004, 11:51 AM   #6
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Rep: Reputation: 15
You're saying then, that there's something misconfigured? Must be the from the windows side of the network It's showing that various unix servers are coming from various win servers. We're all on the same subnet though. I'm experience occasional lockups on this machine and I'm not sure if it's because of this or another error which I'll post below - is this possible?

This is really paraphrased and shortened ->

agassi kernel: IN=eth0 OUT= MAC=00:01:03:23...etc... SRC=66.187.xxx.xxx DST=216 etc...

Long line of errors in this format that I get about 10 of at the begining of every few minutes. Could this just be broadcasts from the windows machines?
 
Old 01-05-2004, 12:27 PM   #7
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
The last log line loooks like it's from iptables and it's blocking packets. The odd thing is that the SRC and DST are both "public" or "Internet routable" IPs. It could be someone trying to spoof through your firewall, or more probably again it's a misconfigured host trying to reach the Internet through that box when it shouldn't be.

It looks like you may have a really tangled mess, and posting simple snippets from logs is not going to solve your problem. At this point your best bet is to sit down with a diagram of your network, make sure it actually makes sense (hopefully someone on the staff has a CCNA or similar networking certificate, or experience) and then review each segment and each machine at a time. Check the switches (if they're managed devices) and check each machine attached to make sure all the network settings are correct. I can tell you right now you're going to be surprised by how many misconfigurations you'll find.
 
Old 01-05-2004, 12:50 PM   #8
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
You see this a lot when both interfaces are plugged into the same hub. To avoid this try physically segregating networks to different hubs/switchs or use VLANs.
 
Old 01-05-2004, 12:58 PM   #9
MadTurki
Member
 
Registered: Nov 2003
Location: Toronto
Distribution: RedHat 9, Mandrake 10, OS X
Posts: 114

Rep: Reputation: 15
Thanks for your help
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM
syslog and firestarter - log messages to another file than messages mule Linux - Newbie 0 08-07-2003 03:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration