Skip to content

Avoid forwarding the client cert from Envoy to ext_proc through a header #1740

Description

@haiyanmeng

Currently, Envoy forwards the client certificate to ext_proc through the x-forwarded-client-cert header.

  • atunnel sends a bare CONNECT request to the egress gateway. The request has Method, URL, and Host and no Header map at all.
  • The egress filter chain sets forward_client_cert_details: SANITIZE_SET, so whatever a client sends under this name is discarded and replaced by Envoy's own value.

We should avoid forwarding the client cert from Envoy to ext_proc through a header. The separation of trusted data from Envoy from potential user-supplied data makes it easier to prove the system is secure.

cc Taahir Ahmed (@ahmedtd) Bowei Du (@bowei)

Activity

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

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions