LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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
 
LinkBack Search this Thread
Old 03-04-2002, 03:09 PM   #1
Jon-
Member
 
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91

Rep: Reputation: 15
Question Martian source! Why now?


I just noticed a bug on one of my NAT boxes this weekend during a brief Sprint outage, which I think is partially due to an upgrade on one of my older NAT machines, and now I'm getting the 'martian source' errors (cool error msg

It was running 2.2.14, now it's running 2.2.19. This machine has 3 NICS. One is connected to the internal net, the other two are connected to our seperate Internet connections. The idea is that if our primary carrier drops, a script will create a new default gw route for the second carrier. This has worked great.

Now, for some reason this system is now having problems keeping outside traffic seperate.

If I ping either IP from any machine internal or external, all is fine. If however I force the ping over a specific interface that doens't have the default route (ping -n <w.x.y.z> -Ieth2), the icmp traffic leaves the NAT box, successfully finds the destination, comes back, and then when the NAT box tries to interpret the result freaks out with the martian source error.

It will always do this for the adapter who's default gw is not being used. So, if I have a default route for eth1 and no default route for eth2, then the martian source appears for eth2. If however I create a new default gw for eth2 and leave the one for eth1 in place (such that it will now use eth2 for all normal originating traffic) it will work fine for eth2 and generate martian source for eth1 for ping -n <w.x.y.z> -Ieth1.

This used to work w/ 2.2.14, and it seems like the upgrade hosed something. But, what's weird is that I have another box with 2.2.14 that I haven't upgraded yet that has an almost identicle configuration and it works fine. However, it's a P2/400, while the problem box is a P166. So, either this is a hardware glitch, or there is some setting screwed up on this wonky NAT box... any ideas? I did try to flush the route cache too

Thanks,
Jon
 
Old 03-05-2002, 06:14 PM   #2
Jon-
Member
 
Registered: Dec 2001
Distribution: RH5.2/6.2/7.0/7.1/7.2/9/ES21/ES31
Posts: 91

Original Poster
Rep: Reputation: 15
Solved the problem... Not a bug -- turns out the security in 2.2.14 wasn't quite as high as 2.2.19 (at least for RH). The ol rp_filter was enabled by defeault for all interfaces in 2.2.19. So, turned it off and all is good. The reason is worked on the other box was I already had it turned off because of the FreeS/WAN software requirements. Now all is happy.

Thanks,
Jon
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting martian source messages linuxboy69 Linux - Security 16 10-08-2005 12:08 PM
martian source from my own IP? yapp Linux - Security 4 03-30-2005 06:36 PM
martian source saavik Linux - Networking 0 07-02-2003 02:47 AM
martian source baffling me? Pcghost Linux - Networking 3 04-01-2003 08:43 PM
what does martian source mean? saavik Linux - Security 4 06-04-2002 08:34 AM


All times are GMT -5. The time now is 05:40 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration