From owner-cvs-all Fri Jul 23 2:31:46 1999 Delivered-To: cvs-all@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 274F015004 for ; Fri, 23 Jul 1999 02:31:40 -0700 (PDT) (envelope-from andre.albsmeier@mchp.siemens.de) X-Envelope-Sender-Is: andre.albsmeier@mchp.siemens.de (at relayer thoth.mch.sni.de) Received: from mail2.siemens.de (mail2.siemens.de [139.25.208.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id LAA27507 for ; Fri, 23 Jul 1999 11:28:14 +0200 (MET DST) Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.42.7]) by mail2.siemens.de (8.9.3/8.9.3) with ESMTP id LAA27526 for ; Fri, 23 Jul 1999 11:28:04 +0200 (MET DST) Received: (from daemon@localhost) by curry.mchp.siemens.de (8.9.3/8.9.3) id LAA48873 for ; Fri, 23 Jul 1999 11:28:14 +0200 (CEST) Date: Fri, 23 Jul 1999 11:28:12 +0200 From: Andre Albsmeier To: Brian Feldman Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/usr.sbin/inetd builtins.c inetd.h Message-ID: <19990723112812.A3847@internal> References: <199907222111.OAA65792@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.5i In-Reply-To: <199907222111.OAA65792@freefall.freebsd.org>; from Brian Feldman on Thu, Jul 22, 1999 at 02:11:41PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk On Thu, 22-Jul-1999 at 14:11:41 -0700, Brian Feldman wrote: > green 1999/07/22 14:11:40 PDT > > Modified files: > usr.sbin/inetd builtins.c inetd.h > Log: > This commit encompasses the following changes to inetd: > 1. Cleanups of ident_stream. "Evil" stdio is less used. > 2. The BSD Copyright was added to the top of builtins.c. > 3. As suggested, a timeout is now implemented in the ident > service. It defaults to 10 seconds. If enough people want > it, I'll make it configurable. > > Suggested by: msmith > > Revision Changes Path > 1.2 +83 -30 src/usr.sbin/inetd/builtins.c > 1.2 +2 -2 src/usr.sbin/inetd/inetd.h While you are so busy with inetd the last time (thanks, btw) I observed some kind of denial of service on -STABLE: I was playing with the new nmap and did a 'nmap -sU printfix'. inetd was running as "inetd -l" and started sucking all the CPU time even the nmap had been terminated long ago. The /var/log/messages file showed zillions of the following lines being added continously: Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: daytime from 192.168.17.100 Jul 23 11:21:28 printfix inetd[1743]: time from 192.168.17.100 .... 192.168.17.100 is the machine where I started nmap. Maybe you got an idea... Thanks, -Andre To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message