Closes#6. Local mode (externalTrafficPolicy: Local) was already the default. This adds PROXY v2 as the other mode: server.services.mail.proxyProtocol. The mail Service sends each port to a PROXY copy of the listener in the pods (inbuxa/inbuxa-server#475), believed only from trustedNetworks, the load balancer's addresses. NetworkPolicy opens the copies' ports.
The chart refuses PROXY mode without trustedNetworks, or with externalTrafficPolicy: Cluster. With Cluster, connections arrive from the nodes, and trusting them lets anyone claim any address (spike S6).
Lab: mailin-test.sh (inbuxa/inbuxa-k8s-lab) checks the address in Received in both modes, and that a forged header isn't believed. All pass. 67 chart tests pass, and check.sh passes.
Hold for rc.32, like #19 and #23. It's off by default, so merging early only matters to someone who turns it on with an older server.
Closes #6. Local mode (`externalTrafficPolicy: Local`) was already the default. This adds PROXY v2 as the other mode: `server.services.mail.proxyProtocol`. The mail Service sends each port to a PROXY copy of the listener in the pods (inbuxa/inbuxa-server#475), believed only from `trustedNetworks`, the load balancer's addresses. NetworkPolicy opens the copies' ports.
The chart refuses PROXY mode without `trustedNetworks`, or with `externalTrafficPolicy: Cluster`. With Cluster, connections arrive from the nodes, and trusting them lets anyone claim any address (spike S6).
Lab: `mailin-test.sh` (inbuxa/inbuxa-k8s-lab) checks the address in Received in both modes, and that a forged header isn't believed. All pass. 67 chart tests pass, and `check.sh` passes.
**Hold for rc.32**, like #19 and #23. It's off by default, so merging early only matters to someone who turns it on with an older server.
server.services.mail.proxyProtocol: the mail Service sends each port to a
PROXY copy of the listener in the pods, believed only from trustedNetworks.
Refused without trustedNetworks, or with externalTrafficPolicy Cluster,
where connections arrive from the nodes. Needs server 27.1-rc.32.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #6. Local mode (
externalTrafficPolicy: Local) was already the default. This adds PROXY v2 as the other mode:server.services.mail.proxyProtocol. The mail Service sends each port to a PROXY copy of the listener in the pods (inbuxa/inbuxa-server#475), believed only fromtrustedNetworks, the load balancer's addresses. NetworkPolicy opens the copies' ports.The chart refuses PROXY mode without
trustedNetworks, or withexternalTrafficPolicy: Cluster. With Cluster, connections arrive from the nodes, and trusting them lets anyone claim any address (spike S6).Lab:
mailin-test.sh(inbuxa/inbuxa-k8s-lab) checks the address in Received in both modes, and that a forged header isn't believed. All pass. 67 chart tests pass, andcheck.shpasses.Hold for rc.32, like #19 and #23. It's off by default, so merging early only matters to someone who turns it on with an older server.
4986d3ea57tofeac6f54ea