LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

RE: Virtual server patch version 0.8 released

To: Aaron Baldie <Aaron@xxxxxxxxxxxxx>
Subject: RE: Virtual server patch version 0.8 released
Cc: VS List <linux-virtualserver@xxxxxxxxxxxx>
From: Wensong Zhang <wensong@xxxxxxxxxxxx>
Date: Thu, 11 Mar 1999 19:31:11 +0800
At 10:33 99-3-10 -0800, you wrote:
>Is there any way to make the linux virtual server stick the session to the
>client that made the request for a 30 minute timeout period.
>
>Sorry to send these directly to you, but I do not think my messages are
>getting through to the list.
>
>Aaron
>

Sorry for the delay. I have been extremely busy these days and forgot
to answer your message.

Certainly you set the timeout as you want. The file that you need to modify
is the linux/include/net/ip_masq.h, the default values of masquerading
timeouts are as follows:
        #define MASQUERADE_EXPIRE_TCP 15*16*Hz
        #define MASQUERADE_EXPIRE_TCP_FIN 2*16*Hz
        #define MASQUERADE_EXPIRE_UDP 5*16*Hz

modify them as you want, then rebuild the kernel.

Good luck,

Wensong




<Prev in Thread] Current Thread [Next in Thread>