[lkml]   [1998]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
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!

Jeff Bailey

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:44    [W:0.018 / U:8.268 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site