Closed Dariquest closed 1 month ago
Approving for CI.
Thanks!
LGTM. The description, or commit message, could be improved. @Dariquest received some feedback already on this. This PR os not about IPv6, but about conditional Proxy Protocol handling. It benefits dual-stack roll-out on AWS, but is not the only possible use.
Removed the IPv6 and adjusted the description. Thanks!
Hi @Dariquest , everything fine now. The only minor thing, you might want to add this sentence to spec expect_proxy_cidrs
description: expect_proxy_cidrs is mutually exclusive with the accept_proxy
and not only fail if these two properties are set at the same time.
Hi @Dariquest , everything fine now. The only minor thing, you might want to add this sentence to spec
expect_proxy_cidrs
description:expect_proxy_cidrs is mutually exclusive with the accept_proxy
and not only fail if these two properties are set at the same time.
Done, thanks!
This PR introduces a new property expect_proxy_cidrs, which accepts a list of CIDR ranges for which to expect the PROXY protocol. This property allows selective enablement of PROXY protocol based on the source IP address. Expect_proxy_cidrs is mutually exclusive with the accept_proxy, which enables PROXY protocol for all connections, and will lead to validation failure if both are set to true.