haproxy/doc
Simon Horman ab814e0a6b [MINOR] Add rdp_cookie pattern fetch function
This pattern fetch function extracts the value of the rdp cookie <name> as
a string and uses this value to match. This enables implementation of
persistence based on the mstshash cookie. This is typically done if there
is no msts cookie present.

This differs from "balance rdp-cookie" in that any balancing algorithm may
be used and thus the distribution of clients to backend servers is not
linked to a hash of the RDP cookie. It is envisaged that using a balancing
algorithm such as "balance roundrobin" or "balance leastconnect" will lead
to a more even distribution of clients to backend servers than the hash
used by "balance rdp-cookie".

Example :
	listen tse-farm
	    bind 0.0.0.0:3389
	    # wait up to 5s for an RDP cookie in the request
	    tcp-request inspect-delay 5s
	    tcp-request content accept if RDP_COOKIE
	    # apply RDP cookie persistence
	    persist rdp-cookie
	    # Persist based on the mstshash cookie
	    # This is only useful makes sense if
	    # balance rdp-cookie is not used
	    stick-table type string size 204800
	    stick on rdp_cookie(mstshash)
	    server srv1 1.1.1.1:3389
	    server srv1 1.1.1.2:3389
2011-06-25 21:07:02 +02:00
..
design-thoughts [DOC] added some docs about http headers storage and acls 2007-04-01 09:44:10 +02:00
internals [DOC] internal: reflect the fact that SI_ST_ASS is transient 2011-03-03 16:40:09 +01:00
acl.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00
architecture.txt [MINOR] add X-Original-To: header 2009-05-01 16:22:33 +02:00
configuration.txt [MINOR] Add rdp_cookie pattern fetch function 2011-06-25 21:07:02 +02:00
gpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
haproxy-en.txt [DOC] point to 1.4 doc, not 1.3 2009-10-14 22:22:03 +02:00
haproxy-fr.txt [DOC] point to 1.4 doc, not 1.3 2009-10-14 22:22:03 +02:00
haproxy.1 [DOC] trivial fix for man page 2009-10-14 21:12:39 +02:00
lgpl.txt [LICENSE] licensing clarifications 2006-06-15 21:48:13 +02:00
proxy-protocol.txt [DOC] update the spec on the proxy protocol 2011-03-20 11:53:50 +01:00
queuing.fig [DOC] add diagrams of queuing and future ACL design 2009-02-22 16:46:38 +01:00