Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2000 14:02:18 +1000 (EST)
From:      Phil Homewood <pdh@minotaur.bit.net.au>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/20371: dhclient inserts bogus configurations
Message-ID:  <200008030402.OAA02189@minotaur.bit.net.au>

next in thread | raw e-mail | index | archive | help

>Number:         20371
>Category:       bin
>Synopsis:       dhclient inserts bogus configurations
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 21:10:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Phil Homewood
>Release:        FreeBSD 4.1-STABLE i386
>Organization:
>Environment:

	RELENG_4, cvsupped within the last 4 hours
	Bugs not evident as of last cvsup around mid-June.

>Description:

	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.


>How-To-Repeat:

	run dhclient with a DHCP server that doesn't supply
	broadcast address. (Not sure what triggers the "\000"
	feature.)

>Fix:

	Unknown.



>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008030402.OAA02189>