From bbe0577b16f33195e67d3d972339c063dedba4c8 Mon Sep 17 00:00:00 2001 From: Jrohy Date: Wed, 13 Nov 2019 00:05:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0v2ray=E6=B5=81=E9=87=8F?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E5=91=BD=E4=BB=A4=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Changelog.md | 4 ++++ README.md | 3 ++- README_EN.md | 3 ++- v2ray.bash | 2 +- v2ray_util/main.py | 8 ++++++-- 5 files changed, 15 insertions(+), 5 deletions(-) diff --git a/Changelog.md b/Changelog.md index 980407f7..c61441d5 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Change Log +## [v3.7.1](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.1)(2019-11-12) +- fix [#244](https://github.com/Jrohy/multi-v2ray/issues/244), 修复v2ray流量统计bug +- 修改v2ray流量统计命令行为`v2ray stats`, iptables流量统计为`v2ray iptables` + ## [v3.7.0](https://github.com/Jrohy/multi-v2ray/releases/tag/v3.7.0)(2019-11-07) - 添加更多Cloudcflare cdn 端口, 端口详见: [Identifying network ports compatible with Cloudflare's proxy ](https://support.cloudflare.com/hc/en-us/articles/200169156-Identifying-network-ports-compatible-with-Cloudflare-s-proxy) diff --git a/README.md b/README.md index ebd80b68..9a6c05be 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,8 @@ v2ray [-h|--help] [options] tfo 修改tcpFastOpen stream 修改传输协议 cdn 走cdn - stats iptables流量统计 + stats v2ray流量统计 + iptables iptables流量统计 clean 清理日志 log 查看日志 ``` diff --git a/README_EN.md b/README_EN.md index 21fc5817..f6791d8f 100644 --- a/README_EN.md +++ b/README_EN.md @@ -72,7 +72,8 @@ v2ray [-h|--help] [options] tfo modify tcpFastOpen stream modify protocol cdn cdn mode - stats iptables traffic statistics + stats v2ray traffic statistics + iptables iptables traffic statistics clean clean v2ray log log check v2ray log ``` diff --git a/v2ray.bash b/v2ray.bash index 1b394349..acd30c3f 100644 --- a/v2ray.bash +++ b/v2ray.bash @@ -1,6 +1,6 @@ # bash completion for v2ray -*- shell-script -*- function _auto_tab() { - local options_array=("start" "stop" "restart" "status" "update" "update.sh" "add" "del" "info" "port" "tls" "tfo" "stream" "cdn" "stats" "clean" "log" "new" "-h" "-v") + local options_array=("start" "stop" "restart" "status" "update" "update.sh" "add" "del" "info" "port" "tls" "tfo" "stream" "iptables" "cdn" "stats" "clean" "log" "new" "-h" "-v") local add_array=("wechat" "utp" "srtp" "dtls" "wireguard" "socks" "mtproto" "ss") local cur pre diff --git a/v2ray_util/main.py b/v2ray_util/main.py index 18b09b0f..83a695f3 100644 --- a/v2ray_util/main.py +++ b/v2ray_util/main.py @@ -35,7 +35,8 @@ def help(): tfo 修改tcpFastOpen stream 修改传输协议 cdn 走cdn - stats iptables流量统计 + stats v2ray流量统计 + iptables iptables流量统计 clean 清理日志 log 查看日志 """.format(exec_name[exec_name.rfind("/") + 1:])) @@ -60,7 +61,8 @@ def help(): tfo modify tcpFastOpen stream modify protocol cdn cdn mode - stats iptables traffic statistics + stats v2ray traffic statistics + iptables iptables traffic statistics clean clean v2ray log log check v2ray log """.format(exec_name[exec_name.rfind("/") + 1:])) @@ -99,6 +101,8 @@ def parse_arg(): elif sys.argv[1] == "stream": stream.modify() elif sys.argv[1] == "stats": + stats_ctr.manage() + elif sys.argv[1] == "iptables": iptables_ctr.manage() elif sys.argv[1] == "clean": V2ray.cleanLog()