]> git.kaiwu.me - haproxy.git/commit
BUG/MEDIUM: config: userlists should ensure that encrypted passwords are supported
authorCyril Bonté <cyril.bonte@free.fr>
Fri, 29 Aug 2014 18:20:02 +0000 (20:20 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 29 Aug 2014 19:06:31 +0000 (21:06 +0200)
commit1a0191d2ff83d1ce7458ebf8b54640ab0a8acf23
treeb576ea70a2f922f0f9dcaaa64ea48ee31de620e8
parentc82279c5fc70a6d12ab6efd61e6c9f536e5d4a3f
BUG/MEDIUM: config: userlists should ensure that encrypted passwords are supported

When an unknown encryption algorithm is used in userlists or the password is
not pasted correctly in the configuration, http authentication silently fails.

An initial check is now performed during the configuration parsing, in order to
verify that the encrypted password is supported. An unsupported password will
fail with a fatal error.

This patch should be backported to 1.4 and 1.5.
src/cfgparse.c