You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
1、请问客户端config.json的outbounds的vnext里设置多个会发生什么?

我通过wireshark进行抓包这两个vnext地址发现均有流量,我不太明白其中是如何工作的。
比如当下情况下我通过浏览器访问谷歌的流量是都会相同地发送给这两个vnext节点吗?
还是说xray只发送给了其中一个节点呢?
2、问题1是源于我在研究如何实现单机客户端链接多个不同节点,以实现如


【根据域名或者某种规则将不同流量分发到不同节点】,
再如
【并行节点测速(当下地GUI客户端测速似乎都没有实现并发测速,都是逐一地测速)】。
最开始想到的是启动多个Xray.exe实例,每个实例有单独的config.json,每个都包含一个vnext服务节点。但感觉没必要去多开Xray.exe实例这种耗费资源的方式。
所以去看了看源码,通过断点阅读源码执行流程。【【鉴于本人水平有限,新手gopher】】,最终停在<-osSignals这一行,没懂搞清楚问题1到底发生了什么,没搞懂客户端inbounds的流量到outbounds之间是如何分发的
看源码并根据 https://xtls.github.io/development/intro/design.html 的架构图。
个人推测,App、inbound proxy、outbound proxy模块之间似乎是通过protobuf交换数据的是吗?
如何才能断点调试到问题1的部分呢?
本人新手菜鸡一枚,望大佬们指点迷津
Beta Was this translation helpful? Give feedback.
All reactions