tcp.proto

Package: tcp.options.gloo.solo.io

Types:

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

TcpProxySettings

Contains various settings for Envoy’s tcp proxy filter. See here for more information: https://www.envoyproxy.io/docs/envoy/v1.10.0/api-v2/config/filter/network/tcp_proxy/v2/tcp_proxy.proto#envoy-api-msg-config-filter-network-tcp-proxy-v2-tcpproxy

"maxConnectAttempts": .google.protobuf.UInt32Value
"idleTimeout": .google.protobuf.Duration
"tunnelingConfig": .tcp.options.gloo.solo.io.TcpProxySettings.TunnelingConfig

Field Type Description
maxConnectAttempts .google.protobuf.UInt32Value
idleTimeout .google.protobuf.Duration
tunnelingConfig .tcp.options.gloo.solo.io.TcpProxySettings.TunnelingConfig If set, this configures tunneling, e.g. configuration options to tunnel multiple TCP payloads over a shared HTTP tunnel. If this message is absent, the payload will be proxied upstream as per usual.

TunnelingConfig

Configuration for tunneling TCP over other transports or application layers.

"hostname": string
"headersToAdd": []tcp.options.gloo.solo.io.HeaderValueOption

Field Type Description
hostname string The hostname to send in the synthesized CONNECT headers to the upstream proxy.
headersToAdd []tcp.options.gloo.solo.io.HeaderValueOption Additional request headers to be sent to upstream proxy. Mainly used to trigger upstream to convert POST request back to CONNECT requests.

HeaderValueOption

Header name/value pair plus option to control append behavior.

"header": .tcp.options.gloo.solo.io.HeaderValue
"append": .google.protobuf.BoolValue

Field Type Description
header .tcp.options.gloo.solo.io.HeaderValue Header name/value pair that this option applies to.
append .google.protobuf.BoolValue If true (default), the value is appended to existing values.

HeaderValue

Header name/value pair.

"key": string
"value": string

Field Type Description
key string Header name.
value string Header value.