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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278043 --- 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 interface to send/recv UDP packets for DHCP, but I think that's a bit too inconvenient 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 use 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. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-278043-227-acbqa8IPOu>
