LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 09-10-2008, 10:08 AM   #1
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Rep: Reputation: 0
Martian source messages echoing to terminal!


Hi All-

Thanks for looking.

I'm running Mandriva Spring 08 version. I just installed it a couple of days ago on a network server and still have some glitches to work out.

I noticed a couple of times some messages which looked like log type messages were appearing occasionally on my terminal on the server.

This morning, I am getting continuous messages on all terminals for any user that is logged in. I can't stop it. I checked /etc/syslog.conf for a clue. I saw a line which showed messages being sent to /dev/tty12 and commented it out and restarted syslog. The messages kept coming.

I stopped syslog and the messages keep coming......

I stopped iptables and Shorewall. The messages keep coming....

I'm beginning to think the messages are really coming from Mars.

I don't necessarily care about the content of the messages because I can see them in the log file and research it and work it out in time. I just want to stop echoing to terminal so I can get something done.

Please help me if you can.
 
Old 09-10-2008, 11:38 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Please cut/paste some of these messages. The exact text, please.
 
Old 09-10-2008, 01:06 PM   #3
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Original Poster
Rep: Reputation: 0
martian source messages exact text

Thanks for taking an interest.

I can't cut and paste anything. The messages interfere with everything.

Here is is hand copied:

martian source 255.255.255.255 from 192.168.0.254, on dev eth0
ll header ff:ff:ff:ff:ff:ff:00:0e:0c:3e:f8:82:08:00
 
Old 09-10-2008, 05:43 PM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
Hi -

I didn't know you meant "martian source" literally!

Here's the solution:
http://www.derkeiler.com/Mailing-Lis...3-05/0002.html

Quote:
These are packets that Linux does not expect from the direction they came
from (i.e. packets from internal hosts coming in on the external interface).
The cause is probably a misconfigured machine on your LAN.
You can turn off logging those packets via
/proc/sys/net/ipv4/conf/*interface*/log_martians
which is documented in /usr/src/linux/Documentation/proc.txt
... OR ...

http://www.linuxquestions.org/questi...oot-up-583932/
http://archive.cert.uni-stuttgart.de.../msg00009.html
Quote:
sysctl -a | grep martian
<= This command will print out all entries with "martian"

sysctl -w net.ipv4.conf.all.log_martians = 0
sysctl -w net.ipv4.conf.lo.log_martians = 0
sysctl -w net.ipv4.conf.eth0.log_martians = 0
...
<= For each "log_martian" parameter you find, "sysctl -w PARAM=0" will turn it off, and save the changes
'Hope that helps .. PSM

http://linux.about.com/library/cmd/blcmdl8_sysctl.htm
 
Old 09-11-2008, 07:37 AM   #5
claude56
LQ Newbie
 
Registered: Jun 2004
Distribution: Linux Mandrake 9.2/Mandriva Spring '08
Posts: 15

Original Poster
Rep: Reputation: 0
Echo To Terminal

Thanks for your help Paul. I believe I have martian logging turned off now.

The other question I have still remains:

Why were ANY messages echoing to the console? I just upgraded from Mandrake 9.something and I never had messages echoing to the console under that OS.

What program does that?
or
Where is the conf file?
or
How do you turn it on and off?

Thanks, Claude
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Strange "martian source" messages in my linux gateway log files Dr3am3r Linux - Networking 2 12-09-2006 08:57 AM
getting martian source messages linuxboy69 Linux - Security 16 10-08-2005 12:08 PM
martian source messages win32sux Linux - Security 2 08-26-2004 05:33 PM
Kernel echoing messages on VC (unwanted behavior) lhoff Mandriva 3 12-05-2003 03:28 PM
ongoing messages in the message log martian source saavik Linux - Networking 4 09-23-2002 06:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:35 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