]> git.kaiwu.me - haproxy.git/commit
MEDIUM: http/hardening: filter out-of-range status codes from untrusted servers
authorWilly Tarreau <w@1wt.eu>
Mon, 23 Nov 2026 15:32:46 +0000 (16:32 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 23 Nov 2026 22:24:23 +0000 (23:24 +0100)
commit08a1ed462e8588552bc8ca0553373cc901040c93
treeb55bea3ab275922e12920df03fc429d48cac21a6
parentc157dfefb495aba3982d4f6e2d74cc5f2599f193
MEDIUM: http/hardening: filter out-of-range status codes from untrusted servers

The new rule "reject-out-of-range-status" is used to reject status codes
below 100 or above 599. They are never used except in local deployments,
and are handled differently by different implementations, so let's block
them by default on untrusted connections.
doc/configuration.txt
include/haproxy/http-t.h
reg-tests/http-messaging/http_hardening_profiles.vtc
src/h1_htx.c
src/h2.c
src/h3.c
src/http.c