yomnxkcs
yomnxkcs
目前v5的文档没写明services每个服务的keyword是什么,于是我尝试在原配置中添加以下配置: ```javascript "services": { "backgroundObservatory": { "subjectSelector": [ "node" ], "probeInterval": 10000000 } } ``` 首先probeInterval无效,不管设置多大,日志还是一直刷[tcp:api.v2fly.org:443]。然后从日志中可以看到除了api.v2fly.org(默认测试网址)外,其他网址还是显示app/dispatcher: default route,然后走了第一个outbound。而且balancingRule.strategy是random,应该和Observatory没关系吧。 附上日志: ```javascript V2Ray 5.0.3 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.17.6...
不懂代码,我是按v5的文档写的配置。 改成router之后有效果吗?
我是在windows的cmd窗口里面打命令运行v2ray。 具体根据 [https://www.v2fly.org/v5/config/overview.html#%E6%A6%82%E8%BF%B0](https://www.v2fly.org/v5/config/overview.html#%E6%A6%82%E8%BF%B0) 输入: ```javascript 注意是-format不是-f v2ray.exe run -c config.json -format jsonv5 或者花哨点 v2ray.exe run -format jsonv5 < cfg.json ``` 上面的配置也是参考那个网页的说明,连懵带猜写出来的。 leastLoad从字面意思上猜是挑选用得最少的服务器,把流量平均分摊出去。
不应该啊,在cmd里面运行v2ray就算config.json有错也只会显示错误信息而不会闪退。我也不清楚为什么会闪退。然后看了下你的配置,发现以下问题: 1.json里面`\`是转义符,所以路径要用双斜杠,比如` c:\\error.log` 2.log里面的Type/Path/Level首字母要小写。(这个应该是文档写错了) 3.inbounds.settings.packetEncoding要删掉。(又是文档的锅) v2ray v5的bug实在是有点多。
其实后半句才是发这个issue的目的。
sudo后面只能跟一条命令,分号是把多条命令写在一行,但还是多条命令。建议花点时间学下bash物有所值。
不太懂golang,我猜测是wireguard需要创建虚拟网卡,但xray只能创建一张。 https://github.com/XTLS/Xray-core/blob/38b175d53e9043aa4fcda8fef9263d9ec313fbc1/proxy/wireguard/gvisortun/tun.go#L54 在en切换到us时,服务器有这么一行日志吗? ```bash CreateNIC: duplicate nic id ``` 试下把服务器的配置文件拆分成两个,比如一个vless(443)->wireguard(en),另一个vless(444)->wireguard(us),然后开两个xray-core看能不能通过不同端口访问en和us?
I doubt about that statement. Because workers are designed to be stateless. So each upload post is brand new from the workers perspective. I'm curious how to keep the target...
> [cfxhttp](https://github.com/vrnobody/cfxhttp) Just a working example, do not expect too much. [readme-en.md](https://github.com/vrnobody/cfxhttp/blob/main/docs/en.md) WOW! Good job!