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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <d630f87aa617098553c3a3361fcf50aa@mail.marples.name>
Date:	Sun, 10 Aug 2014 19:56:05 +0000
From:	Roy Marples <roy@...ples.name>
To:	netdev@...r.kernel.org
Cc:	"David S. Miller\" <davem@...emloft.net>, Alexey Kuznetsov
	<kuznet@....inr.ac.ru>, Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
	Patrick McHardy" <kaber@...sh.net>
Subject: [PATCH] ipv6: do not add link-local address if one already exists

Hi

Currently the kernel will always add an IPv6 link-local address
based on the hardware address when the interface is brought up.
This is probably based on the assumption that userland would
never add one before the interface is brought up.

However, one at least one userland application (dhcpcd) does this so
it can implement RFC7217 which can be used for link-local addresses
as well.

Attached is a patch which checks to see if a link-local address exists
before indiscriminately adding one.

Thanks

Roy
View attachment "linux-ipv6-onelladdr.diff" of type "text/x-diff" (598 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ