From nobody Sun Aug 07 07:08:24 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 4M0r5t1WnMz4Y1Lr for ; Sun, 7 Aug 2022 07:08:34 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from mail.opnsense.org (mail.opnsense.org [IPv6:2001:1af8:4700:a129:100::2]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4M0r5s0m0jz3sjm; Sun, 7 Aug 2022 07:08:33 +0000 (UTC) (envelope-from franco@opnsense.org) Received: from localhost (mail.opnsense.org [127.0.0.1]) by mail.opnsense.org (Postfix) with ESMTP id AF5CD154FB1; Sun, 7 Aug 2022 09:08:25 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.opnsense.org Received: from mail.opnsense.org ([127.0.0.1]) by localhost (mail.opnsense.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K2rNUvzqY5sv; Sun, 7 Aug 2022 09:08:25 +0200 (CEST) Content-Type: text/plain; charset=utf-8 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=opnsense.org; s=dkim; t=1659856105; bh=SmgOIEe1P67Rd5x4g+VidxpYD0QP/rORWhfCXdCfd1w=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=dVuXUj5cP+L9O9iLNya11FKvtc94SR2PFp51aGoUYfO9MvKJAAgJaqDjAhj9gDuFc GsmcBwtX//tWPIAxq1h//kEzZdzrqskO9HPsq8D1IBXax2dCCHWwGzx/xhJ6Y50Frp 8MQaiaSRnjD8fiDCxAPfG51SITFiknsCBgH510aw= 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 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Subject: Re: Import dhcpcd(8) into FreeBSD base From: Franco Fichtner In-Reply-To: Date: Sun, 7 Aug 2022 09:08:24 +0200 Cc: FreeBSD Net , emaste@freebsd.org, roy@marples.name, Hiroki Sato , brooks@freebsd.org, cy@freebsd.org, Philip Paeps Content-Transfer-Encoding: quoted-printable Message-Id: <9831CA1D-1AE2-4B46-A781-D6B98BECDFBA@opnsense.org> References: To: Ben Woods X-Rspamd-Queue-Id: 4M0r5s0m0jz3sjm X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=opnsense.org header.s=dkim header.b=dVuXUj5c; dmarc=pass (policy=quarantine) header.from=opnsense.org; spf=pass (mx1.freebsd.org: domain of franco@opnsense.org designates 2001:1af8:4700:a129:100::2 as permitted sender) smtp.mailfrom=franco@opnsense.org X-Spamd-Result: default: False [-3.50 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[opnsense.org,quarantine]; MV_CASE(0.50)[]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[opnsense.org:s=dkim]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCPT_COUNT_SEVEN(0.00)[8]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ASN(0.00)[asn:60781, ipnet:2001:1af8::/32, country:NL]; FROM_HAS_DN(0.00)[]; DKIM_TRACE(0.00)[opnsense.org:+]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Ben, > On 7. Aug 2022, at 7:31 AM, Ben Woods wrote: >=20 > Reason: ensure fresh installs of FreeBSD support using DHCPv6 and = prefix delegation to obtain an IP address (not supported by dhclient or = rtsold). Having it in ports/packages could be problematic if people = cannot obtain an IPv6 address to download it. >=20 > Why dhcpcd vs other DHCPv6 clients? It=E2=80=99s well supported, full = featured, included in NetBSD and DragonflyBSD base, and is now sandboxed = with capsicum. The other DHCP clients tend to either not support DHCPv6 = (dhcpleased) or are no longer actively maintained (wide-dhcpv6-client). Having worked on dhclient and rtsold in FreeBSD and worked with it for = years in pfSense/OPNsense the proposal here seems to be to throw all progress = away that would definitely have to be rebuilt in the years to follow for the = all- in-one (?) replacement. For OPNsense we did fork strip down and improve wide-dhcpv6 over the = years: https://github.com/opnsense/dhcp6c It could use more work and cleanups, but basically all that is required = is to bring it into FreeBSD and use it to skip a long trail of said future = work both in dhcpcd and putting back existing perks of the current dhclient and = rtsold. The basic question is: what's not working in dhclident? How is rtsold = inferior? It seems like "It=E2=80=99s well supported, full featured, included in = NetBSD and DragonflyBSD base" incorporates none of the real world concerns for = migratory work so for the time being I don't think it's a solid proposal, also = because it will cause heavy downstream disruption in OPNsense/pfSense in a few = years as well. Cheers, Franco=