LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: HTTPS and cookies

To: Trevor Marshall <trevor@xxxxxxxxxxxxx>
Subject: Re: HTTPS and cookies
Cc: Linux Virtual Server Mail List <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 1 Nov 2000 11:44:59 -0500
On Wed, Nov 01, 2000 at 03:21:56PM +0000, Trevor Marshall wrote:
> Thanks,
> I had already read Ted's mail but it didn't mention how the source port
> comes into play.
> Am I to assume then that even if the client's source port changes then
> the cookie will ensure that the director forwards to the same RIP ?
> regards,

Cookies? There are no cookies in LVS. Persistence is handled by 
templates. A template matches the source ip address and protocol,
the source port is ignored. The template determines the affinity of
a matching source to a real server. When a connection is to be scheduled
for a persistent service if a template can be found then the real
server information it holds is used, else a new template is created
that will be used for this and subsequent connections. Templates
are ip_msaq structures and timeouts are handled by the ip_masq code.
That is the ip_masq code removes templates once the timeout expires.

-- 
Horms


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