VXVX Docs

TCP

TcpConfig

Proto: protos/proto/vx/transport/protocols/tcp/config.proto

Plain TCP transport. Set on TransportConfig.tcp.

TcpConfig

FieldTypeDescription
headerSettingsAnyConnection header disguise (HTTP, TLS, SRTP, …)

Header types (headerSettings @type)

@typePurpose
vx.transport.headers.noop.ConfigNo header
vx.transport.headers.http.ConfigHTTP request/response disguise
vx.transport.headers.tls.ConfigTLS record disguise
vx.transport.headers.srtp.ConfigSRTP disguise
vx.transport.headers.utp.ConfiguTP disguise
vx.transport.headers.wechat.ConfigWeChat video disguise
vx.transport.headers.wireguard.ConfigWireGuard disguise

HTTP header config (vx.transport.headers.http.Config) includes request and response with version, method, uri, and header lists. 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 tcp is omitted but no other protocol is set, raw TCP is used.

Comments