XTLS / Xray-core

Xray, Penetrates Everything. Also the best v2ray-core, with XTLS support. Fully compatible configuration.
https://t.me/projectXray
Mozilla Public License 2.0
25.88k stars 3.98k forks source link

xray跑trojan在游戏切换角色时概率出现掉线 #175

Closed feileb closed 7 months ago

feileb commented 3 years ago

服务端,客户端都是1.21版本,配置参考https://github.com/XTLS/Xray-core/issues/133 掉线时间应该是客户端:2021/01/15 21:59:27,服务端:2021/01/15 21:59:25,客户端配置为了方便定位屏蔽了udp,下面是debug日志: 出问题时trojan的firstlen=389和前面的firstlen=68不一样 1.客户端access

2021/01/15 21:50:24 tcp:127.0.0.1:53677 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:50:25 tcp:*.*.*.*:port8 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:50:26 tcp:*.*.*.*:port9 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:50:27 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:52:24 tcp:*.*.*.*:port0 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:52:25 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:52:26 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:52:27 tcp:*.*.*.*:port4 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:53:44 tcp:*.*.*.*:port6 accepted tcp:*.*.*.*:port
2021/01/15 21:53:56 tcp:*.*.*.*:port6 accepted tcp:*.*.*.*:port
2021/01/15 21:54:24 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:54:25 tcp:*.*.*.*:port3 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:54:26 tcp:*.*.*.*:port5 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:54:27 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:54:54 tcp:*.*.*.*:port0 accepted tcp:*.*.*.11:80
2021/01/15 21:55:21 tcp:*.*.*.*:port8 accepted tcp:*.*.*.*:port
2021/01/15 21:55:34 tcp:*.*.*.*:port3 accepted tcp:*.*.*.*:port
2021/01/15 21:56:01 tcp:*.*.*.*:port5 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:01 tcp:*.*.*.*:port6 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:01 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:02 tcp:*.*.*.*:port0 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:03 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:05 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:07 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:24 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:25 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:26 tcp:*.*.*.*:port3 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:27 tcp:*.*.*.*:port4 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 tcp:*.*.*.*:port9 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 tcp:*.*.*.*:port0 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:37 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:39 tcp:*.*.*.*:port5 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:41 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:56:43 tcp:*.*.*.*:port8 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:15 tcp:*.*.*.*:port6 accepted tcp:*.*.*.*:port
2021/01/15 21:57:23 tcp:*.*.*.*:port0 accepted tcp:*.*.*.*:port
2021/01/15 21:57:26 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 tcp:*.*.*.*:port9 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 tcp:*.*.*.*:port0 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:41 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:42 tcp:*.*.*.*:port4 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:44 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:57:46 tcp:*.*.*.*:port8 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:58:24 tcp:*.*.*.*:port7 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:58:25 tcp:*.*.*.*:port8 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:58:26 tcp:*.*.*.*:port1 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:58:27 tcp:*.*.*.*:port2 rejected  proxy/socks: UDP is not enabled.
2021/01/15 21:59:03 tcp:*.*.*.*:port0 accepted tcp:*.*.*.*:port
2021/01/15 21:59:09 tcp:*.*.*.*:port5 accepted tcp:*.*.*.*:port
2021/01/15 21:59:25 tcp:*.*.*.*:port2 accepted tcp:*.*.*.*:port

2.客户端error

2021/01/15 21:50:24 [Info] [3965859072] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:50:25 [Info] [143461090] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:50:26 [Info] [3899269509] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:50:27 [Info] [990282495] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:52:24 [Info] [121966229] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:52:25 [Info] [135585368] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:52:26 [Info] [2699856468] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:52:27 [Info] [4003585841] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:53:44 [Info] [745169235] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:53:44 [Info] [745169235] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:53:44 [Info] [745169235] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:53:44 [Info] [745169235] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:53:45 [Info] [2465350314] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > write tcp *.*.*.*:port->*.*.*.*:port8: wsasend: An established connection was aborted by the software in your host machine.
2021/01/15 21:53:45 [Info] [2465350314] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:53:56 [Info] [2579228890] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:53:56 [Info] [2579228890] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:53:56 [Info] [2579228890] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:53:56 [Info] [2579228890] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:53:57 [Info] [745169235] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:53:57 [Info] [745169235] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:54:24 [Info] [1388031313] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:54:25 [Info] [2774152826] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:54:26 [Info] [3042560724] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:54:27 [Info] [2683311180] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:54:54 [Info] [2963254778] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:54:54 [Info] [2963254778] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:54:54 [Info] [2963254778] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:54:54 [Info] [2963254778] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:55:21 [Info] [2018528091] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:55:21 [Info] [2018528091] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:55:21 [Info] [2018528091] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:55:21 [Info] [2018528091] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:55:22 [Info] [2579228890] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > write tcp *.*.*.*:port->*.*.*.*:port6: wsasend: An established connection was aborted by the software in your host machine.
2021/01/15 21:55:22 [Info] [2579228890] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:55:34 [Info] [3991234494] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:55:34 [Info] [3991234494] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:55:34 [Info] [3991234494] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:55:34 [Info] [3991234494] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:55:35 [Info] [2018528091] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:55:35 [Info] [2018528091] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:56:01 [Info] [3524761469] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:01 [Info] [830772993] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:01 [Info] [4216607302] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:02 [Info] [2591567684] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:03 [Info] [1513325494] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:05 [Info] [791124348] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:07 [Info] [3893647368] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:24 [Info] [4268589318] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:25 [Info] [2695128436] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:26 [Info] [913329109] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:27 [Info] [1908993432] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 [Info] [3284990907] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 [Info] [1890248239] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:36 [Info] [2449808318] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:37 [Info] [2518585455] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:39 [Info] [1353439313] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:41 [Info] [3197416797] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:43 [Info] [3058044962] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:56:45 [Info] [2963254778] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:56:45 [Info] [2963254778] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:57:15 [Info] [3392246053] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:57:15 [Info] [3392246053] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:57:15 [Info] [3392246053] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:57:15 [Info] [3392246053] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:57:16 [Info] [3991234494] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > write tcp *.*.*.*:port->*.*.*.*:port3: wsasend: An established connection was aborted by the software in your host machine.
2021/01/15 21:57:16 [Info] [3991234494] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:57:23 [Info] [1331309109] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:57:23 [Info] [1331309109] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:57:23 [Info] [1331309109] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:57:23 [Info] [1331309109] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:57:24 [Info] [3392246053] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:57:24 [Info] [3392246053] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:57:26 [Info] [1385316003] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 [Info] [537412329] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 [Info] [1695367708] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:40 [Info] [3484495536] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:41 [Info] [3069050984] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:42 [Info] [1424203719] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:44 [Info] [993843044] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:57:46 [Info] [1147950190] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:58:24 [Info] [1589978792] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:58:25 [Info] [2725508351] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:58:26 [Info] [632402870] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:58:27 [Info] [1323213805] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/15 21:59:03 [Info] [948168496] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:59:03 [Info] [948168496] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:03 [Info] [948168496] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:59:04 [Info] [948168496] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:59:04 [Info] [1331309109] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:59:04 [Info] [1331309109] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:59:09 [Info] [1649765800] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:59:09 [Info] [1649765800] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:09 [Info] [1649765800] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:59:09 [Info] [1649765800] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:59:10 [Info] [948168496] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:59:10 [Info] [948168496] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:59:25 [Info] [2355312451] proxy/socks: TCP Connect request to tcp:*.*.*.*:port
2021/01/15 21:59:25 [Info] [2355312451] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:25 [Info] [2355312451] transport/internet/tcp: dialing TCP to tcp:client_ip:port
2021/01/15 21:59:25 [Info] [2355312451] proxy/trojan: tunneling request to tcp:*.*.*.*:port via tcp:client_ip:port
2021/01/15 21:59:27 [Info] [1649765800] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:59:27 [Info] [1649765800] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:59:31 [Info] [2355312451] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:59:31 [Info] [2518311154] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/15 21:59:31 [Info] [2518311154] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/15 21:59:31 [Info] [2355312451] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled

3.服务端access

2021/01/15 21:53:44 clientip*:port7 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:53:57 clientip*:port7 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:54:54 clientip*:port1 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:55:22 clientip*:port9 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:55:35 clientip*:port4 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:57:15 clientip*:port7 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:57:24 clientip*:port1 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:59:04 clientip*:port1 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:59:10 clientip*:port6 accepted tcp:*.*.*.*:port email: t@trojan
2021/01/15 21:59:25 clientip*:port3 accepted tcp:*.*.*.*:port email: t@trojan

4.服务端error

2021/01/15 21:53:44 [Info] [1556766824] proxy/trojan: firstLen = 68
2021/01/15 21:53:44 [Info] [1556766824] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:53:44 [Info] [1556766824] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:53:44 [Info] [1556766824] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:53:44 [Info] [1556766824] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:53:48 [Info] [1987763961] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:port->client_ip*:port9: write: broken pipe
2021/01/15 21:53:48 [Info] [1987763961] app/proxyman/inbound: failed to close connection > write tcp server_ip:port->client_ip*:port9: write: broken pipe
2021/01/15 21:53:48 [Info] [1987763961] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:53:57 [Info] [1456939233] proxy/trojan: firstLen = 68
2021/01/15 21:53:57 [Info] [1456939233] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:53:57 [Info] [1456939233] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:53:57 [Info] [1456939233] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:53:57 [Info] [1456939233] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:54:03 [Info] [1556766824] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:54:03 [Info] [1556766824] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/15 21:54:54 [Info] [4238177552] proxy/trojan: firstLen = 936
2021/01/15 21:54:54 [Info] [4238177552] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:54:54 [Info] [4238177552] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:54:54 [Info] [4238177552] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:54:54 [Info] [4238177552] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:55:22 [Info] [1135329238] proxy/trojan: firstLen = 68
2021/01/15 21:55:22 [Info] [1135329238] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:55:22 [Info] [1135329238] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:55:22 [Info] [1135329238] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:55:22 [Info] [1135329238] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:55:22 [Info] [1456939233] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:port->client_ip*:port7: write: broken pipe
2021/01/15 21:55:22 [Info] [1456939233] app/proxyman/inbound: failed to close connection > write tcp server_ip:port->client_ip*:port7: write: broken pipe
2021/01/15 21:55:22 [Info] [1456939233] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:55:35 [Info] [2722497152] proxy/trojan: firstLen = 68
2021/01/15 21:55:35 [Info] [2722497152] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:55:35 [Info] [2722497152] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:55:35 [Info] [2722497152] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:55:35 [Info] [2722497152] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:55:40 [Info] [1135329238] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > context canceled
2021/01/15 21:55:40 [Info] [1135329238] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:56:50 [Info] [4238177552] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > context canceled
2021/01/15 21:56:50 [Info] [4238177552] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:57:15 [Info] [320515093] proxy/trojan: firstLen = 68
2021/01/15 21:57:15 [Info] [320515093] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:57:15 [Info] [320515093] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:57:15 [Info] [320515093] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:57:15 [Info] [320515093] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:57:17 [Info] [2722497152] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:port->client_ip*:port4: write: broken pipe
2021/01/15 21:57:17 [Info] [2722497152] app/proxyman/inbound: failed to close connection > write tcp server_ip:port->client_ip*:port4: write: broken pipe
2021/01/15 21:57:17 [Info] [2722497152] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:57:24 [Info] [3944426347] proxy/trojan: firstLen = 68
2021/01/15 21:57:24 [Info] [3944426347] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:57:24 [Info] [3944426347] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:57:24 [Info] [3944426347] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:57:24 [Info] [3944426347] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:57:35 [Info] [320515093] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:57:35 [Info] [320515093] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > context canceled
2021/01/15 21:57:35 [Info] [320515093] app/proxyman/inbound: failed to close connection > write tcp server_ip:port->client_ip*:port7: write: broken pipe
2021/01/15 21:59:04 [Info] [3374058694] proxy/trojan: firstLen = 68
2021/01/15 21:59:04 [Info] [3374058694] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:59:04 [Info] [3374058694] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:04 [Info] [3374058694] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:59:04 [Info] [3374058694] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:59:10 [Info] [3944426347] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:59:10 [Info] [3944426347] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/15 21:59:10 [Info] [434917655] proxy/trojan: firstLen = 68
2021/01/15 21:59:10 [Info] [434917655] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:59:10 [Info] [434917655] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:10 [Info] [434917655] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:59:10 [Info] [434917655] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
2021/01/15 21:59:15 [Info] [3374058694] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/15 21:59:15 [Info] [3374058694] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/15 21:59:25 [Info] [3683757455] proxy/trojan: firstLen = 389
2021/01/15 21:59:25 [Info] [3683757455] proxy/trojan: received request for tcp:*.*.*.*:port
2021/01/15 21:59:25 [Info] [3683757455] app/dispatcher: default route for tcp:*.*.*.*:port
2021/01/15 21:59:25 [Info] [3683757455] proxy/freedom: opening connection to tcp:*.*.*.*:port
2021/01/15 21:59:25 [Info] [3683757455] transport/internet/tcp: dialing TCP to tcp:*.*.*.*:port
RPRX commented 3 years ago

会不会是线路问题

RPRX commented 3 years ago

非 firstLen = 68 时掉线是偶然还是?

feileb commented 3 years ago

会不会是线路问题 同样线路用原版trojan一直没问题

非 firstLen = 68 时掉线是偶然还是? 昨天出现两次好像都是这个打印,之前没有开过debug输出

RPRX commented 3 years ago

非 firstLen = 68 代表客户端先发数据,可能切换角色时就是这样

需要更多日志以对比:切换时不掉线的日志和切换时掉线的日志

feileb commented 3 years ago

刚才用别人账号回了,尴尬。 最近比较忙,这几天没法测试,能否提供一个测试版本打印更多的调试信息,目前的版本感觉出问题的时候信息有点少

RPRX commented 3 years ago

分别替换服务端、客户端为原版,以便确定是哪一端的问题

feileb commented 3 years ago

最近没时间上,今天中午抽空试了两种情况,服务器xray,客户端trojan;服务器trojan,客户端xray,分别切换了十次都没有掉线。 周末有时间玩的话,在游戏中切换再试试。

feileb commented 3 years ago

今天中午找了个朋友试了下,出现了问题,服务器是xray 1.2.3版本,客户端是trojan 1.16,半小时出现了三次掉线 只有服务端日志,根据日志看每次出现问题都有下面这个错误

failed to close connection > write tcp server_ip:server_port->client_ip:2640: write: broken pipe

但是不是每次有这个都会掉线(例如:2021/01/26 12:59:37),可能在游戏中没有问题,如果正好在切换人物就会掉线。

第一次:2021/01/26 12:38:02

2021/01/26 12:38:02 [Info] [2277904665] proxy/trojan: firstLen = 68
2021/01/26 12:38:02 [Info] [2277904665] proxy/trojan: received request for tcp:202.80.104.24:8484
2021/01/26 12:38:02 [Info] [2277904665] app/dispatcher: default route for tcp:202.80.104.24:8484
2021/01/26 12:38:02 [Info] [2277904665] proxy/freedom: opening connection to tcp:202.80.104.24:8484
2021/01/26 12:38:02 [Info] [2277904665] transport/internet/tcp: dialing TCP to tcp:202.80.104.24:8484
2021/01/26 12:38:02 [Info] [1941119005] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:server_port->client_ip:2640: write: broken pipe
2021/01/26 12:38:02 [Info] [1941119005] app/proxyman/inbound: failed to close connection > write tcp server_ip:server_port->client_ip:2640: write: broken pipe
2021/01/26 12:38:02 [Info] [1941119005] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:38:07 [Info] [3184061076] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:38:07 [Info] [3184061076] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 12:38:09 [Info] [4156212718] app/proxyman/inbound: connection ends > proxy/trojan: failed to read first request > EOF
2021/01/26 12:38:20 [Info] [2277904665] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:38:20 [Info] [2277904665] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 12:39:09 [Info] [3651480167] app/proxyman/inbound: connection ends > proxy/trojan: failed to read first request > EOF
2021/01/26 12:39:22 [Info] [188914336] proxy/trojan: firstLen = 68
2021/01/26 12:39:22 [Info] [188914336] proxy/trojan: received request for tcp:202.80.104.29:8484
2021/01/26 12:39:22 [Info] [188914336] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 12:39:22 [Info] [188914336] proxy/freedom: opening connection to tcp:202.80.104.29:8484
2021/01/26 12:39:22 [Info] [188914336] transport/internet/tcp: dialing TCP to tcp:202.80.104.29:8484

第二次:2021/01/26 13:00:03

2021/01/26 12:59:37 [Info] [3491056504] proxy/trojan: firstLen = 68
2021/01/26 12:59:37 [Info] [3491056504] proxy/trojan: received request for tcp:202.80.104.27:8484
2021/01/26 12:59:37 [Info] [3491056504] app/dispatcher: default route for tcp:202.80.104.27:8484
2021/01/26 12:59:37 [Info] [3491056504] proxy/freedom: opening connection to tcp:202.80.104.27:8484
2021/01/26 12:59:37 [Info] [3491056504] transport/internet/tcp: dialing TCP to tcp:202.80.104.27:8484
2021/01/26 12:59:37 [Info] [3704912752] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:server_port->client_ip:20091: write: broken pipe
2021/01/26 12:59:37 [Info] [3704912752] app/proxyman/inbound: failed to close connection > write tcp server_ip:server_port->client_ip:20091: write: broken pipe
2021/01/26 12:59:37 [Info] [3704912752] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:59:42 [Info] [1379282223] proxy/trojan: firstLen = 1027
2021/01/26 12:59:42 [Info] [1379282223] proxy/trojan: received request for tcp:112.121.124.11:80
2021/01/26 12:59:42 [Info] [1379282223] app/dispatcher: default route for tcp:112.121.124.11:80
2021/01/26 12:59:42 [Info] [1379282223] proxy/freedom: opening connection to tcp:112.121.124.11:80
2021/01/26 12:59:42 [Info] [1379282223] transport/internet/tcp: dialing TCP to tcp:112.121.124.11:80
2021/01/26 12:59:44 [Info] [3753758785] proxy/trojan: firstLen = 68
2021/01/26 12:59:44 [Info] [3753758785] proxy/trojan: received request for tcp:202.80.104.77:8585
2021/01/26 12:59:44 [Info] [3753758785] app/dispatcher: default route for tcp:202.80.104.77:8585
2021/01/26 12:59:44 [Info] [3753758785] proxy/freedom: opening connection to tcp:202.80.104.77:8585
2021/01/26 12:59:44 [Info] [3753758785] transport/internet/tcp: dialing TCP to tcp:202.80.104.77:8585
2021/01/26 12:59:54 [Info] [3491056504] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:59:54 [Info] [3491056504] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 12:59:58 [Info] [1741939950] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 12:59:58 [Info] [1741939950] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:03 [Info] [4273828402] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:25618->202.80.107.11:443: read: connection reset by peer
2021/01/26 13:00:03 [Info] [4273828402] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [3212535243] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:16268->210.208.81.195:443: read: connection reset by peer
2021/01/26 13:00:09 [Info] [3482777843] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:16264->210.208.81.195:443: read: connection reset by peer
2021/01/26 13:00:09 [Info] [3212535243] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [3482777843] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [1685786719] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:16270->210.208.81.195:443: read: connection reset by peer
2021/01/26 13:00:09 [Info] [3355582480] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:16272->210.208.81.195:443: read: connection reset by peer
2021/01/26 13:00:09 [Info] [720627670] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > proxy/freedom: failed to process response > read tcp server_ip:16266->210.208.81.195:443: read: connection reset by peer
2021/01/26 13:00:09 [Info] [1685786719] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [3355582480] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [720627670] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:00:09 [Info] [235377498] app/proxyman/inbound: connection ends > proxy/trojan: failed to read first request > EOF
2021/01/26 13:00:29 [Info] [1599463060] proxy/trojan: firstLen = 68
2021/01/26 13:00:29 [Info] [1599463060] proxy/trojan: received request for tcp:202.80.104.27:8484
2021/01/26 13:00:29 [Info] [1599463060] app/dispatcher: default route for tcp:202.80.104.27:8484
2021/01/26 13:00:29 [Info] [1599463060] proxy/freedom: opening connection to tcp:202.80.104.27:8484
2021/01/26 13:00:29 [Info] [1599463060] transport/internet/tcp: dialing TCP to tcp:202.80.104.27:8484
2021/01/26 13:00:32 [Info] [2679255602] proxy/trojan: firstLen = 68
2021/01/26 13:00:32 [Info] [2679255602] proxy/trojan: received request for tcp:202.80.104.27:8484
2021/01/26 13:00:32 [Info] [2679255602] app/dispatcher: default route for tcp:202.80.104.27:8484
2021/01/26 13:00:32 [Info] [2679255602] proxy/freedom: opening connection to tcp:202.80.104.27:8484
2021/01/26 13:00:32 [Info] [2679255602] transport/internet/tcp: dialing TCP to tcp:202.80.104.27:8484

第三次:2021/01/26 13:01:37

2021/01/26 13:01:33 [Info] [1642215492] proxy/trojan: received request for tcp:202.80.104.28:8484
2021/01/26 13:01:33 [Info] [1642215492] app/dispatcher: default route for tcp:202.80.104.28:8484
2021/01/26 13:01:33 [Info] [1642215492] proxy/freedom: opening connection to tcp:202.80.104.28:8484
2021/01/26 13:01:33 [Info] [1642215492] transport/internet/tcp: dialing TCP to tcp:202.80.104.28:8484
2021/01/26 13:01:34 [Info] [424918946] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:34 [Debug] [424918946] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:35 [Info] [424918946] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:35 [Debug] [424918946] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:36 [Info] [424918946] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:36 [Debug] [424918946] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:36 [Info] [3078980686] proxy/trojan: firstLen = 68
2021/01/26 13:01:36 [Info] [3078980686] proxy/trojan: received request for tcp:202.80.104.28:8484
2021/01/26 13:01:36 [Info] [3078980686] app/dispatcher: default route for tcp:202.80.104.28:8484
2021/01/26 13:01:36 [Info] [3078980686] proxy/freedom: opening connection to tcp:202.80.104.28:8484
2021/01/26 13:01:36 [Info] [3078980686] transport/internet/tcp: dialing TCP to tcp:202.80.104.28:8484
2021/01/26 13:01:37 [Info] [3422748551] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > write tcp server_ip:server_port->client_ip:2683: write: broken pipe
2021/01/26 13:01:37 [Info] [3422748551] app/proxyman/inbound: failed to close connection > write tcp server_ip:server_port->client_ip:2683: write: broken pipe
2021/01/26 13:01:37 [Info] [3422748551] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 13:01:37 [Info] [1379282223] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > context canceled
2021/01/26 13:01:37 [Info] [1379282223] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 13:01:46 [Info] [1642215492] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 13:01:46 [Info] [1642215492] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:01:55 [Info] [3078980686] app/proxyman/outbound: failed to process outbound traffic > proxy/freedom: connection ends > context canceled
2021/01/26 13:01:55 [Info] [3078980686] app/proxyman/inbound: connection ends > proxy/trojan: connection ends > proxy/trojan: failed to write response > io: read/write on closed pipe
2021/01/26 13:01:57 [Info] [3459439723] proxy/trojan: firstLen = 589
2021/01/26 13:01:57 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:57 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] transport/internet/udp: establishing new connection for udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] [3459439723] app/dispatcher: default route for udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] [3459439723] proxy/freedom: opening connection to udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:57 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:57 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:57 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:57 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:58 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:58 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:58 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:58 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:58 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
2021/01/26 13:01:58 [Debug] [3459439723] transport/internet/udp: dispatch request to: udp:239.255.255.250:1900
2021/01/26 13:01:59 [Info] [3459439723] proxy/trojan: tunnelling request to udp:239.255.255.250:1900
feileb commented 3 years ago

更新交换服务端和客户端的一条掉线记录: 服务端原版trojan,客户端xray 1.2.3,玩了应该有2小时,准备睡觉的时候掉了 客户端日志:

2021/01/26 23:51:07 [Info] [1428667020] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:15 [Info] [3020659595] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:19 [Info] [1875123777] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > read tcp client_ip:14284->server_ip:443: wsarecv: An established connection was aborted by the software in your host machine.
2021/01/26 23:51:19 [Info] [1875123777] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2021/01/26 23:51:24 [Info] [2721812127] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:47 [Info] [2959761645] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.

服务端日志:

Jan 26 23:50:16 rootsrv trojan[14112]: [2021-01-26 23:50:16] [INFO] client_ip:6385 authenticated as password
Jan 26 23:50:16 rootsrv trojan[14112]: [2021-01-26 23:50:16] [INFO] client_ip:6385 requested connection to 202.80.104.29:8484
Jan 26 23:50:19 rootsrv trojan[14112]: [2021-01-26 23:50:19] [INFO] client_ip:6386 authenticated as password
Jan 26 23:50:19 rootsrv trojan[14112]: [2021-01-26 23:50:19] [INFO] client_ip:6386 requested connection to 202.80.104.29:8484
Jan 26 23:50:19 rootsrv trojan[14112]: [2021-01-26 23:50:19] [INFO] client_ip:6383 disconnected, 248495 bytes received, 3795 bytes sent
Jan 26 23:50:19 rootsrv trojan[14112]: [2021-01-26 23:50:19] [INFO] client_ip:6385 disconnected, 5235 bytes received, 653 bytes sent, l
Jan 26 23:50:27 rootsrv trojan[14112]: [2021-01-26 23:50:27] [INFO] client_ip:6386 disconnected, 257 bytes received, 262 bytes sent, la
Jan 26 23:51:10 rootsrv trojan[14112]: [2021-01-26 23:51:10] [ERROR] client_ip:27866 SSL handshake failed: stream truncated
Jan 26 23:51:10 rootsrv trojan[14112]: [2021-01-26 23:51:10] [INFO] client_ip:27866 disconnected, 0 bytes received, 0 bytes sent, laste
Jan 26 23:51:55 rootsrv trojan[14112]: [2021-01-26 23:51:55] [INFO] client_ip:6384 disconnected, 349 bytes received, 959 bytes sent, la
Jan 26 23:51:55 rootsrv trojan[14112]: [2021-01-26 23:51:55] [INFO] client_ip:4507 disconnected, 101670 bytes received, 71188 bytes sen
Jan 26 23:52:10 rootsrv trojan[14112]: [2021-01-26 23:52:10] [ERROR] client_ip:27864 SSL handshake failed: stream truncated
RPRX commented 3 years ago

这个。。。确定不是网络问题吗

feileb commented 3 years ago

可以确定和网络无关,因为3个月以来一直使用原版trojan,从来没出过类似问题 用过vmess,vless和xray的trojan,必出类似问题。

70599 commented 3 years ago

为什么可以确定不是三个月来网络没有问题,最近网络出问题了? 建议在同一时段交叉排查各种协议

RPRX commented 3 years ago

麻烦看一下 [1875123777] 出错之前的日志

feileb commented 3 years ago

为什么可以确定不是三个月来网络没有问题,最近网络出问题了? 建议在同一时段交叉排查各种协议

一直都是在切换协议测试,不会说切换到vmess掉线后还一直用vmess,大部分时间都是用trojan vmess/vless等协议玩个一两个小时掉了好几次,换了trojan不会掉线,直到下次再换协议测试 只有一个可能:只要不用trojan,网络就出问题了

feileb commented 3 years ago

日志里面有[1875123777]的有两段: 第一段

2021/01/26 22:05:01 [Info] [1100215046] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:01 [Info] [228327085] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:01 [Info] [1815174640] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:02 [Info] [1639281516] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:02 [Info] [2388830862] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:04 [Info] [3357037968] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:15 [Info] [3650795046] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:19 [Info] [3382296938] proxy/socks: TCP Connect request to tcp:112.121.124.11:443
2021/01/26 22:05:19 [Info] [3382296938] app/dispatcher: default route for tcp:112.121.124.11:443
2021/01/26 22:05:19 [Info] [3382296938] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:05:19 [Info] [3382296938] proxy/trojan: tunneling request to tcp:112.121.124.11:443 via tcp:server_ip:server_port
2021/01/26 22:05:23 [Info] [1016424484] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:05:33 [Info] [728026527] proxy/socks: TCP Connect request to tcp:112.121.124.13:80
2021/01/26 22:05:33 [Info] [728026527] app/dispatcher: default route for tcp:112.121.124.13:80
2021/01/26 22:05:33 [Info] [728026527] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:05:33 [Info] [728026527] proxy/trojan: tunneling request to tcp:112.121.124.13:80 via tcp:server_ip:server_port
2021/01/26 22:05:43 [Info] [2997648464] proxy/socks: TCP Connect request to tcp:112.121.124.11:80
2021/01/26 22:05:43 [Info] [2997648464] app/dispatcher: default route for tcp:112.121.124.11:80
2021/01/26 22:05:43 [Info] [2997648464] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:05:43 [Info] [2997648464] proxy/trojan: tunneling request to tcp:112.121.124.11:80 via tcp:server_ip:server_port
2021/01/26 22:05:44 [Info] [1875123777] proxy/socks: TCP Connect request to tcp:112.121.124.11:80
2021/01/26 22:05:44 [Info] [1875123777] app/dispatcher: default route for tcp:112.121.124.11:80
2021/01/26 22:05:44 [Info] [1875123777] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:05:44 [Info] [1875123777] proxy/trojan: tunneling request to tcp:112.121.124.11:80 via tcp:server_ip:server_port
2021/01/26 22:05:47 [Info] [3365898803] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:03 [Info] [1370977947] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:03 [Info] [2320841868] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:03 [Info] [2250619390] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:04 [Info] [1576467951] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:04 [Info] [3370480701] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:04 [Info] [1787120830] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:05 [Info] [3949624043] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:15 [Info] [2841067037] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 22:06:15 [Info] [2841067037] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 22:06:15 [Info] [2841067037] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:06:15 [Info] [2841067037] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 22:06:15 [Info] [3687128802] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 22:06:15 [Info] [3687128802] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 22:06:15 [Info] [3687128802] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 22:06:16 [Info] [3687128802] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 22:06:17 [Info] [2841067037] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 22:06:17 [Info] [2841067037] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 22:06:45 [Info] [806961838] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:06:51 [Info] [1857600860] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 22:07:01 [Info] [3382296938] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 22:07:01 [Info] [3382296938] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 22:07:14 [Info] [728026527] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 22:07:14 [Info] [728026527] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 22:07:34 [Info] [2997648464] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 22:07:34 [Info] [2997648464] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled

第二段

2021/01/26 23:48:24 [Info] [794303737] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:24 [Info] [2004990647] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:25 [Info] [3989563824] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:25 [Info] [1521428813] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:25 [Info] [2114115389] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:26 [Info] [4256547935] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:26 [Info] [1505459046] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:26 [Info] [89144220] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:26 [Info] [3319460066] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:26 [Info] [80618965] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:48:28 [Info] [1420648272] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 23:48:28 [Info] [1420648272] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 23:48:28 [Info] [1420648272] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:48:29 [Info] [1420648272] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 23:48:30 [Info] [2481681609] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:48:30 [Info] [2481681609] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:48:40 [Info] [84360578] proxy/socks: TCP Connect request to tcp:202.80.104.68:8585
2021/01/26 23:48:40 [Info] [84360578] app/dispatcher: default route for tcp:202.80.104.68:8585
2021/01/26 23:48:40 [Info] [84360578] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:48:40 [Info] [84360578] proxy/trojan: tunneling request to tcp:202.80.104.68:8585 via tcp:server_ip:server_port
2021/01/26 23:48:41 [Info] [1420648272] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:48:41 [Info] [1420648272] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:49:03 [Info] [3618527196] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 23:49:03 [Info] [3618527196] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 23:49:03 [Info] [3618527196] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:49:03 [Info] [3618527196] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 23:49:03 [Info] [84360578] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > write tcp 127.0.0.1:1105->127.0.0.1:2207: wsasend: An established connection was aborted by the software in your host machine.
2021/01/26 23:49:03 [Info] [84360578] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:49:12 [Info] [3670486826] proxy/socks: TCP Connect request to tcp:202.80.104.68:8585
2021/01/26 23:49:12 [Info] [3670486826] app/dispatcher: default route for tcp:202.80.104.68:8585
2021/01/26 23:49:12 [Info] [3670486826] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:49:12 [Info] [3670486826] proxy/trojan: tunneling request to tcp:202.80.104.68:8585 via tcp:server_ip:server_port
2021/01/26 23:49:13 [Info] [3618527196] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:49:13 [Info] [3618527196] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:49:42 [Info] [166447429] proxy/socks: TCP Connect request to tcp:112.121.124.11:80
2021/01/26 23:49:42 [Info] [166447429] app/dispatcher: default route for tcp:112.121.124.11:80
2021/01/26 23:49:42 [Info] [166447429] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:49:42 [Info] [166447429] proxy/trojan: tunneling request to tcp:112.121.124.11:80 via tcp:server_ip:server_port
2021/01/26 23:50:12 [Info] [1250800212] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 23:50:12 [Info] [1250800212] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 23:50:12 [Info] [1250800212] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:50:12 [Info] [1250800212] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 23:50:14 [Info] [2792445873] proxy/socks: TCP Connect request to tcp:202.80.104.29:8484
2021/01/26 23:50:14 [Info] [2792445873] app/dispatcher: default route for tcp:202.80.104.29:8484
2021/01/26 23:50:14 [Info] [2792445873] transport/internet/tcp: dialing TCP to tcp:server_ip:server_port
2021/01/26 23:50:14 [Info] [2792445873] proxy/trojan: tunneling request to tcp:202.80.104.29:8484 via tcp:server_ip:server_port
2021/01/26 23:50:15 [Info] [3670486826] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > write tcp 127.0.0.1:1105->127.0.0.1:2225: wsasend: An established connection was aborted by the software in your host machine.
2021/01/26 23:50:15 [Info] [3670486826] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:50:15 [Info] [1250800212] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:50:15 [Info] [1250800212] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:50:23 [Info] [2792445873] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:50:23 [Info] [2792445873] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:50:36 [Info] [1125693345] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [1952062526] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [358677010] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [629161191] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [3486805245] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [3478747853] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [4167854427] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [1085545666] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [1175251439] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [3336577624] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:36 [Info] [1394564800] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [166447429] app/proxyman/inbound: connection ends > proxy/socks: connection ends > context canceled
2021/01/26 23:50:37 [Info] [166447429] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > context canceled
2021/01/26 23:50:37 [Info] [3341953298] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [3803763171] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [4012873411] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [2502401923] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [1699449157] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [2612729533] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [62135062] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [1874140985] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [1700422332] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [3088076554] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [2799938528] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [3671317325] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [1596251922] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [3202232326] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [4173851405] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [389819788] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:37 [Info] [1373520584] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3310266182] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3159212806] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [2729085692] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3146644732] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3047026125] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [2204800184] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3412696918] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [2785563877] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3247433901] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3378739149] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [2840741025] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [378644561] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [2535273423] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:38 [Info] [3172961449] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [1689688521] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [3158918943] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [4255074092] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [3309242027] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [315111906] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [1378665044] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:39 [Info] [3133477117] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [2905748934] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [1524629366] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [2697649459] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [1691357512] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [465199949] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [470756408] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:40 [Info] [3078729713] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:41 [Info] [3609725534] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:41 [Info] [160100653] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:42 [Info] [3165894987] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:42 [Info] [3296627850] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:42 [Info] [1998516506] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:43 [Info] [2112989455] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:43 [Info] [3852797935] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:43 [Info] [4742673] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:43 [Info] [1470453488] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:43 [Info] [3631599917] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [979405846] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3414775893] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [4236148216] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [1580058967] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [1615162355] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3042429109] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [2960050741] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [417068766] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3229928864] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [70339831] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [1704185869] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [960009412] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3165814492] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3762750546] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3787190303] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3793772938] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [1414107275] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3785270122] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [2779206234] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [3427420652] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:44 [Info] [2514440745] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:45 [Info] [2972468393] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2603412080] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [4164460354] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2730543336] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [1800744004] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2637689968] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [320686884] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [902480211] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2292383263] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [109576070] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [989268873] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2499308606] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [3953848603] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [3188232261] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2972356154] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [1276593783] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:46 [Info] [2653591046] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [389243916] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [577395618] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [2892206674] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [81931925] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [1798520749] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [809620633] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [4188037128] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:47 [Info] [3323860153] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [547562762] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [3542062287] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [3394421833] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [1881352705] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [1719287016] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [3948473942] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:48 [Info] [2801349602] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [995169269] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [3665383744] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [4017798209] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [1137917034] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [2609095822] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:49 [Info] [3198062700] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:50 [Info] [1870041497] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:51 [Info] [3974532663] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:51 [Info] [85399919] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:57 [Info] [1293388998] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:50:59 [Info] [1968525322] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:06 [Info] [3337931604] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:06 [Info] [2248456751] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:06 [Info] [1084103143] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:06 [Info] [2247383626] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:06 [Info] [3525137109] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:07 [Info] [3511766733] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:07 [Info] [1428667020] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:15 [Info] [3020659595] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:19 [Info] [1875123777] app/proxyman/outbound: failed to process outbound traffic > proxy/trojan: connection ends > read tcp client_ip:14284->server_ip:server_port: wsarecv: An established connection was aborted by the software in your host machine.
2021/01/26 23:51:19 [Info] [1875123777] app/proxyman/inbound: connection ends > proxy/socks: connection ends > proxy/socks: failed to transport all TCP response > io: read/write on closed pipe
2021/01/26 23:51:24 [Info] [2721812127] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:51:47 [Info] [2959761645] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:08 [Info] [1049440685] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:08 [Info] [2217738678] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:08 [Info] [1486529170] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:09 [Info] [2460853859] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:09 [Info] [1853905093] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:09 [Info] [3618952541] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
2021/01/26 23:52:10 [Info] [285039790] app/proxyman/inbound: connection ends > proxy/socks: failed to read request > proxy/socks: UDP is not enabled.
feileb commented 3 years ago

最近一周都是用客户端xray连trojan服务端,偶尔会出问题,但是概率不高。个人感觉xray的trojan服务端出问题概率比较高

Comah commented 3 years ago

服务端装的是xray 客户端用trojan现实的是nat1 其他v系的是nat2 丢包率0-5% 但是ping值一直很不稳定

feileb commented 3 years ago

trojan,vless,vmess都有问题,有没有可能是依赖库的问题,如果有办法定位,我可以继续测试

RPRX commented 3 years ago

@Comah

Netch 的话需要勾选 FullCone

@feileb

你这个是 TCP 的问题,目前没有思路,代码看起来正常

RPRX commented 3 years ago

@feileb

对了,你这个游戏比较神奇,目前看起来切换账号时是客户端先发数据,其它时候是 TCP 建立连接后服务端先发数据

feileb commented 3 years ago

好的,如果有新方案需要测试可以at我,游戏一直没什么时间玩,但是可以测试。

Comah commented 3 years ago

@Comah

Netch 的话需要勾选 FullCone

@feileb

你这个是 TCP 的问题,目前没有思路,代码看起来正常

是的,旧版本的netch没有fullcone选项,更新了最新版本之后就有fullcone选项了 打开fullcone之后 vless直接显示nat1 然后用updspeeder串联 ping降低到正常了 也不丢包了 1.30真的是一个里程碑👍 test game:WarThunder us\eu vps location:US.LA