[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151218.144122.761248016851249147.davem@davemloft.net>
Date: Fri, 18 Dec 2015 14:41:22 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: bjorn@...k.no
Cc: netdev@...r.kernel.org, hannes@...essinduktion.org,
hideaki.yoshifuji@...aclelinux.com
Subject: Re: [PATCH net-next] ipv6: addrconf: use stable address generator
for ARPHRD_NONE
From: Bjørn Mork <bjorn@...k.no>
Date: Wed, 16 Dec 2015 16:44:38 +0100
> Add a new address generator mode, using the stable address generator
> with an automatically generated secret. This is intended as a default
> address generator mode for device types with no EUI64 implementation.
> The new generator is used for ARPHRD_NONE interfaces initially, adding
> default IPv6 autoconf support to e.g. tun interfaces.
>
> If the addrgenmode is set to 'random', either by default or manually,
> and no stable secret is available, then a random secret is used as
> input for the stable-privacy address generator. The secret can be
> read and modified like manually configured secrets, using the proc
> interface. Modifying the secret will change the addrgen mode to
> 'stable-privacy' to indicate that it operates on a known secret.
>
> Existing behaviour of the 'stable-privacy' mode is kept unchanged. If
> a known secret is available when the device is created, then the mode
> will default to 'stable-privacy' as before. The mode can be manually
> set to 'random' but it will behave exactly like 'stable-privacy' in
> this case. The secret will not change.
>
> Cc: Hannes Frederic Sowa <hannes@...essinduktion.org>
> Cc: 吉藤英明 <hideaki.yoshifuji@...aclelinux.com>
> Signed-off-by: Bjørn Mork <bjorn@...k.no>
Applied, thanks!
Powered by blists - more mailing lists