From owner-freebsd-isp Sat Mar 16 08:11:54 1996 Return-Path: owner-isp Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA10327 for isp-outgoing; Sat, 16 Mar 1996 08:11:54 -0800 (PST) Received: from marikit.iphil.net (map@marikit.iphil.net [203.176.0.4]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id IAA10308 for ; Sat, 16 Mar 1996 08:11:41 -0800 (PST) Received: (from map@localhost) by marikit.iphil.net (8.7.3/8.6.9) id AAA07898; Sun, 17 Mar 1996 00:11:14 +0800 From: "Miguel A.L. Paraz" Message-Id: <199603161611.AAA07898@marikit.iphil.net> Subject: Re: csh hanging around after disconnect To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Sun, 17 Mar 1996 00:11:14 +0800 (GMT+0800) Cc: freebsd-isp@freebsd.org In-Reply-To: <199603161548.JAA24225@brasil.moneng.mei.com> from "Joe Greco" at Mar 16, 96 09:48:32 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-isp@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I wrote: > > How is this done? Is this a separate daemon, or an option to compile > > in these daemons? Joe Greco wrote: > It's something that doesn't exist but would be implemented by adding a > little code to all the networking daemons. Particularly the daemons without > timeouts.. Looks like a bigger task than it should be. Perhaps this should be more configurable... or compilable with a #define, ISP - "define -DISP if you're running the daemons on an ISP machine." The effect is the machine runs out of ptys. I would want to install that, but this is a client machine that runs remotely, and I don't want to take chances unless I'm on-site. > > Another way - can we looked through the logged in users at regular > > intervals and find out who's disconnected? You could compare this > > against the list of logged in users ('show sessions'), but > > we'd have to differentiate from users who are telnetted in from > > somewhere else... > No, that gets to be very difficult very quickly. Yes... is there any other way? On another client box, a Linux machine that did the PPP by itself, I made a script that kills all user processes when the user logs out. Drastic... but stray user processes were screwing up the accounting. -- miguel a.l. paraz iphil communications, makati, philippines