Received: from magnesium.8pit.net (magnesium.8pit.net [45.76.88.171]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id 52660782CAB for <~alpine/devel@lists.alpinelinux.org>; Tue, 19 Jan 2021 06:03:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=opensmtpd; bh=mFz0DRA/Hi yK8yYqyufStOCpc8+e1CtHhEOc5+Vsia8=; h=in-reply-to:references:from: subject:to:date; d=soeren-tempel.net; b=FNgMOVJnJufNxv3nhAz5mq0ucTHWdT NpCyhk0Vxqt3YqjTznqT2ecd74AZCPngST3WgNZd2GPiklLYTwUl+/u4/RwadQDQz8SHeL Sf8nJB9afuBn7jEUK9Ar6DLHQUN3uW3r4kb0LC15J0lMzFgTxvmduc7v8xCfAJyTyRW/u5 I= Received: from localhost (p200300f5ff09fd00498e6ff0e97a3143.dip0.t-ipconnect.de [2003:f5:ff09:fd00:498e:6ff0:e97a:3143]) by magnesium.8pit.net (OpenSMTPD) with ESMTPSA id 208ecfea (TLSv1.3:AEAD-AES256-GCM-SHA384:256:YES) for <~alpine/devel@lists.alpinelinux.org>; Tue, 19 Jan 2021 07:03:19 +0100 (CET) Date: Tue, 19 Jan 2021 07:03:14 +0100 To: ~alpine/devel@lists.alpinelinux.org Subject: Re: Proposed system change: Use dhcpcd as default DHCP client From: =?UTF-8?Q?S=C3=B6ren?= Tempel References: In-Reply-To: Message-Id: <1ZT7J29AS5AJH.2CQHETQ00K814@8pit.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Ariadne Conill wrote: > Hello, Hi, Thanks for bringing this up, I think IPv6 support in Alpine is generally a very important issue. > By focusing on the dhcpcd client as our preferred DHCP client, we can=20 > support dual-stack IPv4+IPv6 autoconfiguration out of the box. This is=20= > helpful for CPE and home router deployments, where an ISP provides DHCP=20= > for IPv4 and DHCPv6-PD for prefix delegation, which is the most common=20= > form of dual-stack deployment at the consumer ISP level. =46rom my subjective experience I don't agree with this statement, at least where I am living ISP-provided CPEs employ SLAAC for IPv6 autoconfiguration. I've been using uhcp for the last > 5 years and never had to configure a DHCPv6 client for IPv6 connectivity. > At present, users must install dhcpcd or ISC dhclient in order to support= =20 > this configuration -- while this is not a huge burden for the user, the=20= > future is trending towards network deployments which do not have IPv4=20 > service at all[0], which makes integrating a high quality DHCPv6 client=20= > into our base system a strategic priority. If you are forced to use DHCPv6 instead of SLAAC: Doesn't our busybox package already provide udhcpc6, why would it be necessary to install dhcpcd or ISC dhclient in this scenario? > By using dhcpcd by default, Alpine will support IPv4-only networks, IPv4=20= > and IPv6 dual-stack networks and IPv6-only networks in all possible=20 > auto-configuration scenarios. Alpine already supports these scenarios as long as SLAAC is used. > Finally, dhcpcd has the best security maintenance record of the DHCP=20 > clients we presently support: BusyBox udhcpc, ISC dhclient and dhcpcd. Source on this? What do you mean by "security maintenance record"? I would expect the dhcpcd codebase to more complex than the udhcpc implementation, i.e. would expect it to have more security critical bugs (it also has more features after all). After all, apart from security simplicity also used to be an Alpine design goal ;) Personally not convinced (yet?) that we really need dhcpcd in alpine-base. Greetings, S=C3=B6ren