From owner-freebsd-hackers Wed Jan 2 10:58:41 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from scanner.secnap.net (scanner.secnap.net [216.241.67.74]) by hub.freebsd.org (Postfix) with ESMTP id 87E4737B405; Wed, 2 Jan 2002 10:58:36 -0800 (PST) Received: from MIKELT ([10.1.1.40]) by scanner.secnap.net (8.11.6/8.11.5) with SMTP id g02IwU353202; Wed, 2 Jan 2002 13:58:30 -0500 (EST) (envelope-from scheidell@secnap.net) Message-ID: <000301c193bf$67e5baf0$2801010a@MIKELT> From: "Michael Scheidell" To: "Stefan Esser" , Cc: References: <20011231165828.D2301@StefanEsser.FreeBSD.org> <200112311631.fBVGVtZ45017@scanner.secnap.net> <20020101203614.A11265@StefanEsser.FreeBSD.org> <3C32150C.7000504@jrochester.org> <20020101232546.A40539@StefanEsser.FreeBSD.org> Subject: Re: Re: userland program panics freebsd 4.3 Date: Wed, 2 Jan 2002 13:58:00 -0500 Organization: Secnap Network Security, LLC. MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG FYI: just finished up a scan of a network with 1200 hosts and now panic's I did not install the second set of patches (or third) but only that first set ti utils.c that prevented the /procpid% scanning. Not only doesn't it crash, but it seems to be faster. It is a LOT faster than nessus 1.09 (scan of 1200 on nessus 1.09 took 28 hours before, now takes about 4 house with max_hosts = 30, max_threads = 20 on a 850mhz PII with 256MB ram. -- Michael Scheidell Secnap Network Security, LLC scheidell@secnap.net 1+(561) 368-9561 See updated IT Security News at http://www.fdma.com/ ----- Original Message ----- From: "Stefan Esser" To: "John Rochester" Cc: ; "Stefan Esser" Sent: Tuesday, January 01, 2002 5:25 PM Subject: Re: Re: userland program panics freebsd 4.3 > On 2002-01-01 19:59 +0000, John Rochester wrote: > > Stefan Esser wrote: > > > > >Instead of the for loop, I'd rather have: > > > > > > while(waitpid(pid, NULL, WNOHANG) == EINTR) > > > > > This should be > > > > while (waitpid(pid, NULL, WNOHANG) < 0 && errno == EINTR) > > Yes, obviously ... ;-) > > STefan > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message