Date: Sat, 16 Mar 96 10:07 EST From: Barney Wolff <barney@databus.com> To: "Miguel A.L. Paraz" <map@iphil.net> Cc: freebsd-isp@freebsd.org Subject: Re: csh hanging around after disconnect Message-ID: <9603161007.AA03474@databus.databus.com>
next in thread | raw e-mail | index | archive | help
>From: "Miguel A.L. Paraz" <map@iphil.net> >Date: Sat, 16 Mar 1996 13:49:24 +0800 (GMT+0800) > >> The only answer to this, and not >> a very swift one, is to run TCP keep-alives on all telnet and poppassd >> sessions on your host, and that will eventually detect that the user's >> gone away. > >How is this done? Is this a separate daemon, or an option to compile >in these daemons? See the SO_KEEPALIVE option in set/getsockopt(3N). That turns keepalives on or off, and probably needs to be in inetd, or perhaps telnetd. The interval between keepalives is a kernel parameter, and I don't know if it's tunable or you need to delve into the source. It may be on already - the default interval for keepalives is 2 hours. In the dialup IP scenario, 5 minutes is probably more useful. Barney Wolff <barney@databus.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9603161007.AA03474>
