lkml.org 
[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Masquerading - extending the timeout values
> Is it possible to have a masquerading Linux system keep a TCP connection
> alive for a longer period of time?

Yup! I have a database server that I connect to that needs 2 Hour timeouts
because of how long it takes to process. The following did it for me:

/sbin/ipfwadm -Ms 7200 7200 7200

The three timeout values represent TCP sessions, TCP sessions after receiving
a FIN packet, and UDP packets. Note that 0 means accept current value.

I probably don't need the second value set as high, and I have had
problems where I've filled up the masquerade table (I don't know how
many entries it can take, but it seems to be in the thousands).

Hope this helps!

Tks,
Jeff Bailey


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/faq.html

\
 
 \ /
  Last update: 2005-03-22 13:44    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site