proxy_protocol.proto

Package: proxy_protocol.options.gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/proxy_protocol/proxy_protocol.proto

ProxyProtocol

"rules": []proxy_protocol.options.gloo.solo.io.ProxyProtocol.Rule
"allowRequestsWithoutProxyProtocol": bool

Field Type Description
rules []proxy_protocol.options.gloo.solo.io.ProxyProtocol.Rule The list of rules to apply to requests.
allowRequestsWithoutProxyProtocol bool Allow requests through that don’t use proxy protocol. Defaults to false. .. attention:: The true setting is only honored in Gloo Edge Enterprise. 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.

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": .proxy_protocol.options.gloo.solo.io.ProxyProtocol.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 .proxy_protocol.options.gloo.solo.io.ProxyProtocol.KeyValuePair If the TLV type is present, apply this metadata KeyValuePair.