From owner-freebsd-net@freebsd.org Mon Oct 7 19:20:59 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 5E0801378F5 for ; Mon, 7 Oct 2019 19:20:59 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46n9Lf62tyz4SJN; Mon, 7 Oct 2019 19:20:58 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (c-73-225-95-104.hsd1.wa.comcast.net [73.225.95.104]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id x97JKueL054353 (version=TLSv1.2 cipher=AES128-SHA bits=128 verify=NO); Mon, 7 Oct 2019 12:20:57 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: DHCPv6 client in base To: Roy Marples , Ben Woods , Hiroki Sato Cc: freebsd-net@freebsd.org, driesm.michiels@gmail.com References: <001e01d50b49$176104d0$46230e70$@gmail.com> <20190516.032012.517661495892269813.hrs@allbsd.org> <8f869d59-ecf8-8e9f-ad64-74a64f744dfa@marples.name> From: Julian Elischer Message-ID: <02104834-6ceb-e808-68a6-74ddd29f6075@freebsd.org> Date: Mon, 7 Oct 2019 12:20:50 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <8f869d59-ecf8-8e9f-ad64-74a64f744dfa@marples.name> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 46n9Lf62tyz4SJN X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-1.68 / 15.00]; TAGGED_RCPT(0.00)[]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-0.68)[-0.684,0]; ASN(0.00)[asn:36236, ipnet:204.109.60.0/22, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,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 19:20:59 -0000 On 10/7/19 12:05 PM, Roy Marples wrote: > On 07/10/2019 19:45, Julian Elischer wrote: >> I'm not HRS, but as it uses netlink, how does NetBSD use it?  (i.e. >> how do we simulate that?) > > dhcpcd has a driver per OS: > BSD == route(4) though sometimes I wonder if that could not be improved.. it's now what? 35 years old? > Linux == netlink(3) > Solaris == route(4) along with an unholy mashup of streamio(7) > > I try and keep OS specific defines out of the main code. > > dhcpcd is also in the FreeBSD ports tree and is currently up to date. Nice to know. I guess the question is really "How compatible with ISC/dhclient is it (seems somewhat so), does it give us advantages over staying with the current tools, and how supported are the other tools, vs these? Every tool set comes with advocates and someone is sure to be upset if we choose one. :-) A dhcp Client is a necessary part of the OS (though a bit less so with IPV6) but the serer side can be a port. (as it is). > Roy >