This commit is contained in:
arraykeys
2021-07-08 11:06:10 +08:00
parent c3984469f9
commit a4f8495ca5
8 changed files with 25 additions and 13 deletions
+3
View File
@@ -1727,6 +1727,9 @@ 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
+4 -1
View File
@@ -1810,7 +1810,7 @@ proxy会把连接使用的流量上报到这个地址,具体情况是,proxy发
下面是一个完整的URL请求实例:
`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`
`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标志.
@@ -1819,6 +1819,9 @@ client_addr: 客户端地址,格式: `IP:端口`.
target_addr: 目标地址,格式: `IP:端口`,tcp/udp代理时,这个是空.
username: 代理认证用户名,tcp/udp代理时,这个是空.
bytes: 此次使用的流量字节数.
out_local_addr: 代理对外建立的TCP连接的本地地址,,格式: `IP:端口`
out_remote_addr: 代理对外建立的TCP连接的远程地址,,格式: `IP:端口`
upstream: 使用的上级,格式是标准URL格式,如果没有使用上级,这里是空。
#### 提示