From owner-freebsd-stable Tue Sep 19 20:22:32 2000 Delivered-To: freebsd-stable@freebsd.org Received: from web112.yahoomail.com (web112.yahoomail.com [205.180.60.82]) by hub.freebsd.org (Postfix) with SMTP id 5AF3837B424 for ; Tue, 19 Sep 2000 20:22:29 -0700 (PDT) Received: (qmail 13976 invoked by uid 60001); 20 Sep 2000 03:22:28 -0000 Message-ID: <20000920032228.13975.qmail@web112.yahoomail.com> Received: from [216.205.158.97] by web112.yahoomail.com; Tue, 19 Sep 2000 20:22:28 PDT Date: Tue, 19 Sep 2000 20:22:28 -0700 (PDT) From: Holtor Subject: Re: inetd internel auth problem To: Hajimu UMEMOTO Cc: stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --- Hajimu UMEMOTO wrote: > >>>>> On Tue, 19 Sep 2000 18:07:24 -0700 (PDT) > >>>>> holtor@yahoo.com (Holtor) said: > > holtor> After reading the posting I've switched my > fbsd > holtor> machines from pidentd to this internal auth. > Since > holtor> that I have noticed one > [problem/bug/mistake]. > holtor> It provides the username well, the problem > comes in > holtor> when I simply do: > > holtor> telnet localhost 113 > > holtor> And then quit the telnet. Then I run "top" > and i see > holtor> inetd using almost 100% CPU. It stays at > full CPU > holtor> util the connection "times out" which is the > default > holtor> of 10 seconds. > > holtor> I'm certain this can't be normal behavior. > I've been > holtor> able to reproduce this on every single fbsd > machine > holtor> I have. > > Are you using client username lookup feature of > tcp_wrapper something > like `ALL : ALL@ALL : allow'? If so, make sure to > disable it for > `auth'. Put `auth : ALL : allow' line before every > rule in > /etc/hosts.allow. > > -- > Hajimu UMEMOTO @ Business Solution System > Development Div., Hitachi Ltd. > E-Mail: ume@bisd.hitachi.co.jp ume@mahoroba.org > ume@FreeBSD.org > URL: http://www.imasy.org/~ume/ I do indeed have things in hosts.allow. Putting the auth : ALL : allow line in - I was still able to reproduce the same CPU hog problem. Holt __________________________________________________ Do You Yahoo!? Send instant messages & get email alerts with Yahoo! Messenger. http://im.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message