Skip to content

Audit handling of addresses when listener filters (proxy protocol, etc) modify it #14133

@ggreenway

Description

@ggreenway

The handling of downstreamLocalAddress and downstreamRemoteAddress is messy and unclear. Audit uses of the address on both the connection and StreamInfo. Clean up code so it is easier to understand.

  • Specifically, the addresses are set twice on the connection StreamInfo, once before listener filters are run and once after. Try to find a better way to handle this.
  • HCM sets the downstream address before doing XFF handling. Can this be removed?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions