From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20722 invoked from network); 27 Feb 1999 14:25:07 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 27 Feb 1999 14:25:07 -0000 Received: (qmail 11609 invoked by alias); 27 Feb 1999 14:24:21 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2189 Received: (qmail 11602 invoked from network); 27 Feb 1999 14:24:20 -0000 From: Mark Koenen Message-Id: <199902271424.PAA15037@studs3.sci.kun.nl> Subject: Re: Timed out To: markko@sci.kun.nl (Mark Koenen) Date: Sat, 27 Feb 1999 15:24:17 +0100 (MET) Cc: zsh-users@sunsite.auc.dk In-Reply-To: <199902231444.PAA03857@canteclaer.sci.kun.nl> from "Mark Koenen" at Feb 23, 99 03:44:17 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit I originally wrote: >Hi, > >When I don't use my Z-shell on a remote computer for a while, I get >disconnected (after about 15 minutes): There were several suggestions for a possible source of the problem: - It could be an idle timeout set on the remote computer - Try setting TRAPALRM() { print "Someone sent me an alarm signal"; } - try tracing the zsh process from another telnet session Nothing helped until a friend suggested it would be the firewall that I'm using that causes the problem. Indeed it did :-) The firewall (I use IPCHAINS) closses connections when they're not used for a while; a TCP connection will be closed after 15 minutes... To increase the timeout time call IPCHAINS with the -S option. A piece of my rc.firewall : # The default masquerading timeout is 15 minutes. This can be used # to set it to higher values. $IPCHAINS -M -S 7200 10 900 This sets the timeout to 2 hours; long enough to go to the toilet, do the dishes, have a chat with the neighbour and returning to your computer without having to login again... ;-) Thanx for all the suggestions! Mark. -- __________________________________________________ Mark Koenen_________________________IRC: TheNose ________________________Email: markko@sci.kun.nl ___________________WWW: http://www.gx.nl/markko/