You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are migrating away from a HAProxy-based setup and had one incoming port we used to proxy connection with the PROXY protocol to a backend service (exim in this case, but this is not important). On this port we had incoming connections directly from clients, i.e. without incoming PROXY protocol lines, and incoming connections that went through an upstream proxy and would already have PROXY protocol lines. This was not an issue.
We have been unable to replicate this setup with Caddy and the l4 plugin. Either we add the proxy_protocol handler on the incoming port used for this and only connections with the PROXY protocol lines are accepted/handled, or we do not add the handler and only connections without the PROXY protocol lines go through correctly, the others also go through but exim chokes on them (maybe they have both PROXY protocol lines? We didn’t tcpdump and check.)
Is it possible to create a port agnostic to the presence or not of the PROXY protocol line?
The text was updated successfully, but these errors were encountered:
We are migrating away from a HAProxy-based setup and had one incoming port we used to proxy connection with the
PROXY
protocol to a backend service (exim in this case, but this is not important). On this port we had incoming connections directly from clients, i.e. without incomingPROXY
protocol lines, and incoming connections that went through an upstream proxy and would already havePROXY
protocol lines. This was not an issue.We have been unable to replicate this setup with Caddy and the l4 plugin. Either we add the
proxy_protocol
handler on the incoming port used for this and only connections with thePROXY
protocol lines are accepted/handled, or we do not add the handler and only connections without thePROXY
protocol lines go through correctly, the others also go through but exim chokes on them (maybe they have bothPROXY
protocol lines? We didn’t tcpdump and check.)Is it possible to create a port agnostic to the presence or not of the
PROXY
protocol line?The text was updated successfully, but these errors were encountered: