On 08/18/2014 05:49 PM, Baptiste wrote:
On Sun, Aug 17, 2014 at 4:49 PM, [email protected] <[email protected]> wrote:
Hi,
i was digging through some old threads:
http://t53814.web-haproxy.webtalks.info/help-with-tcp-request-content-track-sc1-t53814.html
http://marc.info/?l=haproxy&m=139458469126719&w=2
I have the same requirement and want to track not only on src (source
ip), i want to concatenate src + hdr(User-Agent) or hdr(User-Agent) +
hdr(X-Forward-For).
Is there a way to actually do this ? (maybe it could be hashed, like
it is possible with "base32+src" ?)
Thanks,
-----------
Bjoern
Hi Bjoern,
There is no way to do this currently in HAProxy.
Baptiste
Hi All,
I think it is possible:
You need to add a new header to the request, with a concat of these
different values ("http-request add-header" and use log format to create
the value).
And use the fetch on this header on the stickin rule.
Regards,
Emeric