From owner-freebsd-bugs Wed Aug 2 21:10:11 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id A03CB37B606 for ; Wed, 2 Aug 2000 21:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA91424; Wed, 2 Aug 2000 21:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from minotaur.bit.net.au (minotaur.bit.net.au [203.18.94.87]) by hub.freebsd.org (Postfix) with ESMTP id 1312037B5D0 for ; Wed, 2 Aug 2000 21:02:25 -0700 (PDT) (envelope-from pdh@minotaur.bit.net.au) Received: (from pdh@localhost) by minotaur.bit.net.au (8.9.3/8.9.3) id OAA02189; Thu, 3 Aug 2000 14:02:18 +1000 (EST) (envelope-from pdh) Message-Id: <200008030402.OAA02189@minotaur.bit.net.au> Date: Thu, 3 Aug 2000 14:02:18 +1000 (EST) From: Phil Homewood Reply-To: pdh@minotaur.bit.net.au To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/20371: dhclient inserts bogus configurations Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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