VXVX Docs

Socket

SocketConfig

Proto: protos/proto/vx/transport/dlhelper.proto

SocketConfig is set on TransportConfig.socket and on MultiProxyInboundConfig.socket.

SocketConfig

FieldDescription
markSO_MARK (non-zero)
tfoTCP fast open: AsIs, Enable, Disable
tproxyOff, TProxy, Redirect
receiveOriginalDestAddressUDP: receive original destination (IP_RECVORIGDSTADDR)
bindAddress, bindPortBind local address (Linux)
acceptProxyProtocolAccept PROXY protocol v1/v2
tcpKeepAliveInterval, tcpKeepAliveIdleTCP keepalive
tfoQueueLengthTFO queue length
bindToDeviceBind to network interface index
rxBufSize, txBufSize, forceBufSizeSocket buffer sizes
localAddr4, localAddr6Outbound local address (dial / UDP listen)
dialTimeoutDial timeout override
{
  "transport": {
    "socket": {
      "tfo": "Enable",
      "tcpKeepAliveIdle": 60
    },
    "tcp": {}
  }
}

Comments

On this page