Hello,
We are seeing an issue with Envoy using proxy protocol not sending DOWNSTREAM_REMOTE_ADDRESS when connecting to other upstreams. On the upstream, the source address in the proxy protocol header appears as Envoy’s IP, and not the downstream remote address as expected. When observed in the Envoy logs, the downstream remote address does show up correctly, but it’s not propagated via proxy protocol to the upstreams.
Envoy versions: both reproducible in 1.16.1 and 1.17.1.
Envoy downstream listener configuration:

Envoy upstream configuration:

The downstream listener is not using proxy protocol. The upstreams in “core_cluster” are running HAProxy with proxy protocol enabled on their listeners. Changing the proxy protocol version (from V2 to V1) didn’t make a difference.
I confirmed with a tcpdump packet capture running on the Envoy server that the source address in the proxy header is Envoy’s.
Am I missing anything in Envoy’s configuration, or is this a bug?
Thank you!
--
You received this message because you are subscribed to the Google Groups "envoy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to envoy-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/envoy-users/c0bb5f71-aa4b-4025-bca8-b2d265481408n%40googlegroups.com.