NetBSD Problem Report #3124
Received: (qmail-queue invoked from smtpd); 17 Jan 1997 23:43:30 -0000
Message-Id: <199701172337.AAA19066@wipux2.wifo.uni-mannheim.de>
Date: Sat, 18 Jan 1997 00:37:20 +0100 (MET)
From: Andrew Wheadon <andrew@wipux2.wifo.uni-mannheim.de>
Reply-To: andrew@wipux2.wifo.uni-mannheim.de
To: gnats-bugs@gnats.netbsd.org
Subject: dhcpd ignores boot-unknown-clients flag for dynamic bootp
X-Send-Pr-Version: 3.95
>Number: 3124
>Category: bin
>Synopsis: boot-unknown-clients flag is ignored for dynamic bootp
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: mellon
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 17 15:50:01 +0000 1997
>Closed-Date: Tue Aug 11 04:52:39 +0000 1998
>Last-Modified: Tue Aug 11 04:52:56 +0000 1998
>Originator: Andrew Wheadon
>Release: 15.01.97
>Organization:
The cost of living hasn't affected its popularity. (Mark Twain)
current release=doc host=netbsd.wifo.uni-mannheim.de \ "NetBSD-current mirror"
hostbase=/mit/ftp/pub/NetBSD base=/usr prefix=/usr backup delete use-rel-suffix
>Environment:
System: NetBSD wipux2.wifo.uni-mannheim.de 1.2B NetBSD 1.2B (WIPOOL) #0: Sat Jan 11 03:34:48 MET 1997 toor@wipux2.wifo.uni-mannheim.de:/src/src/sys/arch/i386/compile/WIPOOL i386
>Description:
Setting the boot-unknown-clients flag in /etc/dhcpd.conf
to false is ignored for dynamic bootp (it is observed for dhcp-requests).
This behaviour can have unwanted results like routers and other
stuff relying on bootp to given the wrong ip-address, when dhcpd
answers faster than the correct bootp-server.
Here's an output of the log file with incorrect behaviour where
it is trying to answer but has had it's address range turned off
(because it was causing major complications in our net).
created using bootpquery since bootptest seems useless.
Listening on BPF/de0/0:0:c0:eb:39:d3/WIPOOL
Sending on BPF/de0/0:0:c0:eb:39:d3/WIPOOL
Sending on Socket/fallback/fallback-net
BOOTREQUEST from c:0:43:4f:3f:34 via de0
Ignoring unknown BOOTP client c:0:43:4f:3f:34
No applicable record for BOOTP host c:0:43:4f:3f:34 <- this is wrong.
BOOTREQUEST from c:0:43:4f:3f:34 via de0
...
This is the desired output:
Listening on BPF/de0/0:0:c0:eb:39:d3/WIPOOL
Sending on BPF/de0/0:0:c0:eb:39:d3/WIPOOL
Sending on Socket/fallback/fallback-net
DHCPDISCOVER from 8:0:2b:e2:b4:4d via de0
no free leases on subnet WIPOOL
BOOTREQUEST from c:0:43:4f:3f:34 via de0
Ignoring unknown BOOTP client c:0:43:4f:3f:34
BOOTREQUEST from c:0:43:4f:3f:34 via de0 <- no answer was attempted.
...
>How-To-Repeat:
Enable dynamic bootp in dhcpd, set boot-unknown-clients to false
and watch unknown clients receiving responses.
>Fix:
Luckily quite easy since it's just a return that is missing.
--- bootp.c.old Mon Oct 14 19:00:41 1996
+++ bootp.c Sat Jan 18 00:17:34 1997
@@ -113,6 +113,7 @@
print_hw_addr (packet -> raw -> htype,
packet -> raw -> hlen,
packet -> raw -> chaddr));
+ return;
}
/* If the packet is from a host we don't know and there
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: bin-bug-people->mellon
Responsible-Changed-By: fair
Responsible-Changed-When: Tue Apr 14 00:26:51 PDT 1998
Responsible-Changed-Why:
DHCP stuff is Ted's bailiwick.
State-Changed-From-To: open->feedback
State-Changed-By: mellon
State-Changed-When: Fri Jul 10 17:06:10 PDT 1998
State-Changed-Why:
I don't believe the bug as reported actually exists or has ever existed.
State-Changed-From-To: feedback->closed
State-Changed-By: fair
State-Changed-When: Mon Aug 10 21:52:39 PDT 1998
State-Changed-Why:
One month, no feedback recorded in the PR.
>Unformatted:
Andrew, I can't find _any_ evidence that this bug has _ever_ existed in
NetBSD sources. Am I just being stupid, or is it possible that your
local copy got polluted somehow?
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.