yisier / nps

在 0.26.10 版本的基础上修改而来的
https://ehang.io/nps/documents
GNU General Public License v3.0
1.95k stars 245 forks source link

HTTPS协议不统计流量 #75

Closed nkxingxh closed 1 year ago

nkxingxh commented 1 year ago

Describe the bug 使用自定义配置文件,域名解析模式下不统计流量。

配置文件如下:

[common]
server_addr=192.168.6.109:8024
conn_type=tcp
remark=
vkey=xxxxxxxxxxxxxx
web_username=
web_password=
max_conn=256
rate_limit=2048
crypt=true
compress=true
auto_reconnection=true
disconnect_timeout=60

[tcp]
mode=tcp
target_addr=192.168.6.3:80
server_port=10000

[https]
host=example.com
target_addr=127.0.0.1:443
scheme=https

注:example.com 为示例域名,实际场景使用的自己的域名,已指向 192.168.6.109

访问 http://example.com:10000正常统计流量

访问 https://example.com不统计流量

yisier commented 1 year ago

已修复 https://github.com/yisier/nps/releases/tag/v0.26.16