Bug 291081 - dhcpcd-10.3.0 fails to get ipv6 prefix delegation
Summary: dhcpcd-10.3.0 fails to get ipv6 prefix delegation
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dries Michiels
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-18 15:57 UTC by Alessandro Sagratini
Modified: 2025-11-18 21:59 UTC (History)
1 user (show)

See Also:


Attachments
dhcpcd configuration (608 bytes, text/plain)
2025-11-18 15:57 UTC, Alessandro Sagratini
no flags Details
dhcpcd log file (868 bytes, text/plain)
2025-11-18 16:05 UTC, Alessandro Sagratini
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Sagratini 2025-11-18 15:57:03 UTC
Created attachment 265492 [details]
dhcpcd configuration

hi,
after upgrading dhcpcd.conf from 10.2.4 to 10.3.0 version, I am no longer able to get ipv6 prefix delegation from my ISP, which used to work great with attached configuration but previous dhcpcd version, so there has to be something that needs tweaking on this new version?

I would like to rule out a firewall misconfiguration since everything is working as expected with previous version and with dhcp6c.

Thank you
Comment 1 Alessandro Sagratini 2025-11-18 16:05:00 UTC
Created attachment 265493 [details]
dhcpcd log file

the daemon just hangs at `internet: using static address 1.2.3.4/32` line and nothing else happens.
Comment 2 Alessandro Sagratini 2025-11-18 16:36:02 UTC
it looks like https://github.com/NetworkConfiguration/dhcpcd/pull/556/files helped, at least in my case...

Perhaps we can add this patch until that pull request is merged?
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-11-18 18:43:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a25e46d7b33a1cdff3d777bb7e4599a0fcabfac6

commit a25e46d7b33a1cdff3d777bb7e4599a0fcabfac6
Author:     Dries Michiels <driesm@FreeBSD.org>
AuthorDate: 2025-11-18 18:39:13 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2025-11-18 18:39:13 +0000

    net/dhcpcd: ensure we recv for real after a successful recv MSG_PEEk

    PR:     291081

 net/dhcpcd/files/patch-src_privsep-root.c (new) | 84 +++++++++++++++++++++++++
 1 file changed, 84 insertions(+)
Comment 4 Dries Michiels freebsd_committer freebsd_triage 2025-11-18 18:54:35 UTC
Could you check if the commit fixes your issue?
Comment 5 Alessandro Sagratini 2025-11-18 19:11:47 UTC
Yes, now everything is working as expected, thanks so much for your prompt help on this!