From cyrille.lefevre@laposte.net  Tue Oct 14 10:26:13 2003
Return-Path: <cyrille.lefevre@laposte.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D76FE16A4B3
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Oct 2003 10:26:13 -0700 (PDT)
Received: from huva.hittite.isp.9tel.net (huva.hittite.isp.9tel.net [62.62.156.28])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4BC43FAF
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Oct 2003 10:26:12 -0700 (PDT)
	(envelope-from cyrille.lefevre@laposte.net)
Received: from acme (20.16.185.81.internet9tcollecte.9massy1-1-ro-bas-2.9tel.net [81.185.16.20])
	by huva.hittite.isp.9tel.net (Postfix) with SMTP
	id 9D91F9BBAA; Tue, 14 Oct 2003 19:26:08 +0200 (CEST)
Message-Id: <005101c39278$422270b0$1890a8c0@dyndns.org>
Date: Tue, 14 Oct 2003 19:26:09 +0200
From: "Cyrille Lefevre" <cyrille.lefevre@laposte.net>
To: "Stefan `Sec` Zehl" <sec@42.org>,
	<FreeBSD-gnats-submit@freebsd.org>
Subject: Re: isc-dhcp3 port broken with lots of interfaces.
References: <20031013094614.5DCD41C8C0@ice.42.org>

>Number:         58020
>Category:       ports
>Synopsis:       Re: isc-dhcp3 port broken with lots of interfaces.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ceri
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 14 10:30:08 PDT 2003
>Closed-Date:    Sat Oct 25 10:22:58 PDT 2003
>Last-Modified:  Sat Oct 25 10:22:58 PDT 2003
>Originator:     Cyrille Lefevre
>Release:        
>Organization:
>Environment:
>Description:
 Hi,
 
 I will ask the isc-server mailing list about your proposed patch. thanks anyway.
 
 Regards,
 
 Cyrille Lefevre.
 -- 
 home: mailto:cyrille.lefevre@laposte.net
 
 ----- Original Message ----- 
 From: "Stefan `Sec` Zehl" <sec@42.org>
 To: <FreeBSD-gnats-submit@freebsd.org>
 Cc: <cyrille.lefevre@laposte.net>
 Sent: Monday, October 13, 2003 11:46 AM
 Subject: isc-dhcp3 port broken with lots of interfaces.
 
 
 >
 > >Submitter-Id: current-users
 > >Originator: Stefan `Sec` Zehl
 > >Organization:
 > >Confidential: no
 > >Synopsis: isc-dhcp3 port broken with lots of interfaces.
 > >Severity: non-critical
 > >Priority: medium
 > >Category: ports
 > >Class: sw-bug
 > >Release: FreeBSD 4.9-PRERELEASE i386
 > >Environment:
 > System: FreeBSD ice 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #6: Sun Sep 28
 14:48:37 CEST 2003 root@ice:/export/obj/export/src/sys/ICE i386
 >
 > isc-dhcp3-3.0.1.r12 ISC Dynamic Host Configuration Protocol client and server
 c
 >
 > >Description:
 >
 >
 > When I upgraded my isc-dhcp3 port it stopped recognising my wi0 interface:
 >
 > Oct 11 03:48:13 ice dhcpd: wi0: not found
 >
 > and refused to start.
 >
 >
 > After some googling I found this problem mentioned somewhere else. It
 > happens because some buffer in dhcpd is too small to hold lots of
 > interfaces, and I happen to have a lot:
 >
 > ice:~>ifconfig -l
 > fxp0 lp0 stf0 ipr0 ipr1 ipr2 ipr3 faith0 isp0 isp1 isp2 isp3 lo0 ppp0 ppp1
 gif0 gif1 gif2 gif3 wi0
 >
 > >How-To-Repeat:
 >
 > >Fix:
 >
 > A workaround is to increase the relevant buffer. Patch attached.
 >
 > --- common/discover.c.org Fri Jul 25 21:44:15 2003
 > +++ common/discover.c Mon Oct 13 00:13:17 2003
 > @@ -135,7 +135,7 @@
 >  {
 >   struct interface_info *tmp, *ip;
 >   struct interface_info *last, *next;
 > - char buf [2048];
 > + char buf [20480];
 >   struct ifconf ic;
 >   struct ifreq ifr;
 >   int i;
 
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Sat Oct 25 10:22:17 PDT 2003 
State-Changed-Why:  
Misfiled followup to ports/57943 [content migrated]. 


Responsible-Changed-From-To: gnats-admin->ceri 
Responsible-Changed-By: ceri 
Responsible-Changed-When: Sat Oct 25 10:22:17 PDT 2003 
Responsible-Changed-Why:  

Take from gnats-admin. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=58020 
>Unformatted:
