From owner-freebsd-net@freebsd.org Mon Oct 7 12:13:19 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 E2CD812DB28 for ; Mon, 7 Oct 2019 12:13:19 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from mail.ijs.si (mail.ijs.si [IPv6:2001:1470:ff80::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46mzs96pZCz3wYM for ; Mon, 7 Oct 2019 12:13:17 +0000 (UTC) (envelope-from Mark.Martinec+freebsd@ijs.si) Received: from amavis-ori.ijs.si (localhost [IPv6:::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.ijs.si (Postfix) with ESMTPS id 46mzs54SH9z7F3 for ; Mon, 7 Oct 2019 14:13:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ijs.si; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:from:from:date:date:content-transfer-encoding :content-type:content-type:mime-version:received:received :received:received; s=jakla4; t=1570450390; x=1573042391; bh=/2E VXhRDjdEBUTU9PUl3VOWzYf5toUUrxR3+OlZriz0=; b=CegD8SOJn1/AmNed8xB VGodhZadFXJuWPSWMP0IRaSRqHR59DmmfqqDf5wwJs9TjtdVyYH8pRDJwuj52Pro GUHyZYn1+9gL/xf0Ji3DmjHqp4YBTtv6GDnsKZ9TSJ1eGp+TtTdWoEagbtYe3XZt 7uj5zt/y5KSsVvLNLCVipNzo= X-Virus-Scanned: amavisd-new at ijs.si Received: from mail.ijs.si ([IPv6:::1]) by amavis-ori.ijs.si (mail.ijs.si [IPv6:::1]) (amavisd-new, port 10026) with LMTP id 9Kykb81i6-iR for ; Mon, 7 Oct 2019 14:13:10 +0200 (CEST) Received: from mildred.ijs.si (mailbox.ijs.si [IPv6:2001:1470:ff80::143:1]) by mail.ijs.si (Postfix) with ESMTP id 46mzs23dPJz7F0 for ; Mon, 7 Oct 2019 14:13:10 +0200 (CEST) Received: from nabiralnik.ijs.si (nabiralnik.ijs.si [IPv6:2001:1470:ff80::80:16]) by mildred.ijs.si (Postfix) with ESMTP id 46mzs20Jkxz1CL for ; Mon, 7 Oct 2019 14:13:10 +0200 (CEST) Received: from neli.ijs.si (2001:1470:ff80:88:21c:c0ff:feb1:8c91) by webmail.ijs.si with HTTP (HTTP/2.0 POST); Mon, 07 Oct 2019 14:13:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 07 Oct 2019 14:13:10 +0200 From: Mark Martinec To: freebsd-net@freebsd.org Subject: Re: DHCPv6 client in base Organization: Jozef Stefan Institute In-Reply-To: References: <001e01d50b49$176104d0$46230e70$@gmail.com> <20190516.032012.517661495892269813.hrs@allbsd.org> Message-ID: X-Sender: Mark.Martinec+freebsd@ijs.si User-Agent: Roundcube Webmail/1.3.1 X-Rspamd-Queue-Id: 46mzs96pZCz3wYM X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ijs.si header.s=jakla4 header.b=CegD8SOJ; dmarc=pass (policy=none) header.from=ijs.si; spf=pass (mx1.freebsd.org: domain of Mark.Martinec@ijs.si designates 2001:1470:ff80::25 as permitted sender) smtp.mailfrom=Mark.Martinec@ijs.si X-Spamd-Result: default: False [-3.49 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[ijs.si:s=jakla4]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2001:1470:ff80::25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-net@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; IP_SCORE(-0.49)[asn: 2107(-2.45), country: SI(0.01)]; DKIM_TRACE(0.00)[ijs.si:+]; DMARC_POLICY_ALLOW(-0.50)[ijs.si,none]; RCVD_IN_DNSWL_NONE(0.00)[5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.f.f.0.7.4.1.1.0.0.2.list.dnswl.org : 127.0.11.0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:2107, ipnet:2001:1470::/32, country:SI]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[freebsd]; DWL_DNSWL_NONE(0.00)[ijs.si.dwl.dnswl.org : 127.0.11.0] 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: Mon, 07 Oct 2019 12:13:20 -0000 2019-05-15 driesm.michiels wrote: > Has anyone ever thought or considered integrating an IPv6 DHCP client > in base? [...] > I have a plan to import wide-dhcp6 into the base system because it is > simple enough. [...] > Other alternatives? Thoughts? This topic came up three years ago. David A. Bright reported he has done some preparatory work. See the full thread from June 2016: https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045535.html Does wide-dhcp6 support (Stable Private Addresses - RFC 7217) ??? I'd really like to see this feature in dhcpv6 on FreeBSD ( "other" OSes take it for granted :) . Myself wrote then: https://lists.freebsd.org/pipermail/freebsd-net/2016-June/045610.html | | The dhcpcd seems like another good choice. | | https://roy.marples.name/projects/dhcpcd | | It is licensed under the 2 clause BSD license, | supports BSD, is being actively developed, | is in ports: net/dhcpcd | | Seems to be the only one to support RFC 7217 | (Opaque Interface Identifiers with SLAAC = Stable Private Addresses) | which currently lacks support on FreeBSD as far as I can tell | (but does work on newer linux). | | Some of the notable features: | | IPv6 Router Solicitation including optional address and route management | IPv6 Router Advertisement Options for DNS Configuration | IPv6 Stable Private Addresses | Seamless quad stack of DHCPv4, IPv4LL, IPv6RS, DHCPv6 | Small runtime, 200k on amd64 NetBSD | ... 2019-10-07 02:53, Ben Woods wrote: > I would like to discuss whether dhcpcd is a better option to import > into > FreeBSD base, rather than wide-dhcp6. > > dhcpcd has the following benefits that I can see: > - Actively maintained [1] (wide-dhcp6 seems to be stale for 11 years?) > - Used in NetBSD and DragonflyBSD (code sharing amongst the BSDs will > facilitate collective progress and lesson sharing). Roy, the upstream > maintainer, has committer on both NetBSD and DragonFlyBSD. > - more feature rich [2] > > [1] https://roy.marples.name/projects/dhcpcd/history > [2] https://roy.marples.name/projects/dhcpcd/features > > hrs - what are your thoughts? > > Regards, > Ben +1, I second that. Mark