netdev
[Top] [All Lists]

Re: [AH6] Rearrange routing headers

To: Kazunori Miyazawa <kazunori@xxxxxxxxxxxx>
Subject: Re: [AH6] Rearrange routing headers
From: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Jul 2004 21:16:41 +1000
Cc: "David S. Miller" <davem@xxxxxxxxxx>, netdev@xxxxxxxxxxx
In-reply-to: <200407251532.13292.kazunori@miyazawa.org>
References: <20040724083709.GA9416@gondor.apana.org.au> <200407250410.03741.kazunori@miyazawa.org> <20040725080347.GA20251@gondor.apana.org.au> <200407251532.13292.kazunori@miyazawa.org>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.5.6+20040523i
On Sun, Jul 25, 2004 at 03:32:13PM +0900, Kazunori Miyazawa wrote:
>
> routing is looked up with srcrt but xfrm is looked up with final
> destination, isn't it? we have the codes in our repository.

You're right.

I only skimmed through the code and took the presence of code that
dealt with the option/extension header as evidence that it did the
right thing :)

So both IPv4 and IPv6 are broken in this respect as they use the
first address rather than the final address for policy lookup.

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

<Prev in Thread] Current Thread [Next in Thread>