TCP
TcpConfig
Proto: protos/proto/vx/transport/protocols/tcp/config.proto
Plain TCP transport. Set on TransportConfig.tcp.
TcpConfig
headerSettingsAny
Connection header camouflage (HTTP, TLS, SRTP, etc.)
Header types (headerSettings @type)
vx.transport.headers.noop.ConfigNo header
vx.transport.headers.http.ConfigHTTP request/response camouflage
vx.transport.headers.tls.ConfigTLS record camouflage
vx.transport.headers.srtp.ConfigSRTP camouflage
vx.transport.headers.utp.ConfiguTP camouflage
vx.transport.headers.wechat.ConfigWeChat video camouflage
vx.transport.headers.wireguard.ConfigWireGuard camouflage
HTTP header configuration (vx.transport.headers.http.Config) includes request and response, each with version, method, uri, and a header list. See headers/http/config.proto.
{
"transport": {
"tcp": {
"headerSettings": {
"@type": "type.googleapis.com/vx.transport.headers.http.Config",
"request": {
"version": { "value": "1.1" },
"method": { "value": "GET" },
"uri": ["/"],
"header": [{ "name": "Host", "value": ["example.com"] }]
}
}
}
}
}When neither tcp nor any other protocol is set, raw TCP is used.