Received: with ECARTIS (v1.0.0; list netdev); Fri, 27 Sep 2002 09:28:57 -0700 (PDT) Received: from netcore.fi (netcore.fi [193.94.160.1]) by oss.sgi.com (8.12.5/8.12.5) with SMTP id g8RGSstG011685 for ; Fri, 27 Sep 2002 09:28:54 -0700 Received: from localhost (pekkas@localhost) by netcore.fi (8.11.6/8.11.6) with ESMTP id g8RGShO02992; Fri, 27 Sep 2002 19:28:43 +0300 Date: Fri, 27 Sep 2002 19:28:43 +0300 (EEST) From: Pekka Savola To: kuznet@ms2.inr.ac.ru cc: YOSHIFUJI Hideaki / =?iso-2022-jp?B?GyRCNUhGIzFRTEAbKEI=?= , Subject: Re: [PATCH] IPv6: Improvement of Source Address Selection In-Reply-To: <200209271602.UAA21381@sex.inr.ac.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-archive-position: 364 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: pekkas@netcore.fi Precedence: bulk X-list: netdev On Fri, 27 Sep 2002 kuznet@ms2.inr.ac.ru 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