VXVX Docs

TCP

TcpConfig

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

Plain TCP transport. Set on TransportConfig.tcp.

TcpConfig

headerSettings
Any

Connection header camouflage (HTTP, TLS, SRTP, etc.)

Header types (headerSettings @type)

vx.transport.headers.noop.Config

No header

vx.transport.headers.http.Config

HTTP request/response camouflage

vx.transport.headers.tls.Config

TLS record camouflage

vx.transport.headers.srtp.Config

SRTP camouflage

vx.transport.headers.utp.Config

uTP camouflage

vx.transport.headers.wechat.Config

WeChat video camouflage

vx.transport.headers.wireguard.Config

WireGuard 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.

Comments