Re: Import dhcpcd(8) into FreeBSD base

2022-08-14 Thread Franco Fichtner
Hi Roy, I appreciate your answers. More inline below. > On 8. Aug 2022, at 12:42, Roy Marples wrote: > > Both dhclient and rtsold are only activated manually. > For dhclient there is an exponential backoff after each message is sent. If > the messages go nowhere (ie LINK_STATE_DOWN) then this

Re: Import dhcpcd(8) into FreeBSD base

2022-08-14 Thread Ben Woods
On Wed, 10 Aug 2022, at 8:46 AM, Ben Woods wrote: > > I agree with the plan also - Import dhcpcd with its dedicated rc.d > script (build enabled with runtime off by default, but manually enabled > by dhcpcd_enable=“YES”). > > No need to change the rc or network.subr system for now, as dhclient >

Re: Import dhcpcd(8) into FreeBSD base

2022-08-09 Thread Ben Woods
On Tue, 9 Aug 2022, at 6:21 AM, Roy Marples wrote: > On 08/08/2022 21:40, Hiroki Sato wrote: >> Roy Marples wrote >>in <4516f415-939e-6374-45ce-df19a2ac6...@marples.name>: >> >> ro> On 07/08/2022 15:23, Hiroki Sato wrote: >> ro> > 1) Import dhcpcd and make it invoked via Other Configuration

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread George Michaelson
On Tue, Aug 9, 2022 at 8:57 AM Roy Marples wrote: > > On 08/08/2022 23:27, George Michaelson wrote: > > Yes. and I was trying to say, the rc.d system should alllow this to > > say "It wont work, you had rtsold_enabled=YES set" because these have > > to be either/or in my understanding of things. >

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread George Michaelson
Yes. and I was trying to say, the rc.d system should alllow this to say "It wont work, you had rtsold_enabled=YES set" because these have to be either/or in my understanding of things. You can't both do SLAAC and DHCPv6. Its either/or. On Tue, Aug 9, 2022 at 8:22 AM Roy Marples wrote: > > On 08/

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Hiroki Sato
Roy Marples wrote in <4516f415-939e-6374-45ce-df19a2ac6...@marples.name>: ro> On 07/08/2022 15:23, Hiroki Sato wrote: ro> > 1) Import dhcpcd and make it invoked via Other Configuration flag ro> > in RA for DHCPv6. This means that the rtsold daemon remains a ro> > consumer of RA mes

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Hiroki Sato
"Bjoern A. Zeeb" wrote in : bz> >> In 1)+2), there is no POLA for users of other DHCPv6 clients such as bz> >> dhcp6c or ISC's dhclient -6. A full-blown dhcpcd configuration, bz> >> which replaces dhclient/rtsold, is still possible. The cons are that bz> >> this is a partial integrati

RE: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread driesm.michiels
> -Original Message- > From: owner-freebsd-...@freebsd.org On > Behalf Of Bjoern A. Zeeb > Sent: Monday, 8 August 2022 18:43 > To: Roy Marples > Cc: freebsd-net@freebsd.org > Subject: Re: Import dhcpcd(8) into FreeBSD base > > On Mon, 8 Aug 2022, Roy

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Bjoern A. Zeeb
On Mon, 8 Aug 2022, Roy Marples wrote: Also, please consider than dhcpcd supports DNSSL and RDNSS options from RA messages whereas FreeBSD rtsold/kernel RA do not (please correct me if I'm wrong). This allows for a fully working IPv6 only setup without DHCPv6. Yeah I think we had that for ov

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Cy Schubert
In message , Franco Fichtner writes: > > > > On 7. Aug 2022, at 4:52 PM, Cy Schubert = > wrote: > >=20 > > My opinion as well. I need to see a solid business case why what we = > have in=20 > > FreeBSD base needs to be changed and how any proposed change will = > benefit=20 > > all FreeBSD user

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Franco Fichtner
> On 7. Aug 2022, at 4:52 PM, Cy Schubert wrote: > > 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

Re: Import dhcpcd(8) into FreeBSD base

2022-08-08 Thread Franco Fichtner
Hi Ben, > On 7. Aug 2022, at 11:27 AM, Ben Woods wrote: > > FreeBSD doesn’t have DHCPv6 support in base today, and therefore should > decide the best way to add it. I appreciate you’ve spent years supporting > dhcp6c and the existing tools, and we are therefore looking at this problem > space

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Franco Fichtner
Hi Doug, > On 7. Aug 2022, at 2:15 PM, Doug Rabson wrote: > > Of course but this argument is confusing - we are talking about DHCP client, > not server. You brought up Dynamic DNS and I see now that a discussion with you is not fruitful for a multitude of reasons so I am kindly not going to r

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Cy Schubert
On Sun, 07 Aug 2022 23:23:37 +0900 (JST) Hiroki Sato wrote: > "Ben Woods" wrote > in : > > wo> If accepted, I would recommend a phased implementation such as that > wo> suggested below - open to ideas. > wo> > wo> - 14.0 (and perhaps 13.2) - dhcpcd included but off by default > wo> - (WITH_D

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Cy Schubert
In message , Doug Rabson writes: > --19ac6805e5a1cb9a > 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: > > > > > > Rea

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Hiroki Sato
"Ben Woods" wrote in : wo> If accepted, I would recommend a phased implementation such as that wo> suggested below - open to ideas. wo> wo> - 14.0 (and perhaps 13.2) - dhcpcd included but off by default wo> - (WITH_DHCPCD=on, but rc.conf/network.subr continue to use wo> - dhclient/rtsold). Rel

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Doug Rabson
On Sun, 7 Aug 2022 at 09:04, Franco Fichtner wrote: > > > On 7. Aug 2022, at 9:38 AM, Doug Rabson wrote: > > > > 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, > including prefix delegation. Choosin

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Ben Woods
On Sun, 7 Aug 2022, at 3:08 PM, Franco Fichtner wrote: > Hi Ben, > > 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

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Franco Fichtner
> On 7. Aug 2022, at 9:38 AM, Doug Rabson wrote: > > 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, including > prefix delegation. Choosing a new dhcp client in FreeBSD certainly doesn't > requi

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Doug Rabson
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 prefix > delegation to obtain an IP address (not supported by dhclient or rtsold). > Having it in ports/packa

Re: Import dhcpcd(8) into FreeBSD base

2022-08-07 Thread Franco Fichtner
Hi Ben, > On 7. Aug 2022, at 7:31 AM, Ben Woods wrote: > > Reason: ensure fresh installs of FreeBSD support using DHCPv6 and prefix > 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

Re: Import dhcpcd(8) into FreeBSD base

2022-08-06 Thread George Michaelson
On Sun, 7 Aug 2022, 3:32 pm Ben Woods, wrote: > Hi freebsd-net, > > I would like to propose dhcpcd is imported into FreeBSD base. > I'd be in favour. If it makes stateful IPv6 easier for people who don't live SLAAC it's helping. This would be one of those one-or-the-other-not-both things you m

Import dhcpcd(8) into FreeBSD base

2022-08-06 Thread Ben Woods
Hi freebsd-net, I would like to propose dhcpcd is imported into FreeBSD base. Reason: ensure fresh installs of FreeBSD support using DHCPv6 and prefix delegation to obtain an IP address (not supported by dhclient or rtsold). Having it in ports/packages could be problematic if people cannot obta