From owner-freebsd-stable Mon Jul 24 15:16:22 2000 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id 7BA5537BC0D for ; Mon, 24 Jul 2000 15:16:11 -0700 (PDT) (envelope-from dwmalone@maths.tcd.ie) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 24 Jul 2000 23:16:08 +0100 (BST) Date: Mon, 24 Jul 2000 23:16:08 +0100 From: David Malone To: Ronald.vanderPol@surfnet.nl Cc: stable@freebsd.org Subject: Re: 4.1-RC: bug in rarpd.c Message-ID: <20000724231608.A56927@walton.maths.tcd.ie> References: <200007241909.MAA14568@freeway.dcfinc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.2i In-Reply-To: ; from Ronald.vanderPol@surfnet.nl on Mon, Jul 24, 2000 at 10:08:49PM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Jul 24, 2000 at 10:08:49PM +0200, Ronald.vanderPol@surfnet.nl wrote: > There is a problem with rarpd in 4.1-RC (and probably all versions > before): > > Jul 22 13:53:58 bones rarpd[435]: no interfaces > > Problem is a 16 byte buffer in SIOCGIFCONF ioctl. This was reported > more than a year ago in PR#11525 by Mark J. Taylor. I guess this PR needs to be looked at. It looks like a better patch was almost in the works, but it never got finished. > As a default system has already 9 interfaces (sl0, ppp0, lo0, gif0, > gif1, gif2, gif3, faith0 and your network interface), 16 bytes is > too small. > > Seems like rarpd.c never got cleaned up? > rarpd.c has: > struct ifconf ifc; > struct ifreq ibuf[16]; It might be possible to get this upped before 4.1, but it's hard to know if it is worth it given the large number of utilities with this problem listed in the PR. David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message