Socket
SocketConfig
Proto: protos/proto/vx/transport/dlhelper.proto
SocketConfig is set on TransportConfig.socket and MultiProxyInboundConfig.socket.
SocketConfig
markSO_MARK (set when non-zero)
receiveOriginalDestAddressUDP: enable IP_RECVORIGDSTADDR to receive the original destination address
bindAddressBind local address (Linux only)
bindPortBind local port (used with bindAddress)
acceptProxyProtocolAccept PROXY protocol v1/v2
tcpKeepAliveIntervalTCP keepalive probe interval (seconds)
tcpKeepAliveIdleTCP keepalive idle time (seconds)
tfoQueueLengthTFO queue length
bindToDeviceBind to network interface index
rxBufSizeReceive socket buffer size (bytes)
txBufSizeSend socket buffer size (bytes)
forceBufSizeForce application of rxBufSize / txBufSize
localAddr4Outbound IPv4 local address (dial / UDP listen)
localAddr6Outbound IPv6 local address
dialTimeoutDial timeout override (seconds)
TCPFastOpenState
AsIsKeep the system TFO setting unchanged
EnableExplicitly enable TFO
DisableExplicitly disable TFO
TProxyMode
OffDisable transparent proxy
TProxyTProxy mode
RedirectRedirect mode
{
"transport": {
"socket": {
"tfo": "Enable",
"tcpKeepAliveIdle": 60
},
"tcp": {}
}
}