]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: config: warn when a server with no specific port uses rdp-cookie
authorWilly Tarreau <w@1wt.eu>
Tue, 13 Aug 2013 15:19:08 +0000 (17:19 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 Aug 2013 15:19:08 +0000 (17:19 +0200)
commit82ffa39bfd34e5680cb65cc0b7ef625c0a274856
tree455c4d403a6323ba098abe84a62eedf4c3ce9ece
parent380110368e11e00579149a0347104d2ff553c1e7
MINOR: config: warn when a server with no specific port uses rdp-cookie

Mathew Levett reported an issue which is a bit nasty and hard to track
down. RDP cookies contain both the IP and the port, and haproxy matches
them exactly. So if a server has no port specified (or a remapped port),
it will never match a port specified in a cookie. Better warn the user
when this is detected.
src/cfgparse.c