From nobody Tue Apr 16 00:04:47 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VJPRg2JlJz5HMwF for ; Tue, 16 Apr 2024 00:04:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VJPRg0by9z3xwb for ; Tue, 16 Apr 2024 00:04:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1713225887; a=rsa-sha256; cv=none; b=wa3+0VPxfQHkrUxo8Xi7e5bVIIsEdzdAjM5UawqKZUyhLAP1+EpORgwUg9ksSxu40siv4D HftfQDN3hlPwE+Wc3d2wVmlp0Tbg+eNRHe2oUU9sxfG8y6j07y8uAbhH1tIgUnC4H4ODMl IR8NXbzr1WKT7qlFrXt1UD/QXyacEj+IE6TCtNUp/A8x9GCoqBfzo6/VWbN06YnHqWY9pk 8uUPte2n6AwvVk/nZK9h/V8H36yDxUwH0o6zFUjd68mULmvhMKotxRLwxQzjKemABkfGS0 toei/x+mCQKneRlInNTHEcAbwghNBJ7t4bP1Ncy5VcMK7EkUIZCHr+udKelKFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1713225887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=G4N+kSqrzsajm6zDgOq1knv7kkYcNpCrS7mf1CcDsG8=; b=EzO4XUyMsW1Ho+Sc/gOXgiyc9MjXuusC4K4Ps+tRiC4plwLFCu+VC4/Ik0AR7v7C+PeeuU x1ovMKzsS3puFSdEarZhklwwcFfix3Mj+skmq8M8hsGN32e+3uUzbcH2ALvp75J5EA7Mg8 XVx7uzvk8J+6k0Q1feyVCYqWNKLYBuuTXwIpUc4Y+bJn8Vum3yzDTXZzc3otkGEp4FflpC QWhyTOg3vjfnAkxkzYv5JmoKH3+1Pqoipse8K7xQN4cfgBj9KSbMBR5q/6qweOAkTuPhld oAY7vTOcnxW7kPRqqnmQ+6BV96w1Gpk7aZWeedczOFBHGbvLJHURv3pzUy21gg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4VJPRg02p0zKy5 for ; Tue, 16 Apr 2024 00:04:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 43G04k1S019671 for ; Tue, 16 Apr 2024 00:04:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 43G04kxM019667 for bugs@FreeBSD.org; Tue, 16 Apr 2024 00:04:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 278043] Diskless nfs root BOOTP/DHCP Broken Date: Tue, 16 Apr 2024 00:04:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: markj@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D278043 --- Comment #6 from Mark Johnston --- 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.=