From nobody Sun Aug 07 14:52:36 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 4M12PP6lhtz4Y7C5 for ; Sun, 7 Aug 2022 14:52:41 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M12PP0nmQz3bxP; Sun, 7 Aug 2022 14:52:40 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id Kf0moa8spSp39KhdwoPPmO; Sun, 07 Aug 2022 14:52:40 +0000 Received: from spqr.komquats.com ([70.66.148.124]) by cmsmtp with ESMTPA id KhdsotSihC3uhKhdtoIWg7; Sun, 07 Aug 2022 14:52:40 +0000 X-Authority-Analysis: v=2.4 cv=a6MjSGeF c=1 sm=1 tr=0 ts=62efd1b8 a=Cwc3rblV8FOMdVN/wOAqyQ==:117 a=Cwc3rblV8FOMdVN/wOAqyQ==:17 a=kj9zAlcOel0A:10 a=biHskzXt2R4A:10 a=cAe2BUNkAAAA:8 a=6I5d2MoRAAAA:8 a=NEAV23lmAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=VJpZAo2r6SM6BJ6p9tcA:9 a=JOWeiY5itpwPQvuQ8dm/GawRuwE=:19 a=CjuIK1q_8ugA:10 a=Ggd1tVC6cxfQud7OqMxb:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id 553D616D9; Sun, 7 Aug 2022 07:52:36 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id 27FA8225; Sun, 7 Aug 2022 07:52:36 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Franco Fichtner , Ben Woods cc: FreeBSD Net , emaste@freebsd.org, Doug Rabson , roy@marples.name, Hiroki Sato , brooks@freebsd.org, cy@freebsd.org, Philip Paeps Subject: Re: Import dhcpcd(8) into FreeBSD base In-reply-to: References: <9831CA1D-1AE2-4B46-A781-D6B98BECDFBA@opnsense.org> Comments: In-reply-to Doug Rabson message dated "Sun, 07 Aug 2022 08:38:52 +0100." 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: text/plain; charset=us-ascii Date: Sun, 07 Aug 2022 07:52:36 -0700 Message-Id: <20220807145236.27FA8225@slippy.cwsent.com> X-CMAE-Envelope: MS4xfH9Q8CStHzzcp1wcEc0ksAdDvMfw96+dh8emip7SX4uK9H31RZ/w6ZcdFwFOd5kfB5OvaMN1ozqWrS9XeXvOKdAt7m431HcnB5pDd6yf/3SFO12j0EaM NgI2BQS8a1qTfGXa98MuVEA5JP5T32qSGj1x/JH3CBLPVIgcVfBUnByx19ee47WkRQ2Dw5NM2puGiGd4Gq6rsmlHDdkJpOOgdGvhFd6u2xQWOFJIprIGYCFn bxjjcRADy/fsE8tobDXlyFwBI02euc35qF0rxbn/eijzeJ2StpppaIRL4/pR2Khl0G9p8fJSTdtGgYkLtX6eOQOyUFtzCIXUR6n0nTn0g4sWl8JBV+EIs91l YpKsP9r4b3c+Dquf+V5jV0qEJaDg7vurTNXJOfgyZQQ2RYmG8Oa50qqRjVGdC/z356EsBrf6FG71RtnPxespnxzeifMNReuDej0rzwcbDuNmaw68txo= X-Rspamd-Queue-Id: 4M12PP0nmQz3bxP X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 3.97.99.33) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-1.80 / 15.00]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.997]; MV_CASE(0.50)[]; RCVD_IN_DNSWL_MED(-0.20)[3.97.99.33:from]; MIME_GOOD(-0.10)[text/plain]; R_DKIM_NA(0.00)[]; RCPT_COUNT_SEVEN(0.00)[10]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US]; REPLYTO_EQ_FROM(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[cschubert.com: no valid DMARC record]; TO_DN_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[] X-ThisMailContainsUnwantedMimeParts: N In message , Doug Rabson writes: > --00000000000019ac6805e5a1cb9a > Content-Type: text/plain; charset="UTF-8" > Content-Transfer-Encoding: quoted-printable > > On Sun, 7 Aug 2022 at 08:08, Franco Fichtner wrote: > > > Hi Ben, > > > > > On 7. Aug 2022, at 7:31 AM, Ben Woods wrote: > > > > > > Reason: ensure fresh installs of FreeBSD support using DHCPv6 and prefi= > x > > 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. > > > > > > Why dhcpcd vs other DHCPv6 clients? It=E2=80=99s well supported, full f= > eatured, > > 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. > > > > I'm not sure what the problem is here? I'm using dhcpcd client in my home > lab with pfsense acting as dhcp and dhcp6 server and it works great, Agreed. I've been using dhcp6 here for years, because I want to assign a static IP to my laptop. I like to give my laptop a static IP (for IPv4 and IPv6) when at home but don't care when I'm away from home. Our current options in FreeBSD have supported my preference for years. > including prefix delegation. Choosing a new dhcp client in FreeBSD > certainly doesn't require {pf,opn}sense to use that client. Downstream projects often add, subtract, or replace FreeBSD components. I too don't understand why a special case needs to be made here. > > > > > > For OPNsense we did fork strip down and improve wide-dhcpv6 over the year= > s: > > > > https://github.com/opnsense/dhcp6c > > > > It could use more work and cleanups, but basically all that is required i= > s > > 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? > > > > Main thing that's missing for me is dynamic dns - my dhcp server updates my > local DNS using ddns. This works well for ipv4 and I've been using it this > way for years. For ipv6, rtsold is limited to handing advertising the local > prefix. Using dhcpcd for both means I get both A and AAAA records in my > local DNS which makes me happy. > > > > > > It seems like "It=E2=80=99s well supported, full featured, included in Ne= > tBSD 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. > > > > Again, not seeing the harm for either OPNsense or pfSense - these > distributions are free to choose another client. My opinion as well. I need to see a solid business case why what we have in FreeBSD base needs to be changed and how any proposed change will benefit all FreeBSD users, not just one depending distribution. Right now I just don't see it. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org NTP: Web: https://nwtime.org e**(i*pi)+1=0