Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Masquarade time-outs
@ 1998-10-13 12:16 Paul Tomblin
  1998-10-13 12:58 ` Kirk Vogelsang
  0 siblings, 1 reply; 3+ messages in thread
From: Paul Tomblin @ 1998-10-13 12:16 UTC (permalink / raw)
  To: axp-list

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.

-- 
Paul Tomblin, ptomblin@xcski.com.
"and by God I *KNOW* what this network is for, and you can't have it."
 - Russ Allbery draws a line in the sand for Usenet.
 (http://www.xnet.com/~raven/Sysadmin/Rant.html)


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Masquarade time-outs
  1998-10-13 12:16 Masquarade time-outs Paul Tomblin
@ 1998-10-13 12:58 ` Kirk Vogelsang
  1998-10-13 13:33   ` Paul Tomblin
  0 siblings, 1 reply; 3+ messages in thread
From: Kirk Vogelsang @ 1998-10-13 12:58 UTC (permalink / raw)
  To: axp-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Masquarade time-outs
  1998-10-13 12:58 ` Kirk Vogelsang
@ 1998-10-13 13:33   ` Paul Tomblin
  0 siblings, 0 replies; 3+ messages in thread
From: Paul Tomblin @ 1998-10-13 13:33 UTC (permalink / raw)
  To: axp-list

Quoting Kirk Vogelsang (kvogelsa@ccs.neu.edu):
> > 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:
> 

D'oh!  I should have known there was an easy way to do this.

-- 
Paul Tomblin, ptomblin@xcski.com.
"and by God I *KNOW* what this network is for, and you can't have it."
 - Russ Allbery draws a line in the sand for Usenet.
 (http://www.xnet.com/~raven/Sysadmin/Rant.html)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-10-13 13:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-10-13 12:16 Masquarade time-outs Paul Tomblin
1998-10-13 12:58 ` Kirk Vogelsang
1998-10-13 13:33   ` Paul Tomblin

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