lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4E0DDDA5.20401@hp.com>
Date:	Fri, 01 Jul 2011 10:45:57 -0400
From:	Brian Haley <brian.haley@...com>
To:	Bjørn Mork <bjorn@...k.no>
CC:	netdev@...r.kernel.org, Stephen Hemminger <shemminger@...tta.com>,
	Herbert Xu <herbert@...dor.hengli.com.au>
Subject: Re: [PATCH] Disable router anycast address for /127 prefixes

On 07/01/2011 07:22 AM, Bjørn Mork wrote:
> RFC 6164 requires that routers MUST disable Subnet-Router anycast
> for the prefix when /127 prefixes are used.
> 
> Signed-off-by: Bjørn Mork <bjorn@...k.no>
> ---

> @@ -1479,6 +1481,8 @@ static void addrconf_join_anycast(struct inet6_ifaddr *ifp)
>  static void addrconf_leave_anycast(struct inet6_ifaddr *ifp)
>  {
>  	struct in6_addr addr;
> +	if (ifp->prefix_len == 127) /* RFC 6164 */
> +		return;
>  	ipv6_addr_prefix(&addr, &ifp->addr, ifp->prefix_len);
>  	if (ipv6_addr_any(&addr))
>  		return;

I'm not sure you'd need this part as there shouldn't be a /127 in the list to remove.

-Brian
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ