From owner-freebsd-stable Mon Jul 2 7:24:51 2001 Delivered-To: freebsd-stable@freebsd.org Received: from axis.tdd.lt (axis.tdd.lt [213.197.128.94]) by hub.freebsd.org (Postfix) with ESMTP id 3D1C037B407; Mon, 2 Jul 2001 07:24:44 -0700 (PDT) (envelope-from domas.mituzas@delfi.lt) Received: from localhost (midom@localhost) by axis.tdd.lt (8.11.3/8.11.1) with ESMTP id f62ESEs23507; Mon, 2 Jul 2001 14:28:14 GMT X-Authentication-Warning: axis.tdd.lt: midom owned process doing -bs Date: Mon, 2 Jul 2001 14:28:14 +0000 (GMT) From: Domas Mituzas X-X-Sender: To: Cc: Subject: strange inetd behaviour Message-ID: <20010702141425.Y17965-100000@axis.tdd.lt> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I noticed some strange inetd behaviour in slight load. We have written our custom pop3 load balancer, that is started from inetd as: pop3 stream tcp nowait/1024/256 creator /usr/local/libexec/p3p p3p User database is really constant (no changes during last 3 months, since last world rebuild :) The problem is that during ps observations I found root 82248 0.0 0.6 1996 752 ?? S 4:02PM 0:00.01 p3p: foo@1.2.3.4 <--> 5.6.7.8 (p3p) instead of creator 82248 0.0 0.6 1996 752 ?? S 4:02PM 0:00.01 p3p: foo@1.2.3.4 <--> 5.6.7.8 (p3p) This means there's some privillege escalation and that is a Bad Thing (tm). Or there is ps bug. Or there's inetd bug. Or there's any system bug. It's really difficult to reproduce, maybe I'll try to add some hooks to my software to do some environment checking if getuid()==0. But maybe there are some issues untold about existance of such bugs or.. features? -- Cheers, Domas {lt.freebsd.org|delfi.lt} systems guy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message