If i understood carefully, this is what stick-table are able to handle : balance roundrobin stick-table type ip size 200k expire 30m stick on src
Regards, Hervé. On Wed, 15 Dec 2010 17:21:31 +0100 "L. Alberto Giménez" <agimenez-hapr...@sysvalve.homelinux.net> wrote: > On 15/12/2010 15:57, Malcolm Turnbull wrote: > > On 15 December 2010 14:33, "L. Alberto Giménez" > > <agimenez-hapr...@sysvalve.homelinux.net> wrote: > > > > RDP and HTTP have cookies in the application protocol, therefore you > > can insert or modify a marker/cookie to keep track... > > How would you insert the marker in standard TCP traffic? > > The only method I'm aware of is source IP for TCP persistence. > > > > Sorry if I didn't explain clearly, but the very-high-level-algorithm > would be: > > > -----8<------ > empty tcp-persistence hash table (at initialization time) > accept a connection > if (remote IP has persistence entry in the has table) > get persistent backend (already assigned) > else > choose a new backend via roundrobin (care about load?) > Register IP -> backend as a persistent connection > end if > > redirect connection to the chosen backend > -----8<------ > > Everything would be done at tcp/ip level, so no application knowledge > would be needed. > > I hope that things are clearer now :) > > > Regards, > L. Alberto Giménez > -- Hervé COMMOWICK, EXOSEC (http://www.exosec.fr/) ZAC des Metz - 3 Rue du petit robinson - 78350 JOUY EN JOSAS Tel: +33 1 30 67 60 65 - Fax: +33 1 75 43 40 70 mailto:hcommow...@exosec.fr