1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00
Files
Vladislav Vaintroub 85534724fa MDEV-41691 PROXY protocol v1 header parser is too lenient
Follow the specification: the line is at most 107 bytes including CRLF,
ends with CRLF (not a bare LF), and fields are separated by exactly one
space, with nothing trailing (except after UNKNOWN). Ports are decimal
numbers up to 65535, without signs or leading zeroes. Also reject NUL
bytes and unknown address families (these were accepted before).

test_proxy_header_limits() now checks that malformed headers are
rejected, and also avoid DNS name resolution.

Assisted-by: Claude:claude-sonnet-5-5
2026-10-23 12:43:19 +02:00
..
2020-07-02 09:41:44 +03:00
2019-05-11 22:19:05 +03:00
2019-05-11 21:29:06 +03:00
2019-05-11 21:29:06 +03:00
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2020-09-24 08:09:56 +10:00
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
…
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
2020-09-29 16:59:36 +05:30
2020-06-23 03:24:46 +02:00
2024-12-11 14:46:43 +02:00
2020-09-29 16:59:36 +05:30