BUG/MEDIUM: http-ana: Handle NTLM messages correctly.
authorOlivier Houchard <cognet@ci0.org>
Wed, 22 Apr 2020 19:51:14 +0000 (21:51 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 1 May 2020 10:11:53 +0000 (12:11 +0200)
commita542024400c49f0b4602b4a0270f79f4d6aa7232
tree86a2f2df160cc2e2ef67d6f15f71e752d6df0d1a
parentbd0ace790d81fcbd3331f34db500bedb41fc4a89
BUG/MEDIUM: http-ana: Handle NTLM messages correctly.

When checking www-authenticate headers, we don't want to just accept
"NTLM" as value, because the server may send "HTLM <base64 value>". Instead,
just check that it starts with NTLM.

This should be backported to 2.1, 2.0, 1.9 and 1.8.

(cherry picked from commit 9df188695fbf1ff17de3861ec5b281365800c7f0)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/http_ana.c