RE: Re-routing packets via netfilter (ip_rt_bug)

From: Yair Itzhaki <hidden>
Date: 2005-04-26 14:37:43
Also in: lkml, netfilter-devel

I'm afraid I'm not following you.
Where did you want to set saddr=0 ?

Yair

-----Original Message-----
From: Herbert Xu [mailto:herbert@gondor.apana.org.au]
Sent: Tuesday, April 26, 2005 02:39
To: Patrick McHardy
Cc: Yair Itzhaki; linux-kernel@vger.kernel.org; 
netfilter-devel@lists.netfilter.org; netdev@oss.sgi.com
Subject: Re: Re-routing packets via netfilter (ip_rt_bug)


On Tue, Apr 26, 2005 at 02:08:18AM +0200, Patrick McHardy wrote:
quoted
Herbert Xu wrote:
quoted
You're right.  But then we can't call ip_route_output in the case
where saddr is foreign but daddr is local.  Nor can we call
ip_route_input since the output will be ip_rt_bug.
In that case we need to use saddr=0, which shouldn't make 
any difference
quoted
with sane routing.
Makes sense.  But what about the case where saddr is foreign but
daddr is broadcast/multicast?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help