[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4694E4C4.6010404@hp.com>
Date: Wed, 11 Jul 2007 10:10:12 -0400
From: Vlad Yasevich <vladislav.yasevich@...com>
To: Rémi Denis-Courmont <rdenis@...phalempin.com>
Cc: YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@...ux-ipv6.org>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH] IPv6: optionaly validate RAs on raw sockets
Rémi Denis-Courmont wrote:
> On Wednesday 11 July 2007 15:29:16 YOSHIFUJI Hideaki / 吉藤英明 wrote:
>> In article <200707102111.18824@...uste.remlab.net> (at Tue, 10 Jul 2007
> 21:11:17 +0300), Remi Denis-Courmont <rdenis@...phalempin.com> says:
>>> ICMPv6 Router Advertisements may now contain informations that is
>>> mostly of interest to userland. This currently mostly consists of
>>> recursive DNS server addresses (though one should expect other
>>> stuff to come).
>> I really do not want to have such non-standard API in kernel.
>
> I can only think of a very limited set of ways to extract options from RAs
> that the kernel currently ignores:
>
> 1) parse everything in kernel addrconf.c
> 2) validate RA in kernel, parse userland options in userland
Yes, #2 is the right option. However, I agree that passing such info with
non-standard socket option is not ideal.
Since you asked for another idea, how about using netlink to send _validated_ RA
information to interested parties?
-vlad
-
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