/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
Read-only list of active proxied connections. An entry exists while a proxied connection is open. For more information, see SOCKS.
| Argument | Type | Description |
|---|---|---|
src-address | composite { address: alt { addr-ipv4: ipAddr , addr-ipv6: ip6Addr } , port: num } | Address and port of the SOCKS client. |
dst-address | composite { address: alt { addr-ipv4: ipAddr , addr-ipv6: ip6Addr , addr-domain: string } , port: num } | The requested destination address and port. |
type | enum (unknown | out | in) { unknown:0, out:1, in:2 } | Type of the connection. - unknown - The connection was just initiated. - out - The connection is being relayed to the requested destination. - in - The connection is incoming. |
tx | num | Bytes relayed to the destination on this connection. |
rx | num | Bytes received from the destination on this connection. |
| Read-only Argument | Type | Description |
|---|---|---|
user | enum | Username from users the client authenticated with. Empty when auth-method=none. |