public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* I want my martians
@ 2002-03-22 10:20 Joerg Pommnitz
  2002-03-22 21:40 ` Vojtech Pavlik
  0 siblings, 1 reply; 3+ messages in thread
From: Joerg Pommnitz @ 2002-03-22 10:20 UTC (permalink / raw)
  To: linux-kernel

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 845 bytes --]

Hi List,
as I wrote in
http://marc.theaimsgroup.com/?l=linux-net&m=101672497502530&w=2 I'm trying
to send packets from one network interface to another one on the same
machine over the external network. This almost works except for the fact
that the Linux IP stack considers these packets to be "martians" and drops
them. While this might be a good idea for normal operation it prevents me
from doing what I want: network latency and reliability measurements.

So, is there a way to convince the Linux kernel that these martians are
not here to take over the world but just harmless little packets that
should be delivered to the waiting application?

Regards
  Jörg

=====
-- 
Regards
       Joerg


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I want my martians
  2002-03-22 10:20 I want my martians Joerg Pommnitz
@ 2002-03-22 21:40 ` Vojtech Pavlik
  2002-03-27 11:22   ` Joerg Pommnitz
  0 siblings, 1 reply; 3+ messages in thread
From: Vojtech Pavlik @ 2002-03-22 21:40 UTC (permalink / raw)
  To: Joerg Pommnitz; +Cc: linux-kernel

On Fri, Mar 22, 2002 at 02:20:58AM -0800, Joerg Pommnitz wrote:
> Hi List,
> as I wrote in
> http://marc.theaimsgroup.com/?l=linux-net&m=101672497502530&w=2 I'm trying
> to send packets from one network interface to another one on the same
> machine over the external network. This almost works except for the fact
> that the Linux IP stack considers these packets to be "martians" and drops
> them. While this might be a good idea for normal operation it prevents me
> from doing what I want: network latency and reliability measurements.
> 
> So, is there a way to convince the Linux kernel that these martians are
> not here to take over the world but just harmless little packets that
> should be delivered to the waiting application?

for a in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $a; done

-- 
Vojtech Pavlik
SuSE Labs

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: I want my martians
  2002-03-22 21:40 ` Vojtech Pavlik
@ 2002-03-27 11:22   ` Joerg Pommnitz
  0 siblings, 0 replies; 3+ messages in thread
From: Joerg Pommnitz @ 2002-03-27 11:22 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: linux-kernel, papiraki

"Emmanuel Papirakis" <papiraki@cilys.com>

 > echo 0 > /proc/sys/net/ipv4/conf/eth0/rp_filter
 > 
 > (You want to disable reverse-path filtering.)
 > 
 > And maybe:
 > 
 > echo 0 > /proc/sys/net/ipv4/conf/eth0/log_martians
 > 
 >             Papi

"Vojtech Pavlik" <vojtech@suse.cz>

 > 
 > for a in /proc/sys/net/ipv4/conf/*/rp_filter; do echo 0 > $a; done
 > 

I tried this before. It does not help for packets destined for the
same host.

Regards
  Jörg

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de
Ihre E-Mail noch individueller? - http://domains.yahoo.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-03-27 11:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-22 10:20 I want my martians Joerg Pommnitz
2002-03-22 21:40 ` Vojtech Pavlik
2002-03-27 11:22   ` Joerg Pommnitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox