From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 10868 invoked from network); 13 Oct 1998 13:05:03 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 13 Oct 1998 13:05:03 -0000 Received: from amber.ccs.neu.edu (root@amber.ccs.neu.edu [129.10.116.51]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id IAA18605 for ; Tue, 13 Oct 1998 08:58:52 -0400 Received: from k2.ccs.neu.edu (kvogelsa@k2.ccs.neu.edu [129.10.116.190]) by amber.ccs.neu.edu (8.8.6/8.8.6) with ESMTP id IAA07750 for ; Tue, 13 Oct 1998 08:58:51 -0400 (EDT) Date: Tue, 13 Oct 1998 08:58:51 -0400 (EDT) From: Kirk Vogelsang To: axp-list@redhat.com Subject: Re: Masquarade time-outs In-Reply-To: <19981013081622.A1358@xcski.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Tue, 13 Oct 1998, Paul Tomblin wrote: > I know this isn't Alpha specific, but is there any way to adjust the timeout > of an ip_masq'ed tcp socket? It's annoying that every time I step away from > the computer, all my telnet windows close. > > I see that I can adjust MASQUERADE_EXPIRE_TCP in net/ip_masq.h, but I was > hoping for a way for changing it without recompiling the kernel. I use something like the following: ipfwadm -M -s 99999 99999 99999 -s tcp tcpfin udp Change the timeout values used for masquerading. This command always takes 3 parameters, represent- ing the timeout values (in seconds) for TCP ses- sions, TCP sessions after receiving a FIN packet, and UDP packets, respectively. A timeout value 0 means that the current timeout value of the corre- sponding entry is preserved. This operation is only allowed in combination with the -M flag. ----- Kirk M. Vogelsang Northeastern University College of Computer Science http://www.ccs.neu.edu/home/kvogelsa