netdev
[Top] [All Lists]

Re: [PATCH] IPv6: Improvement of Source Address Selection

To: kuznet@xxxxxxxxxxxxx
Subject: Re: [PATCH] IPv6: Improvement of Source Address Selection
From: Pekka Savola <pekkas@xxxxxxxxxx>
Date: Fri, 27 Sep 2002 19:28:43 +0300 (EEST)
Cc: YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx>, <netdev@xxxxxxxxxxx>
In-reply-to: <200209271602.UAA21381@sex.inr.ac.ru>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 27 Sep 2002 kuznet@xxxxxxxxxxxxx wrote:
> > This patch supports standard default source address selection
> > algorithm.
> 
> To all that I remember we had long discussion about this ages ago.
> I said I hate this. Such complicated selection without caching is _bug_.
> I see nothing improved since that time, except for the function became
> even more hairy. :-)

But you agree that a new selection is important, I think?

I agree that the spec as written (like, each address against every other, 
iterate N times etc.) seems to be like total crap.. but at least the 
intent seems to be clear-ish.

If caching was implemented I guess it would be triggered by:
 - address changes
 - route changes
 - a maximum lifetime of xx seconds?

Caching, if it can be done simply and reasonably seems like a very good
idea to me.

Btw I think labels are quite an important component of selection rules, as
it (similar to longest matching prefix) keeps certain classes of addresses
(e.g. 6to4, mapped addresses, compatible etc.) within the label.  That's
important.

User-manageable policy table is of less importance I think.

-- 
Pekka Savola                 "Tell me of difficulties surmounted,
Netcore Oy                   not those you stumble over and fall"
Systems. Networks. Security.  -- Robert Jordan: A Crown of Swords


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