p4gefau1t / trojan-go

Go实现的Trojan代理,支持多路复用/路由功能/CDN中转/Shadowsocks混淆插件,多平台,无依赖。A Trojan proxy written in Go. An unidentifiable mechanism that helps you bypass GFW. https://p4gefau1t.github.io/trojan-go/
GNU General Public License v3.0
7.78k stars 1.68k forks source link

服务器出现奇怪的信息。然后客户端是不能正常使用。[BUG] #396

Open 142857X1 opened 3 years ago

142857X1 commented 3 years ago

客户端pc使用trojan qt5是可以正常使用 以下是使用trojan go plugin sagernet后出现的奇怪消息

传输协议websocket 加密shadowsocks

Stopping trojan-go... Stopped trojan-go. Started trojan-go. [INFO] 2021/10/26 03:47:35 trojan-go v0.10.6 initializing [WARN] 2021/10/26 03:47:35 empty tls fallback port [WARN] 2021/10/26 03:47:35 empty tls http response [INFO] 2021/10/26 03:47:35 buffered data has been written into the database [INFO] 2021/10/26 03:47:35 buffered data has been written into the database [INFO] 2021/10/26 03:47:37 tcp connection from 123.123.123.123:40822 [INFO] 2021/10/26 03:47:37 tcp connection from 123.123.123.123:40828 [INFO] 2021/10/26 03:47:37 tcp connection from 123.123.123.123:41000 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:40822 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:40828 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:41000 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:41926 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:41936 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:41946 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:41926 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:41946 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:41936 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43762 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43822 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43824 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43826 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43832 [INFO] 2021/10/26 03:47:38 tcp connection from 123.123.123.123:43836 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43762 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43822 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43826 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43824 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43832 [INFO] 2021/10/26 03:47:38 tls connection from 123.123.123.123:43836 [INFO] 2021/10/26 03:47:39 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:40828 tunneling to metrics1.data.hicloud.com:6447 closed sent: 3.69 KiB recv: 3.89 KiB [INFO] 2021/10/26 03:47:39 tcp connection from 123.123.123.123:47456 [INFO] 2021/10/26 03:47:39 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:41000 tunneling to 1.0.0.1:443 closed sent: 3.06 KiB recv: 261 B [INFO] 2021/10/26 03:47:39 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:40822 tunneling to 1.0.0.1:443 closed sent: 7.12 KiB recv: 1.57 KiB [INFO] 2021/10/26 03:47:39 tls connection from 123.123.123.123:47456 [INFO] 2021/10/26 03:47:39 tcp connection from 123.123.123.123:47812 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:47812 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:48974 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:48974 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:50312 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:50336 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:50390 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:50454 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:51202 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:51206 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:50312 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:50336 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:50390 [INFO] 2021/10/26 03:47:40 tcp connection from 123.123.123.123:51322 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:50454 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:51202 [INFO] 2021/10/26 03:47:40 tls connection from 123.123.123.123:51206 [INFO] 2021/10/26 03:47:40 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43762 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:41 tls connection from 123.123.123.123:51322 [INFO] 2021/10/26 03:47:41 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43822 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:41 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43824 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:41 tcp connection from 123.123.123.123:53946 [INFO] 2021/10/26 03:47:42 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43826 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:42 tls connection from 123.123.123.123:53946 [INFO] 2021/10/26 03:47:42 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43832 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:42 tcp connection from 123.123.123.123:55746 [INFO] 2021/10/26 03:47:42 tcp connection from 123.123.123.123:55838 [INFO] 2021/10/26 03:47:42 tcp connection from 123.123.123.123:56176 [INFO] 2021/10/26 03:47:42 tls connection from 123.123.123.123:55746 [INFO] 2021/10/26 03:47:42 tls connection from 123.123.123.123:55838 [INFO] 2021/10/26 03:47:42 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:43836 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:42 tls connection from 123.123.123.123:56176 [INFO] 2021/10/26 03:47:43 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:47456 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:43 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:41936 tunneling to imap.163.com:993 closed sent: 4.45 KiB recv: 645 B [INFO] 2021/10/26 03:47:43 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:41946 tunneling to imap.163.com:993 closed sent: 4.62 KiB recv: 655 B [INFO] 2021/10/26 03:47:43 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:41926 tunneling to imap.163.com:993 closed sent: 4.78 KiB recv: 682 B [INFO] 2021/10/26 03:47:43 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:47812 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:43 tcp connection from 123.123.123.123:59206 [INFO] 2021/10/26 03:47:44 tls connection from 123.123.123.123:59206 [INFO] 2021/10/26 03:47:44 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:50312 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:44 tcp connection from 123.123.123.123:61664 [INFO] 2021/10/26 03:47:44 tcp connection from 123.123.123.123:61680 [INFO] 2021/10/26 03:47:44 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:50336 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:44 tcp connection from 123.123.123.123:61796 [INFO] 2021/10/26 03:47:44 tls connection from 123.123.123.123:61664 [INFO] 2021/10/26 03:47:44 tls connection from 123.123.123.123:61680 [INFO] 2021/10/26 03:47:44 tls connection from 123.123.123.123:61796 [ERROR] 2021/10/26 03:47:44 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayPacketLoop.func1.1:proxy.go:141 failed to parse udp packet addr | unable to read ATYP | EOF [INFO] 2021/10/26 03:47:44 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:50390 tunneling to UDP_CONN:0 closed sent: 0 B recv: 3.99 KiB [INFO] 2021/10/26 03:47:45 tcp connection from 123.123.123.123:62430 [INFO] 2021/10/26 03:47:45 tls connection from 123.123.123.123:62430 [INFO] 2021/10/26 03:47:45 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:50454 tunneling to clients4.google.com:443 closed sent: 0 B recv: 517 B [INFO] 2021/10/26 03:47:45 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:51202 tunneling to beacons.gcp.gvt2.com:443 closed sent: 0 B recv: 517 B [INFO] 2021/10/26 03:47:45 tcp connection from 123.123.123.123:9470 [INFO] 2021/10/26 03:47:46 tls connection from 123.123.123.123:9470 [INFO] 2021/10/26 03:47:46 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:51206 tunneling to beacons.gcp.gvt2.com:443 closed sent: 0 B recv: 517 B [INFO] 2021/10/26 03:47:46 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:51322 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:46 tcp connection from 123.123.123.123:11624 [INFO] 2021/10/26 03:47:46 tcp connection from 123.123.123.123:11636 [INFO] 2021/10/26 03:47:46 tls connection from 123.123.123.123:11624 [INFO] 2021/10/26 03:47:46 tls connection from 123.123.123.123:11636 [INFO] 2021/10/26 03:47:46 tcp connection from 123.123.123.123:12224 [INFO] 2021/10/26 03:47:47 tls connection from 123.123.123.123:12224 [INFO] 2021/10/26 03:47:47 user 2739707e1188b36b4c896f816c05d7352d01c0f69e46225b3d06f403 from 123.123.123.123:53946 tunneling to 1.0.0.1:443 closed sent: 0 B recv: 261 B [INFO] 2021/10/26 03:47:47 tcp connection from 123.123.123.123:12890

我们建议您按照下方模板填写 Bug Report,以便我们收集更多的有效信息

简单描述这个 Bug

如何复现这个 Bug

在此描述复现这个Bug所需要的操作步骤

服务器和客户端环境信息

在此描述你的服务器和客户端所处的网络环境,系统架构,以及其他信息

服务端和客户端日志

粘贴故障发生时,服务端和客户端日志

服务端和客户端配置文件

可以复现该问题的客户端和服务端的完整配置(请隐去域名和IP等隐私信息)

服务端和客户端版本信息

请执行./trojan-go -version并将输出完整粘贴在此处

其他信息

你认为对我们修复bug有帮助的任何信息都可以在这里写出来

142857X1 commented 3 years ago

对了我qt5的连接是跳过证书验证的。。跟这个有关系?

142857X1 commented 3 years ago

补充一下,是shadowsocks aead有关,取消这个加密可以正常工作