>Can you try this diff and see if dhcpleased(8) works in your setup?

Yes, it does. It gets an IPv4 address with the check removed.

-- Roc

On Sun, 24 Oct 2021 at 13:53, Roc Vallès <[email protected]> wrote:
>
> Sysupgraded my 6.9 personal server to 7.0 tonight. Only IPv6 came up
> (which I have a custom dhcp setup for, as required by my host).
>
> On the daemon log, this shows up:
> Oct 24 02:04:17 momoyo dhcpleased[92859]: parse_dhcp: invalid ports
> used 107.189.0.254:52260 -> 255.255.255.255:68
>
> What I understand from this is that it doesn't like ephemeral ports
> used by dhcp servers.
>
> A glance at dhcpleased(8) and dhcpleased.conf(5) indicates there's
> currently no way to disable this check. As I am not the admin of the
> network, there's little I can do to fix the dhcp server itself, thus I
> reverted to the old dhclient via hostname.if.
>
> To do so I commented out 'dhcp' and added a '!dhclient \$if' line.
>
> A possible solution would be to offer a setting to relax this check
> i.e. print a warning message but accept the lease.
>
> -- Roc

Reply via email to