I want my martians
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
=====
Signature · 8 lines
Regards
Joerg
__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/Quoted 9 lines · Joerg Pommnitz
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.
Quoted 3 lines
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
Signature · 2 lines
Vojtech Pavlik SuSE Labs
"Emmanuel Papirakis" <[email protected]>
Quoted 9 lines
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_martiansPapi
"Vojtech Pavlik" <[email protected]>
Quoted 3 lines
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