From nobody Mon Aug 8 20:12:40 2022 X-Original-To: freebsd-net@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M1p92479kz4Y5x3 for ; Mon, 8 Aug 2022 20:44:38 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M1p923Zt4z3q4W; Mon, 8 Aug 2022 20:44:38 +0000 (UTC) (envelope-from hrs@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659991478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fkk4VPsRGbvg8Cj66RJyfFWCxXkJdtNZynnZwtdH9r4=; b=fCzWE4lJdlkP7/6mQmCAV9Bph8m3QTIgj+p30EFohJD5xJAxyXAwRa+l6dRAfZ3y30DIWX VjInFWUlAh6GXd+HStIhE+18Vz9mmSKqjfbG+XljOUzd54poPvI4qC6U4uP4zrOgh+WKNY eXycV/8SB/9oV0j/N/NTXiR7/L9UKLkw3O3qB0O/tuxoOOg2sleeatddQGerAoeeYyaUsa 27P+Vv91OlyqcdXowHhOue3lfN7XCchA2NIrd8GaIaWJZuyf4UXMh+zczOsmibfeNth7LV h6Ae9T/wmacVV4/6z/vSCFTFPHO0gnAx6U22GiVQgYDWND2nThzHqaK5N/6Vcw== Received: from localhost (unknown [IPv6:2400:4051:a743:3c00:5a9c:fcff:fe10:ffc2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: hrs) by smtp.freebsd.org (Postfix) with ESMTPSA id 4M1p913YN8z12sT; Mon, 8 Aug 2022 20:44:37 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Date: Tue, 09 Aug 2022 05:12:40 +0900 (JST) Message-Id: <20220809.051240.2150549941399962936.hrs@FreeBSD.org> To: bz@FreeBSD.org, roy@marples.name Cc: freebsd-net@freebsd.org Subject: Re: Import dhcpcd(8) into FreeBSD base From: Hiroki Sato In-Reply-To: References: <20220807.232337.383956020917382126.hrs@FreeBSD.org> <64e22fba-3f34-a419-2e51-7dfa21199919@marples.name> X-Old-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-PGPkey-fingerprint: 6C0D 2353 27CF 80C7 901E FDD2 DBB0 7DC6 6F1F 737F X-Mailer: Mew version 6.8 on Emacs 27.2 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@freebsd.org Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Tue_Aug__9_05_12_40_2022_996)--" Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659991478; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fkk4VPsRGbvg8Cj66RJyfFWCxXkJdtNZynnZwtdH9r4=; b=wYACth8CUObI0zK0BZjFXOdiTQOxmbC0hpVaiV04qnEfZeREgEt+OGPVQdBfuSou2h9cGW mX9u+7MGVYC1SSWlmdy/bEceZMyKxKerU9o12/8B4622rJJ+mxJFknF5XkLRCLHl5p1z5p h/GRSE4+ThowApPf0qFjNtD8wQWpdEnTk5Bhptl14ZnQxuCnpzxfIxrroIrsKxwkC4Eh4z o5FVIl7hIeko7chqA+f59rNehJ0QC1FTvt1x7xx0gPhCTLSLCTZxT9Z3Hc+SOAHp9ibcoQ RWs/naMTvDJqf0XFKGA4MAGeI9W96xHDuI9el/cYEPrGiROLn4cvA7G91o0X/A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659991478; a=rsa-sha256; cv=none; b=GRJOsSgCWGXmWBMYdOrtmkGLWaHuPABnAlAotaSNU1eHfuAa6PeUUzFbP8vNwJfroDbZJ0 rTIKYe2Rn8st7ZJbdQObqZVVE9ep+1Yy6thAV4ftUsScf//KfhsTlPtNzNCOOY3UCSeo/q UFrQK7T+Tg5HdxeoBqGFuDCqGXagzuuvJPwbEAmRfQ7JJ/eCtZPtv1pGCZyNqUXNhhhRpR NT8BWfL/QfhdsbWcDcmICwZxyLNiFNVld1xfyswiCcG59Af+go1p4zn1XgivYXKfus1ezL +hNMRaJvOC6eRDGj3SLDiM/KcuEV10orJzI/ShFFmNDGkPk07Fo1YIpah7F/+Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N ----Security_Multipart(Tue_Aug__9_05_12_40_2022_996)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Bjoern A. Zeeb" wrote in : bz> >> In 1)+2), there is no POLA for users of other DHCPv6 clients such as bz> >> dhcp6c or ISC's dhclient -6. A full-blown dhcpcd configuration, bz> >> which replaces dhclient/rtsold, is still possible. The cons are that bz> >> this is a partial integration of dhcpcd, which prevents some useful bz> >> feature available in the master mode, and some complexity remains in bz> >> the rc.d scripts. I think these are a trade-off. I am interested in bz> >> whether this integration has a big problem when people use the bz> >> imported dhcpcd. bz> >> bz> >> And probably we have to revisit this integration when we want to bz> >> support DHCP 4o6 or something that involves IPv4 and IPv6 at the same bz> >> time. The flexibility of the "toolbox" approach would be helpful in bz> >> minimizing the impact on the existing configurations when more future bz> >> integration change occurs. bz> > bz> > Agreed. I noted my concerns above and would favour a full blown dhcpcd configuration for new installs and leave the current dhclient/rtsold for exising installs. No need to force people to move. bz> bz> I think that is a very sensible approach to do it incrementally. bz> bz> If people can agree on bz> (1) importing it and first closing the gap of the missing DHCPv6 client making bz> sure it does all people have accumultaed over the years, bz> (2) and then solving the "how do I disable dhclient and rtsold and per-IF configs bz> and just run the-one-thing as an alternative in rc" in the 2nd step I agree with (1) before 14 and discussing (2) after that, separately. -- Hiroki ----Security_Multipart(Tue_Aug__9_05_12_40_2022_996)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMkEABMKAC4WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCYvFuOBAcaHJzQGZyZWVi c2Qub3JnAAoJENuwfcZvH3N/vUQCCKmIe8Lio9TGk4oWy4RZGcGDdRPXhPhQsNUI 8uHP5zq/hVKA92++fc3YR/a3+aIzSEnkxCcWJBru67wmNmt24NmjAgkB0qJVhvpa ZoWjUdX3/iWJeFIr8qHTkYRXQg6+p3UlH7JdVqyr7K4jmq/zN8W2t62Ye0655G0u pZNJzNqe7zWCeKs= =UTXr -----END PGP SIGNATURE----- ----Security_Multipart(Tue_Aug__9_05_12_40_2022_996)----