Comments (9)
url-test的原理是http请求,设置30分钟足够了,你设置间隔一到两分钟太短了
from openclash.
url-test的原理是http请求,设置30分钟足够了,你设置间隔一到两分钟太短了
主要是如果有个节点不行了,间隔时间=最大复活时间
能不能具体说说单次 url-test https://cp.cloudflare.com/generate_204 消耗的流量是多少?我把它右键另存下来,显示大小是零字节.
from openclash.
generate_204就是返回http 204状态码,不会有任何实际的内容,消耗流量通常可以忽略不计,所以你消耗的流量应该不是url-test造成的
from openclash.
generate_204就是返回http 204状态码,不会有任何实际的内容,消耗流量通常可以忽略不计,所以你消耗的流量应该不是url-test造成的
但是用排除法显示是由 url-test 造成,关闭各种设备和软件,流量始终都在消耗,直到将 url-test 的间隔增大一百倍,问题消失
from openclash.
试试改用http?
https协议栈还是占流量的
from openclash.
试试改用http? https协议栈还是占流量的
部署了一个 clash-exporter,正在试图排查,感觉挺古怪的
from openclash.
经过一些测试,发现跟 meta 内核 与 url-test 都有关系,可能也与机场的计量方式有关
- 只有较多地使用 url-test 并且使用 meta 内核才会出现这个流量损耗,premium 内核没有这个问题
(模式切换分别是 meta + fakeip + 增强模式,premium + fakeip + tun模式) - OpenClash 自带的 clash 面板统计不到这个流量,只会出现在机场的计费当中
- 测试机场计费,发现机场对单个大文件下载的计量比较准确,误差 1%.但对长时间的刷网页等计费误差可能高达 10% 或更高
综合推测原因,可能是机场对小流量小连接有神奇的四舍五入反向抹零,大量的小连接会导致流量大幅多估,而 meta 内核对 url-test 的处理会造成更多的这样的小连接
我觉得这个问题还是挺严重的,每个月可能产生好几十 GB 的不存在的流量消耗,有兴趣的朋友可以测试研究一下
更新,premium 内核的 url-test 没有生效,完全不会自动检测,无论 lazy:true 还是 false
from openclash.
使用Meta + Redir,proxy_groups和providers 2分钟检测一次http://www.google.com/generate_204,没有使用lazy。并没有出现类似的情况,几个机场的流量都正常。
from openclash.
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
from openclash.
Related Issues (20)
- [Feature] 大佬有没有考虑做一个docker版本的openwrt HOT 2
- 用tvbox走机场流量怎么添加规则
- [Feature] 请问OpenClash支持Vless协议么
- [Bug] Torjan 节点在openclash 中无法打开CF 登录页面,OPENAI主页,检测过PROXYIP无问题。同样的节点在pass wall可以正常使用。
- [Feature] 希望增加非TUN模式,只监听 7890 mix-port 端口
- [Feature] doh(dns-over-https)支持 HOT 1
- [Bug] OpenClash 启动失败,尝试使用原始配置文件启动... HOT 25
- [Feature] 请求添加ipv6代理的混合模式
- [Feature] 求助一下查看状态的端口是多少?从外网访问无法显示 HOT 2
- [Bug] 勾选 禁用 QUIC,网页访问 chatgpt.com 无效,某些请求会直连,无法登录和聊天 HOT 1
- [Bug] TUN接口经常性启动失败 HOT 3
- [Feature] 求大佬指点,在编译openwrt系统阶段,就把openclash的内核打包下载和安装好的Makefile,从而不需要在编译好后的系统管理界面在单独上传内核。 HOT 3
- [Feature] 建议把订阅中的流量使用信息改为和其他clash实现一样的”已用流量“,而不是剩余流量 HOT 1
- [Bug] 大量“socket: protocol not supporte”相关报错 HOT 2
- [Bug] 自定义规则指向节点时,规则失效(如果指向分组规则是生效的) HOT 2
- 无法代理,开启clash之后openwrt不上网,终端不走clash HOT 10
- [Feature] 希望添加关闭劫持局域网53端口的开关 HOT 1
- [Feature] 节点质量统计
- [Feature] Hijacking ICMP (PING)
- [Bug] openclash 无法下载订阅,无法更新内核。 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openclash.