Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 11:28:12 +0200
From:      Andre Albsmeier <andre.albsmeier@mchp.siemens.de>
To:        Brian Feldman <green@FreeBSD.ORG>
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>
In-Reply-To: <199907222111.OAA65792@freefall.freebsd.org>; from Brian Feldman on Thu, Jul 22, 1999 at 02:11:41PM -0700
References:  <199907222111.OAA65792@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: time from 192.168.17.100
Jul 23 11:21:28 <daemon.info> printfix inetd[1743]: daytime from 192.168.17.100
Jul 23 11:21:28 <daemon.info> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990723112812.A3847>