Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "expect-proxy level4" for a list of CIDRs #996

Open
kayrus opened this issue Mar 6, 2023 · 1 comment
Open

Add support for "expect-proxy level4" for a list of CIDRs #996

kayrus opened this issue Mar 6, 2023 · 1 comment

Comments

@kayrus
Copy link

kayrus commented Mar 6, 2023

What are you trying to do

k8s nodes routes loadbalancer traffic locally. if the listener is configured with PROXY protocol, the local traffic becomes unusable since haproxy requires the PROXY header.

See the k8s issue: kubernetes/kubernetes#66607

What HAProxy Ingress should do or how it should behave differently

instead of the bind's accept-proxy option, it's possible to configure tcp-request connection expect-proxy layer4 if { src 192.168.1.0/24 }. see documentation for reference: https://docs.haproxy.org/2.4/configuration.html#4.2-tcp-request%20connection

haproxytech ingress controller already supports the expect-proxy with a list of CIDRs: https://www.haproxy.com/documentation/kubernetes/latest/community/configuration-reference/configmap/#proxy-protocol

haproxytech/kubernetes-ingress@8c898cb

@github-actions
Copy link

This issue got stale and will be closed in 7 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants