From c00729ecb974aa34fdf3078972e01a15fa910257 Mon Sep 17 00:00:00 2001 From: arraykeys Date: Tue, 20 Sep 2022 15:03:02 +0800 Subject: [PATCH] update --- README.md | 1 + README_ZH.md | 3 ++- docs/manual/manual.md | 1 + docs/manual/zh/manual.md | 3 ++- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a21e370..866f510 100644 --- a/README.md +++ b/README.md @@ -2071,6 +2071,7 @@ Introduce: - The connection established by the returned user and ip will be disconnected by the proxy. - Connections matching the returned conns will be disconnected by the proxy. - If the returned data contains both: user or ip, and conns, then the user or ip will be ignored, and only the connection matching conns will be disconnected. +- When the connection is closed, if the authentication cache is enabled, the `user` or `IP` authentication cache will be cleared. #### Example Suppose --control-url `http://127.0.0.1:33088/user/control.php` points to a PHP interface address. diff --git a/README_ZH.md b/README_ZH.md index 375b5bc..b864170 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -2217,7 +2217,7 @@ proxy会向控制接口URL发送一个HTTP POST请求,`表单`数据中有三 `conns`: 当前所有正在连接到代理端口传输数据的tcp连接信息。conns值是一个json字符串,格式是一个数组,元素是一个对象,对象包含了连接的详细详细, conns格式:`[{"id":"ab7bf1f10501d6f7","client":"127.0.0.1:62112","server":"127.0.0.1:9092","user":""}]` -对象字段说明:id:连接的唯一id,client:客户端IP地址和端口,server:客户端访问的代理IP和端口,user连接对应认证的用户名(如果有的话,没有为空) +对象字段说明:id:连接的唯一id,client:客户端IP地址和端口,server:客户端访问的代理IP和端口,user连接对应认证的用户名(如果有的话,没有为空) #### 控制接口返回数据说明 @@ -2234,6 +2234,7 @@ conns格式:`[{"id":"ab7bf1f10501d6f7","client":"127.0.0.1:62112","server":"12 - 返回的用户和ip已经建立的连接会被proxy断开。 - 返回的conns匹配的连接会被proxy断开。 - 返回的数据,如果同时包含:user或者ip,和conns,那么user或者ip会被忽略,只会断开conns匹配的连接。 +- 对应的连接被关闭的同时,如果开启了认证缓存,会清除对应的`用户`或`IP`认证缓存。 #### 示例 diff --git a/docs/manual/manual.md b/docs/manual/manual.md index bf62c94..60b1daa 100644 --- a/docs/manual/manual.md +++ b/docs/manual/manual.md @@ -1859,6 +1859,7 @@ Introduce: - The connection established by the returned user and ip will be disconnected by the proxy. - Connections matching the returned conns will be disconnected by the proxy. - If the returned data contains both: user or ip, and conns, then the user or ip will be ignored, and only the connection matching conns will be disconnected. +- When the connection is closed, if the authentication cache is enabled, the `user` or `IP` authentication cache will be cleared. #### Example Suppose --control-url `http://127.0.0.1:33088/user/control.php` points to a PHP interface address. diff --git a/docs/manual/zh/manual.md b/docs/manual/zh/manual.md index 2b225ca..43cb958 100644 --- a/docs/manual/zh/manual.md +++ b/docs/manual/zh/manual.md @@ -1991,7 +1991,7 @@ proxy会向控制接口URL发送一个HTTP POST请求,`表单`数据中有三 `conns`: 当前所有正在连接到代理端口传输数据的tcp连接信息。conns值是一个json字符串,格式是一个数组,元素是一个对象,对象包含了连接的详细详细, conns格式:`[{"id":"ab7bf1f10501d6f7","client":"127.0.0.1:62112","server":"127.0.0.1:9092","user":""}]` -对象字段说明:id:连接的唯一id,client:客户端IP地址和端口,server:客户端访问的代理IP和端口,user连接对应认证的用户名(如果有的话,没有为空) +对象字段说明:id:连接的唯一id,client:客户端IP地址和端口,server:客户端访问的代理IP和端口,user连接对应认证的用户名(如果有的话,没有为空) #### 控制接口返回数据说明 @@ -2008,6 +2008,7 @@ conns格式:`[{"id":"ab7bf1f10501d6f7","client":"127.0.0.1:62112","server":"12 - 返回的用户和ip已经建立的连接会被proxy断开。 - 返回的conns匹配的连接会被proxy断开。 - 返回的数据,如果同时包含:user或者ip,和conns,那么user或者ip会被忽略,只会断开conns匹配的连接。 +- 对应的连接被关闭的同时,如果开启了认证缓存,会清除对应的`用户`或`IP`认证缓存。 #### 示例