Bug 20371

Summary: dhclient inserts bogus configurations
Product: Base System Reporter: Phil Homewood <pdh>
Component: binAssignee: Martin Blapp <mbr>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.1-STABLE   
Hardware: Any   
OS: Any   

Description Phil Homewood 2000-08-03 05:10:02 UTC
	dhclient seems to have two odd bugs:

	1) the broadcast address applied to the interface, if
	   not specified by the DHCP server, is wrong - on this
	   /24 it gets a.b.c.0 instead of a.b.c.255

	2) the "domain" specified by the DHCP server somehow
	   gets "\000" (four characters, NOT a literal null)
           appended to it before dhclient-script uses it to
	   build /etc/resolv.conf.

Fix: 

Unknown.
How-To-Repeat: 
	run dhclient with a DHCP server that doesn't supply
	broadcast address. (Not sure what triggers the "\000"
	feature.)
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-08-03 08:25:20 UTC
Responsible Changed
From-To: freebsd-bugs->obrien

Over to the maintainer.
Comment 2 David E. O'Brien freebsd_committer freebsd_triage 2000-12-23 19:24:31 UTC
Responsible Changed
From-To: obrien->freebsd-bugs

I am not the single dhclient maintainer now.
Comment 3 Murray Stokely freebsd_committer freebsd_triage 2002-03-27 12:46:06 UTC
State Changed
From-To: open->feedback

Does this problem still exist with DHCP 3.0? 

Can you try DHCP 3.0 from ports (or in the base system of -CURRENT). 



Comment 4 Murray Stokely freebsd_committer freebsd_triage 2002-03-27 12:46:06 UTC
Responsible Changed
From-To: freebsd-bugs->murray

Does this problem still exist with DHCP 3.0? 

Can you try DHCP 3.0 from ports (or in the base system of -CURRENT).
Comment 5 Phil Homewood 2002-07-01 03:29:59 UTC
No can do. I left that employer over 12 months ago, and that
particular network was dismantled not long thereafter.
Comment 6 Martin Blapp freebsd_committer freebsd_triage 2003-02-10 09:55:02 UTC
Responsible Changed
From-To: murray->mbr

Take this PR. I'll look into this.
Comment 7 Martin Blapp freebsd_committer freebsd_triage 2004-06-26 11:54:51 UTC
State Changed
From-To: feedback->closed

The submitter cannot test this anymore. As many many releases 
have passed, I think this PR can be closed.