/ip/socks/connections

connections

Read-only list of active proxied connections. An entry exists while a proxied connection is open. For more information, see SOCKS.


ip/socks/connections

Type: Directory

活动代理连接的只读列表。代理连接打开期间存在对应条目。更多信息请参阅 SOCKS。

参数类型描述
src-addresscomposite { address: alt { addr-ipv4: ipAddr , addr-ipv6: ip6Addr } , port: num }SOCKS 客户端的地址和端口。
dst-addresscomposite { address: alt { addr-ipv4: ipAddr , addr-ipv6: ip6Addr , addr-domain: string } , port: num }请求的目标地址和端口。
typeenum (unknown | out | in) { unknown:0, out:1, in:2 }连接类型。 - unknown - 连接刚刚发起。 - out - 连接正在中继到请求的目标。 - in - 连接是入站连接。
txnum此连接上中继到目标的字节数。
rxnum此连接上从目标接收的字节数。
只读参数类型描述
userenum客户端认证使用的 users 中的用户名。当 auth-method=none 时为空。