From owner-freebsd-net@freebsd.org Sun Oct 13 19:34:42 2019 Return-Path: Delivered-To: freebsd-net@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D259E13BFAB for ; Sun, 13 Oct 2019 19:34:42 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail.allbsd.org (mx.allbsd.org [IPv6:2001:2f0:104:e001::41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail.allbsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46rsMg48J4z4S1k; Sun, 13 Oct 2019 19:34:38 +0000 (UTC) (envelope-from hrs@allbsd.org) Received: from mail-d.allbsd.org ([IPv6:2409:11:a740:4700:58:65ff:fe00:b0b]) (authenticated bits=56) by mail.allbsd.org (8.15.2/8.15.2) with ESMTPSA id x9DJY85G011417 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=OK) (Client CN "/CN=mail-d.allbsd.org", Issuer "/C=US/O=Let's+20Encrypt/CN=Let's+20Encrypt+20Authority+20X3"); Mon, 14 Oct 2019 04:34:19 +0900 (JST) (envelope-from hrs@allbsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=allbsd.org; s=20190220; t=1570995268; bh=x4sWjq6OaKfZjliFBybSlY3ivv8xOo4EE/hVeLqZJ2k=; h=Date:To:Cc:From:In-Reply-To:References; b=XIdgDL55ejDJRD/pJ6j8ClpUlj5Voj1T4uFalrRlr0KXBt4OTm+Q5fAPIWCgXTsGj rqD7nApjuwl6X6iky3Ln1655croPvEZozMFIb3GauYGVNUPUUqyFMy+JCsSfDRiFFH t1jmPLw9SDRns6WkY4uf9XZ20cmMs8Qmyks9dmUU= Received: from alph.d.allbsd.org ([IPv6:2409:11:a740:4700:16:ceff:fe34:2700]) by mail-d.allbsd.org (8.15.2/8.15.2) with ESMTPS id x9DJY2cq021889 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Mon, 14 Oct 2019 04:34:03 +0900 (JST) (envelope-from hrs@allbsd.org) Received: from localhost (localhost [[UNIX: localhost]]) (authenticated bits=0) by alph.d.allbsd.org (8.15.2/8.15.2) with ESMTPA id x9DJXug3021885; Mon, 14 Oct 2019 04:34:02 +0900 (JST) (envelope-from hrs@allbsd.org) Date: Mon, 14 Oct 2019 04:32:09 +0900 (JST) Message-Id: <20191014.043209.919156653743886519.hrs@allbsd.org> To: woodsb02@gmail.com Cc: hrs@freebsd.org, brooks@freebsd.org, julian@freebsd.org, driesm.michiels@gmail.com, freebsd-net@freebsd.org, roy@marples.name Subject: Re: DHCPv6 client in base From: Hiroki Sato In-Reply-To: References: 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 26.2 Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha512; boundary="--Security_Multipart(Mon_Oct_14_04_32_09_2019_895)--" Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.6.2 (mail.allbsd.org [IPv6:2001:2f0:104:e001:0:0:0:41]); Mon, 14 Oct 2019 04:34:28 +0900 (JST) X-Rspamd-Queue-Id: 46rsMg48J4z4S1k X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=allbsd.org header.s=20190220 header.b=XIdgDL55; dmarc=none; spf=pass (mx1.freebsd.org: domain of hrs@allbsd.org designates 2001:2f0:104:e001::41 as permitted sender) smtp.mailfrom=hrs@allbsd.org X-Spamd-Result: default: False [-5.43 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(-0.20)[allbsd.org:s=20190220]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[allbsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[allbsd.org:+]; MID_CONTAINS_FROM(1.00)[]; RCPT_COUNT_SEVEN(0.00)[7]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:7514, ipnet:2001:2f0::/32, country:JP]; IP_SCORE(-2.33)[ip: (-9.15), ipnet: 2001:2f0::/32(-4.36), asn: 7514(1.86), country: JP(-0.01)] X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Oct 2019 19:34:42 -0000 ----Security_Multipart(Mon_Oct_14_04_32_09_2019_895)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Ben Woods wrote in : wo> On Fri, 11 Oct 2019 at 08:32, Ben Woods wrote: wo> As promised, I have completed my initial work to import dhcpcd into FreeBSD wo> base, and it is ready for review, testing and comment at the link below. wo> https://reviews.freebsd.org/D22012 wo> wo> As per the comment from brooks@, I have opted to have it installed in wo> parallel with dhclient (which remains the default). How do you want to proceed the discussion? I sent my view and made myself clear that importing dhcpcd into the base system as-is is not a good idea. What is your answer to my concerns? I also agree with Brooks about a need for sandboxing before the import if it will happen. Do you have any plan to add changes to the imported dhcpcd? And, I think there is common mistake about how to invoke dhcpcd in D22012. DHCPv6 client should be invoke upon RA with O-flag received, not invoked independently or by devd(8) upon a link-up event. I do not want people to configure ifconfig_IF_ipv6="DHCP". What people should be aware is if they want to allow receving RA. Whether DHCPv6 is required or not should be controlled by RA, not configuration on the host side. Also, DHCP-PD shuold be handled in rc.d script framework in some way. Doing something similar to IPv4 DHCP client is not enough, and having both rtsold and dhcpcd is just confusing. I want to continue discussion about what is the best or better direction instead of going ahead with D22012. -- Hiroki ----Security_Multipart(Mon_Oct_14_04_32_09_2019_895)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iMcEABMKAC0WIQRsDSNTJ8+Ax5Ae/dLbsH3Gbx9zfwUCXaN7ug8caHJzQGFsbGJz ZC5vcmcACgkQ27B9xm8fc3+oPAIGIO9H2UdoE1mXkVdK2KgcZNGNpovy3R0RJClo T8P8WsQyTom6mFpTsiKS8PwtAa+eTWdHZI1iz/lIwZyaNVaFy4gCBRCVbb87iaWv zRsN6Kmq2iDCva+wOnpWmgthZ7cpvZGX2RCU8EvRV4BzzVnvvcU2aG2rp2pFVtT/ Lm8XxK7Mmgt+ =+sJY -----END PGP SIGNATURE----- ----Security_Multipart(Mon_Oct_14_04_32_09_2019_895)----