Xray-core
Xray-core copied to clipboard
1.6.2/1.6.3 版本的反向代理似乎有点问题
1.6.1 的时候,我搭建的 Reverse Proxy 还是正常的。 Server 和 Client 同时更新到 1.6.2/1.6.3 之后,Reverse Proxy 就连不上了。 将 Client 降回 1.6.1,Reverse Proxy 恢复正常。
1.6.1 Xray Client 启动的时候,可以看到最后几行 Reverse Proxy 的 Log
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundHttp>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundHttp>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:6060
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundHttpRouting>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundHttpRouting>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:6061
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundSocks>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundSocks>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:7070
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundSocksRouting>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter inbound>>>inboundSocksRouting>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:7071
2022/11/08 13:35:37 [Debug] app/stats: create new counter outbound>>>outboundFreedom>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter outbound>>>outboundFreedom>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/stats: create new counter outbound>>>outboundBlackhole>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] app/stats: create new counter outbound>>>outboundBlackhole>>>traffic>>>downlink
2022/11/08 13:35:37 [Debug] app/stats: create new counter outbound>>>outboundReverseProxyInterconnDefault>>>traffic>>>uplink
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:oc-su.*****:443
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:****:443
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:oc-sj.****:443
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:oc-cc.****:443
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:oc-tk.****:443
2022/11/08 13:35:37 [Debug] transport/internet: dialing to tcp:oc-sg.****:443
2022/11/08 13:35:37 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
2022/11/08 13:35:38 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
2022/11/08 13:35:38 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
2022/11/08 13:35:38 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
2022/11/08 13:35:39 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
2022/11/08 13:35:41 [Info] common/mux: received request for udp:reverse.internal.v2fly.org:0
1.6.3 Xray Client 启动的时候,Reverse Proxy 的 Log 没有了。
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundHttp>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundHttp>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:6060
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundHttpRouting>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundHttpRouting>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:6061
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundSocks>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundSocks>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/proxyman/inbound: creating stream worker on 127.0.0.1:7070
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundSocksRouting>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter inbound>>>inboundSocksRouting>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/proxyman/inbound: creating stream worker on 0.0.0.0:7071
2022/11/08 13:46:28 [Debug] app/stats: create new counter outbound>>>outboundFreedom>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter outbound>>>outboundFreedom>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/stats: create new counter outbound>>>outboundBlackhole>>>traffic>>>uplink
2022/11/08 13:46:28 [Debug] app/stats: create new counter outbound>>>outboundBlackhole>>>traffic>>>downlink
2022/11/08 13:46:28 [Debug] app/stats: create new counter outbound>>>outboundReverseProxyInterconnDefault>>>traffic>>>uplink
配置有点复杂,我就打包上传了。 Config.zip 配置已经精简为1个Server 和 2个Client,每个Client都可以反向代理另一个Client的流量。 实际配置为6个Server 和 4个Client,每个Client都可以通过任意的Server反向代理其它任意Client的流量。
我也有这个问题。1.6.2/1.6.3 版本的反向代理目前貌似不可用。
1.6.4 目前的反向代理似乎也不能用
我1.6.3反向代理经常断连,断连后不能自己恢复。手动重启内网服务器后有可用。使用的ss2020协议
反向代理无法使用了。 “2022/11/21 15:02:08 127.0.0.1:46712 rejected proxy/vless/encoding: failed to read request version > read tcp 127.0.0.1:4321->127.0.0.1:46712: i/o timeout”
测试了1.6.4/1.6.5,反向代理仍然不可用。
应该修好了https://github.com/XTLS/Xray-core/pull/1425 https://github.com/XTLS/Xray-core/actions/runs/3667339817
应该修好了#1425 https://github.com/XTLS/Xray-core/actions/runs/3667339817
刚测试了一下,确实正常了👍
fixed in 1.6.6