proxyprotocol.proto

Package: envoy.config.listener.proxy_protocol.v3

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/external/envoy/extensions/proxyprotocol/proxyprotocol.proto

CustomProxyProtocol

"rules": []envoy.config.listener.proxy_protocol.v3.CustomProxyProtocol.Rule
"allowRequestsWithoutProxyProtocol": bool
"passThroughTlvs": .solo.io.envoy.config.core.v3.ProxyProtocolPassThroughTLVs

Field Type Description
rules []envoy.config.listener.proxy_protocol.v3.CustomProxyProtocol.Rule The list of rules to apply to requests.
allowRequestsWithoutProxyProtocol bool Allow requests through that don’t use proxy protocol. Defaults to false. .. attention:: This breaks conformance with the specification. Only enable if ALL traffic to the listener comes from a trusted source. For more information on the security implications of this feature, see https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt.
passThroughTlvs .solo.io.envoy.config.core.v3.ProxyProtocolPassThroughTLVs This config controls which TLVs can be passed to filter state if it is Proxy Protocol V2 header. If there is no setting for this field, no TLVs will be passed through. .. note:: If this is configured, you likely also want to set :ref:core.v3.ProxyProtocolConfig.pass_through_tlvs <envoy_v3_api_field_config.core.v3.ProxyProtocolConfig.pass_through_tlvs>, which controls pass-through for the upstream.

KeyValuePair

"metadataNamespace": string
"key": string

Field Type Description
metadataNamespace string The namespace — if this is empty, the filter’s namespace will be used.
key string The key to use within the namespace.

Rule

A Rule defines what metadata to apply when a header is present or missing.

"tlvType": int
"onTlvPresent": .envoy.config.listener.proxy_protocol.v3.CustomProxyProtocol.KeyValuePair

Field Type Description
tlvType int The type that triggers the rule - required TLV type is defined as uint8_t in proxy protocol. See the spec <https://www.haproxy.org/download/2.1/doc/proxy-protocol.txt>_ for details.
onTlvPresent .envoy.config.listener.proxy_protocol.v3.CustomProxyProtocol.KeyValuePair If the TLV type is present, apply this metadata KeyValuePair.