Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kirk Vogelsang <kvogelsa@ccs.neu.edu>
To: axp-list@redhat.com
Subject: Re: Masquarade time-outs
Date: Tue, 13 Oct 1998 08:58:51 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSU.4.05.9810130855400.21933-100000@k2.ccs.neu.edu> (raw)
In-Reply-To: <19981013081622.A1358@xcski.com>

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 <kvogelsa@ccs.neu.edu>
Northeastern University College of Computer Science
http://www.ccs.neu.edu/home/kvogelsa


  reply	other threads:[~1998-10-13 13:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-13 12:16 Masquarade time-outs Paul Tomblin
1998-10-13 12:58 ` Kirk Vogelsang [this message]
1998-10-13 13:33   ` Paul Tomblin
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox