haproxy/reg-tests/checks
Christopher Faulet 8a0e5f822b BUG/MINOR: tcpcheck: Improve LDAP response parsing to fix LDAP check
When the LDAP response is parsed, the message length is not properly
decoded. While it works for LDAP servers encoding it on 1 byte, it does not
work for those using a multi-bytes encoding. Among others, Active Directory
servers seems to encode messages or elements length on 4 bytes.

In this patch, we only handle length of BindResponse messages encoded on 1,
2 or 4 bytes. In theory, it may be encoded on any bytes number less than 127
bytes. But it is useless to make this part too complex. It should be ok this
way.

This patch should fix the issue #1390. It should be backported to all stable
versions. While it should be easy to backport it as far as 2.2, the patch
will have to be totally rewritten for lower versions.
2021-09-16 17:24:50 +02:00
..
1be_40srv_odd_health_checks.vtc MEDIUM: server: support {check,agent}_addr, agent_port in server state 2021-02-12 16:04:52 +01:00
4be_1srv_health_checks.vtc MEDIUM: server: support {check,agent}_addr, agent_port in server state 2021-02-12 16:04:52 +01:00
4be_1srv_smtpchk_httpchk_layer47errors.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
40be_2srv_odd_health_checks.vtc MEDIUM: server: support {check,agent}_addr, agent_port in server state 2021-02-12 16:04:52 +01:00
agent-check.vtc REGTESTS: fix maxconn update with agent-check 2021-06-22 16:34:23 +02:00
common.pem
http-check-expect.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
http-check-send.vtc REGTESTS: unbreak http-check-send.vtc 2021-02-05 10:13:15 +01:00
http-check.vtc BUG/MAJOR: tcpcheck: Allocate input and output buffers from the buffer pool 2020-11-27 10:29:41 +01:00
http-monitor-uri.vtc
ldap-check.vtc BUG/MINOR: tcpcheck: Improve LDAP response parsing to fix LDAP check 2021-09-16 17:24:50 +02:00
mysql-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
pgsql-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
redis-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
smtp-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
spop-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
ssl-hello-check.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
tcp-check-ssl.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
tcp-check_min-recv.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
tcp-check_multiple_ports.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
tcp-checks-socks4.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00
tls_health_checks.vtc MEDIUM: proxy: remove start_proxies() 2020-10-09 11:27:30 +02:00