Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Apr 2024 00:04:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 278043] Diskless nfs root BOOTP/DHCP Broken
Message-ID:  <bug-278043-227-acbqa8IPOu@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-278043-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-278043-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278043

--- Comment #6 from Mark Johnston <markj@FreeBSD.org> ---
The basic reason is that we cannot easily use raw sockets to receive UDP
packets - they belong to udp_input().  dhclient actually uses the BPF inter=
face
to send/recv UDP packets for DHCP, but I think that's a bit too inconvenien=
t in
the kernel.  We can perhaps use a separate UDP socket for receiving packets,
but that's a bit inconvenient.  Or, we can perhaps temporarily override the
ipproto registration when bootp is running.

(In reply to Richard Wai from comment #3)
We could do that, but I'd prefer not to if there's some other option.  We u=
se
INADDR_ANY as a sentinel value in various places in the pcb layer, so life =
is
better if we can always say that it's an invalid value.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278043-227-acbqa8IPOu>