]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: backend: only match IPv4 addresses with RDP cookies
authorWilly Tarreau <w@1wt.eu>
Fri, 9 May 2014 20:47:50 +0000 (22:47 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 9 May 2014 23:26:37 +0000 (01:26 +0200)
commit28e9d06201a513c7a54d0feb7625849f776c6128
tree0db81308522c888caebcc679c8bd8b3b4fa33793
parentacf3bf94d03e5e27c51859c1ea91c943ed5de2be
BUG/MINOR: backend: only match IPv4 addresses with RDP cookies

The RDP cookie extractor compares the 32-bit address from the request
to the address of each server in the farm without first checking that
the server's address is IPv4. This is a leftover from the IPv4 to IPv6
conversion. It's harmless as it's unlikely that IPv4 and IPv6 servers
will be mixed in an RDP farm, but better fix it.

This patch does not need to be backported.
src/backend.c