[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080618142547.GC25004@pingi.kke.suse.de>
Date: Wed, 18 Jun 2008 16:25:47 +0200
From: Karsten Keil <kkeil@...e.de>
To: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>, kkeil@...e.de, netdev@...r.kernel.org,
Mironov_Sergey@....com, akpm@...ux-foundation.org,
torvalds@...ux-foundation.org
Subject: Re: [PATCH] [IPv6] Do not use loopback as source address on other interfaces
On Wed, Jun 18, 2008 at 04:05:58PM +0200, Karsten Keil wrote:
> On Wed, Jun 18, 2008 at 10:36:00PM +0900, YOSHIFUJI Hideaki / 吉藤英明 wrote:
> > In article <20080618132312.GA25004@...gi.kke.suse.de> (at Wed, 18 Jun 2008 15:23:12 +0200), Karsten Keil <kkeil@...e.de> says:
> >
> > > RFC 4291 forbit the use of the loopback address as source outside a node
> > > (paragraph 2.5.3).
> > >
> > > The latest TAHI test release 4.0.1 does have a check for this (ICMPv6 test
> > > v6LC.5.1.2 Part F), so it fails currently on Linux.
> > >
> > > Signed-off-by: Sergey Mironov <Mironov_Sergey@....com>
> > > Signed-off-by: Karsten Keil <kkeil@...e.de>
> >
> > I disagree this approach - too ad-hoc fix just to pass the tests.
> >
>
> So you would prefer a more general test in some common place (like
> __ip6_local_out() ) to avoid any packets with ::1 on other devices as
> loopback ?
>
I think that dropping pakets with destination ::1 in ipv6_rcv() for devices
!= loopback would be better reflect what RFC 4291 2.5.3 says.
--
Karsten Keil
SuSE Labs
ISDN and VOIP development
SUSE LINUX Products GmbH, Maxfeldstr.5 90409 Nuernberg, GF: Markus Rex, HRB 16746 (AG Nuernberg)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists