From nobody Thu Jun 6 01:48:36 2024 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 4VvnLC1TB5z5MbyT for ; Thu, 06 Jun 2024 01:48:51 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VvnLB21QXz4VJC; Thu, 6 Jun 2024 01:48:50 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.51 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-7eb44204911so20585139f.2; Wed, 05 Jun 2024 18:48:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717638528; x=1718243328; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lf+NWhojOEJGzwJztwRegnEMkAxVk7x6eKPEe1K1VwY=; b=BU4b5N49XmNrX6NUlWpVWR1P7ONUHnhZVbF73TfG45R/2v140zlHfg+E4m0aewyF9l vprj6TniYDHT/SGeISbMOXlV7mkoFxqkyACABqG84A8I0hw257RL0nzfI/vY0/uL5u4A ySbAYSbmoj3NR5q24gb/y+sgSevJG1vvDD6i9d3+R7mnwmWLDBcbWhDM+BXpdaY2dudF Ep85/d0+4Yw1J+GiEjGG8RTFY2fO6varPLILbROdkCebID18u/oarS0fNguJAD2CWxpU Cy09gmGZDf/oQvJwDeBXNLdZmwsRANqiyMfTDptB4BWbnao14kgMh3e6JWi0KQ8pZt5F 7KOA== X-Forwarded-Encrypted: i=1; AJvYcCW8E5aq/BDKiA53oUn8NMC5vTgl5tqXLfT+AlTdV0CeOGAMg2jEEZCQomQtCIVafYDzoAKUANge+p+JlFeD1d/eF157SA== X-Gm-Message-State: AOJu0YwzJpxdwkgE9I90/oSN/GQdSJ+b7oNKsKFnFC+19GyoUfwlwFQr 6a48+mVNhceoBqTipNaDErFyRGgcJdSRme8p6AzMeozorVSnD5E0VRK1qjoaFhamiUebkVWv0tR /2FQMd52fzZa4QJv0SkUswIS8K7JomTD5 X-Google-Smtp-Source: AGHT+IHTF8BzFALJQkxhpyTtZBUKpx/5GK+nFFZB2KBo1BCltbsy6bdZtOeVNAd66UU0+RwBEKiNFqMDx+3n9TGHTr0= X-Received: by 2002:a05:6602:6414:b0:7eb:3f2d:c088 with SMTP id ca18e2360f4ac-7eb3f2dc0cemr387021439f.19.1717638528148; Wed, 05 Jun 2024 18:48:48 -0700 (PDT) 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 References: In-Reply-To: From: Ed Maste Date: Wed, 5 Jun 2024 21:48:36 -0400 Message-ID: Subject: Importing dhcpcd(8) into FreeBSD base To: freebsd-net@freebsd.org Cc: roy@marples.name, Ben Woods Content-Type: text/plain; charset="UTF-8" X-Spamd-Bar: - X-Spamd-Result: default: False [-1.91 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-0.89)[-0.887]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_SHORT(-0.12)[-0.122]; MIME_GOOD(-0.10)[text/plain]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; TO_DN_SOME(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_COUNT_ONE(0.00)[1]; FREEFALL_USER(0.00)[carpeddiem]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.166.51:from]; RCVD_IN_DNSWL_NONE(0.00)[209.85.166.51:from]; R_DKIM_NA(0.00)[]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; FROM_HAS_DN(0.00)[]; MISSING_XM_UA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; ARC_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-net@freebsd.org]; RCPT_COUNT_THREE(0.00)[3] X-Rspamd-Queue-Id: 4VvnLB21QXz4VJC On Sun, 7 Aug 2022 at 01:32, Ben Woods wrote: > > Hi freebsd-net, > > I would like to propose dhcpcd is imported into FreeBSD base. I've started to revisit this during the Kitchener-Waterloo Hackathon. I've discussed briefly with Ben in private mail. For context, have a look at the previous threads on this topic: https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045535.html https://lists.freebsd.org/pipermail/freebsd-net/2019-May/053480.html https://lists.freebsd.org/archives/freebsd-net/2022-August/002234.html In the previous threads some objections were raised about dhcpcd's lack of sandboxing (Capsicum / privilege separation), which has since been addressed. I would like to start building and installing dhcpcd by default so that it is available for testing and experimentation. I do not intend to replace dhclent or rtsold, at least without more information, test results, and consensus. > - 14.0 (and perhaps 13.2) - dhcpcd included but off by default (WITH_DHCPCD=on, but rc.conf/network.subr continue to use dhclient/rtsold). Release notes list forward plan. > > - 14.1 - switch defaults in rc.conf/network.subr to use dhcpcd instead of dhclient/rtsold. Subject to any issues being addressed prior. Release notes could list deprecation of dhclient/rtsold - this deprecation step could be done slower if desired. Any change to use dhcpcd by default doesn't belong in a minor release, so if we're going to do this it won't be before 15.0. > - 15.0 - remove dhclient/rtsold - again, could be done slower if desired. I agree with a minimum of one major release for this, so it would be 16.0 at the earliest. > https://reviews.freebsd.org/D22012 There's a lot of history in this review, which is useful but also unwieldy. When there's a rebased patch set ready I'll create a new review and reference it from D22012.