update
This commit is contained in:
@@ -1721,15 +1721,15 @@ The following is a complete URL request example:
|
||||
`http://127.0.0.1:33088/user/traffic?bytes=337&client_addr=127.0.0.1%3A51035&id=http&server_addr =127.0.0.1%3A33088&target_addr=myip.ipip.net%3A80&username=a`
|
||||
|
||||
Request parameter description:
|
||||
id: service id flag.
|
||||
server_addr: proxies's address requested by the client, format: IP: port.
|
||||
client_addr: client address, format: IP: port.
|
||||
target_addr: target address, format: "IP: port", when tcp / udp proxy, this is empty.
|
||||
User name: proxy authentication user name, this is empty when tcp / udp proxy.
|
||||
bytes: the number of traffic bytes used by the user.
|
||||
out_local_addr: outgoing tcp connection's local address,format: IP: port.
|
||||
out_remote_addr: outgoing tcp connection's remote address,format: IP: port.
|
||||
upstream: upstream used by outgoing tcp connection, if none upstream be used, it's empty.
|
||||
id: service id flag.
|
||||
server_addr: proxies's address requested by the client, format: IP: port.
|
||||
client_addr: client address, format: IP: port.
|
||||
target_addr: target address, format: "IP: port", when tcp / udp proxy, this is empty.
|
||||
User name: proxy authentication user name, this is empty when tcp / udp proxy.
|
||||
bytes: the number of traffic bytes used by the user.
|
||||
out_local_addr: outgoing tcp connection's local address,format: IP: port.
|
||||
out_remote_addr: outgoing tcp connection's remote address,format: IP: port.
|
||||
upstream: upstream used by outgoing tcp connection, if none upstream be used, it's empty.
|
||||
|
||||
#### Tips
|
||||
|
||||
|
||||
+13
-10
@@ -1810,18 +1810,21 @@ proxy会把连接使用的流量上报到这个地址,具体情况是,proxy发
|
||||
|
||||
下面是一个完整的URL请求实例:
|
||||
|
||||
`http://127.0.0.1:8080/auth.php?act=traffic&bytes=7627&client_addr=127.0.0.1%3A63637&id=http&out_local_addr=127.0.0.1%3A63640&out_remote_addr=127.0.0.1%3A63639&server_addr=127.0.0.1%3A33080&target_addr=www.baidu.com%3A443&upstream=http%3A%2F%2F127.0.0.1%3A3100&username=a`
|
||||
`http://127.0.0.1:8080/auth.php?act=traffic&bytes=7627&client_addr=127.0.0.1%3A63637
|
||||
&id=http&out_local_addr=127.0.0.1%3A63640&out_remote_addr=127.0.0.1%3A63639
|
||||
&server_addr=127.0.0.1%3A33080&target_addr=www.baidu.com%3A443
|
||||
&upstream=http%3A%2F%2F127.0.0.1%3A3100&username=a`
|
||||
|
||||
请求参数说明:
|
||||
id: 服务id标志.
|
||||
server_addr: 客户端请求的代理地址,格式: `IP:端口`.
|
||||
client_addr: 客户端地址,格式: `IP:端口`.
|
||||
target_addr: 目标地址,格式: `IP:端口`,tcp/udp代理时,这个是空.
|
||||
username: 代理认证用户名,tcp/udp代理时,这个是空.
|
||||
bytes: 此次使用的流量字节数.
|
||||
out_local_addr: 代理对外建立的TCP连接的本地地址,,格式: `IP:端口`
|
||||
out_remote_addr: 代理对外建立的TCP连接的远程地址,,格式: `IP:端口`
|
||||
upstream: 使用的上级,格式是标准URL格式,如果没有使用上级,这里是空。
|
||||
id: 服务id标志。
|
||||
server_addr: 客户端请求的代理地址,格式: `IP:端口`。
|
||||
client_addr: 客户端地址,格式: `IP:端口`。
|
||||
target_addr: 目标地址,格式: `IP:端口`,tcp/udp代理时,这个是空。
|
||||
username: 代理认证用户名,tcp/udp代理时,这个是空。
|
||||
bytes: 此次使用的流量字节数。
|
||||
out_local_addr: 代理对外建立的TCP连接的本地地址,,格式: `IP:端口`。
|
||||
out_remote_addr: 代理对外建立的TCP连接的远程地址,,格式: `IP:端口`。
|
||||
upstream: 使用的上级,格式是标准URL格式,如果没有使用上级,这里是空。
|
||||
|
||||
#### 提示
|
||||
|
||||
|
||||
Reference in New Issue
Block a user