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