Giter VIP home page Giter VIP logo

Comments (10)

p4gefau1t avatar p4gefau1t commented on May 17, 2024

trojan-go本身是支持tproxy的,但是这种故障的情况没有遇到过。请提供一下故障发生时,客户端和服务端的log_level为0的日志。

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

这次测试客户端和服务端版本都是v0.6.0,为了测试方便,用iptables规则把所有tcp和udp流量都转向了trojan透明代理(nat),测试方法是手机连接网关,使用Google Voice拨打(310) 335-0088,google voice可以显示通话中,但是听不到声音,server端有很多read udp 10.0.1.3:39219->172.253.117.127:19305: i/o timeout这样的日志。
(同样的vps,用v2ray做的服务可以正常使用google voice)

server.log

#X.X.X.X是客户端公网IP

[DEBUG] 2020/06/04 15:07:51 github.com/p4gefau1t/trojan-go/conf.loadServerConfig:parse.go:393 body:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>title</title>
<META
[INFO]  2020/06/04 15:07:54 Trojan-Go server is listening on 0.0.0.0:443
[INFO]  2020/06/04 15:08:36 Conn accepted from X.X.X.X:33568
[TRACE] 2020/06/04 15:08:37 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:08:45 Scapegoat:  Invalid trojan header from X.X.X.X:33568 | Failed to read hash | read tcp 10.0.1.3:443->X.X.X.X:33568: i/o timeout
[DEBUG] 2020/06/04 15:08:45 github.com/p4gefau1t/trojan-go/shadow.(*ShadowManager).SubmitScapegoat:shadow.go:32 scapegoat submited
[ERROR] 2020/06/04 15:08:45 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:76 Failed to start inbound session, remote:X.X.X.X:33568 | Invalid trojan header from X.X.X.X:33568 | Failed to read hash | read tcp 10.0.1.3:443->X.X.X.X:33568: i/o timeout
[INFO]  2020/06/04 15:09:02 Conn accepted from X.X.X.X:33570
[TRACE] 2020/06/04 15:09:03 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:03 UDP tunnel established
[DEBUG] 2020/06/04 15:09:03 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:03 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[INFO]  2020/06/04 15:09:03 Conn accepted from X.X.X.X:33580
[TRACE] 2020/06/04 15:09:03 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:03 UDP tunnel established
[DEBUG] 2020/06/04 15:09:03 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:03 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[INFO]  2020/06/04 15:09:04 Conn accepted from X.X.X.X:33584
[TRACE] 2020/06/04 15:09:04 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:04 Conn from X.X.X.X:33584 tunneling to 69.171.250.34:443
[INFO]  2020/06/04 15:09:04 Conn accepted from X.X.X.X:33582
[TRACE] 2020/06/04 15:09:05 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:05 Conn from X.X.X.X:33582 tunneling to 74.125.137.188:5228
[INFO]  2020/06/04 15:09:07 Conn accepted from X.X.X.X:33586
[TRACE] 2020/06/04 15:09:08 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:08 UDP tunnel established
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:60539->8.8.8.8:53: i/o timeout
[INFO]  2020/06/04 15:09:08 Conn accepted from X.X.X.X:33588
[ERROR] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:08 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 90 B recv: 45 B
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:33877->8.8.8.8:53: i/o timeout
[TRACE] 2020/06/04 15:09:08 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:08 UDP tunnel established
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[ERROR] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:08 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:08 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 96 B recv: 51 B
[INFO]  2020/06/04 15:09:09 Conn accepted from X.X.X.X:33590
[INFO]  2020/06/04 15:09:09 Conn accepted from X.X.X.X:33592
[TRACE] 2020/06/04 15:09:09 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:09 Conn from X.X.X.X:33592 tunneling to 172.217.5.202:443
[DEBUG] 2020/06/04 15:09:13 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:36117->8.8.8.8:53: i/o timeout
[ERROR] 2020/06/04 15:09:13 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:13 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:13 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 191 B recv: 55 B
[DEBUG] 2020/06/04 15:09:13 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:51506->8.8.8.8:53: i/o timeout
[INFO]  2020/06/04 15:09:13 Conn accepted from X.X.X.X:33594
[INFO]  2020/06/04 15:09:13 Conn accepted from X.X.X.X:33600
[INFO]  2020/06/04 15:09:13 Conn accepted from X.X.X.X:33604
[INFO]  2020/06/04 15:09:13 Conn accepted from X.X.X.X:33598
[INFO]  2020/06/04 15:09:13 Conn accepted from X.X.X.X:33596
[TRACE] 2020/06/04 15:09:14 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 15:09:14 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 15:09:14 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 15:09:14 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 15:09:14 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:14 Conn from X.X.X.X:33594 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:14 Conn from X.X.X.X:33600 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:14 Conn from X.X.X.X:33604 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:14 Conn from X.X.X.X:33596 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:14 Conn from X.X.X.X:33598 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:14 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 2.84 KiB recv: 517 B
[INFO]  2020/06/04 15:09:14 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 2.84 KiB recv: 517 B
[INFO]  2020/06/04 15:09:14 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 2.84 KiB recv: 517 B
[INFO]  2020/06/04 15:09:14 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 2.84 KiB recv: 517 B
[ERROR] 2020/06/04 15:09:15 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).ListenTCP.func1:server.go:216 read tcp 10.0.1.3:443->X.X.X.X:33590: i/o timeout
[INFO]  2020/06/04 15:09:16 Conn accepted from X.X.X.X:33606
[INFO]  2020/06/04 15:09:16 Conn accepted from X.X.X.X:33608
[TRACE] 2020/06/04 15:09:16 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[DEBUG] 2020/06/04 15:09:16 github.com/p4gefau1t/trojan-go/shadow.(*ShadowManager).SubmitScapegoat:shadow.go:32 scapegoat submited
[ERROR] 2020/06/04 15:09:16 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:76 Failed to start inbound session, remote:X.X.X.X:33608 | Invalid trojan header from X.X.X.X:33608 | Failed to read hash | EOF
[INFO]  2020/06/04 15:09:16 Scapegoat:  Invalid trojan header from X.X.X.X:33608 | Failed to read hash | EOF
[INFO]  2020/06/04 15:09:16 Scapegoat relaying done:  Invalid trojan header from X.X.X.X:33608 | Failed to read hash | EOF
[INFO]  2020/06/04 15:09:16 Conn accepted from X.X.X.X:33602
[TRACE] 2020/06/04 15:09:17 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 15:09:17 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:17 UDP tunnel established
[DEBUG] 2020/06/04 15:09:17 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:17 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[INFO]  2020/06/04 15:09:17 Conn from X.X.X.X:33602 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:17 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 0 B recv: 517 B
[INFO]  2020/06/04 15:09:18 Conn accepted from X.X.X.X:33612
[INFO]  2020/06/04 15:09:18 Conn accepted from X.X.X.X:33610
[TRACE] 2020/06/04 15:09:19 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:19 Conn from X.X.X.X:33612 tunneling to 216.239.36.144:443
[TRACE] 2020/06/04 15:09:20 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:20 UDP tunnel established
[DEBUG] 2020/06/04 15:09:20 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:20 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[INFO]  2020/06/04 15:09:20 Conn accepted from X.X.X.X:33614
[TRACE] 2020/06/04 15:09:20 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:20 UDP tunnel established
[DEBUG] 2020/06/04 15:09:20 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:20 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[INFO]  2020/06/04 15:09:20 Scapegoat relaying done:  Invalid trojan header from X.X.X.X:33568 | Failed to read hash | read tcp 10.0.1.3:443->X.X.X.X:33568: i/o timeout
[INFO]  2020/06/04 15:09:21 Conn accepted from X.X.X.X:33616
[INFO]  2020/06/04 15:09:21 Conn accepted from X.X.X.X:33618
[TRACE] 2020/06/04 15:09:21 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[DEBUG] 2020/06/04 15:09:22 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:42993->8.8.8.8:53: i/o timeout
[INFO]  2020/06/04 15:09:22 Conn accepted from X.X.X.X:33620
[TRACE] 2020/06/04 15:09:22 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:22 UDP tunnel established
[DEBUG] 2020/06/04 15:09:22 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 8.8.8.8:53
[DEBUG] 2020/06/04 15:09:22 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 8.8.8.8:53
[TRACE] 2020/06/04 15:09:23 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[INFO]  2020/06/04 15:09:23 Conn from X.X.X.X:33620 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 15:09:23 UDP tunnel established
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19302
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19302
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:23 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:24 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[ERROR] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:25 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 72 B recv: 56 B
[ERROR] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:25 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 99 B recv: 54 B
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:54095->8.8.8.8:53: i/o timeout
[ERROR] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:25 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 159 B recv: 47 B
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:48235->8.8.8.8:53: i/o timeout
[ERROR] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:25 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:25 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 62 B recv: 46 B
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:26 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:27 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:27 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:37283->8.8.8.8:53: i/o timeout
[ERROR] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Unable to read ATYPE | EOF
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:116 UDP tunnel closed
[INFO]  2020/06/04 15:09:28 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to UDP_CONN:0 closed sent: 62 B recv: 46 B
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:53752->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:34256->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:45228->172.253.117.127:19302: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:60690->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:38449->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:46817->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:52675->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:28 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:40571->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:29 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:29 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:29 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:36174->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:30 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:44186->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:53261->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:43996->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:49425->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:55243->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:31 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:42422->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:32 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:33821->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:32 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:32 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:32 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:32 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:33 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19302
[DEBUG] 2020/06/04 15:09:33 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19302
[DEBUG] 2020/06/04 15:09:34 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:54454->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:35 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:35 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 74.125.39.58:19305
[DEBUG] 2020/06/04 15:09:35 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:38767->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:56639->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:54431->74.125.39.58:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).WritePacket:outbound.go:197 UDP directly dialing to 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[DEBUG] 2020/06/04 15:09:37 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:169 UDP response from 172.253.117.127:19305
[INFO]  2020/06/04 15:09:37 Conn accepted from X.X.X.X:33622
[TRACE] 2020/06/04 15:09:38 TLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[DEBUG] 2020/06/04 15:09:38 github.com/p4gefau1t/trojan-go/shadow.(*ShadowManager).SubmitScapegoat:shadow.go:32 scapegoat submited
[ERROR] 2020/06/04 15:09:38 github.com/p4gefau1t/trojan-go/proxy/server.(*Server).handleConn:server.go:76 Failed to start inbound session, remote:X.X.X.X:33622 | Invalid trojan header from X.X.X.X:33622 | Failed to read hash | EOF
[INFO]  2020/06/04 15:09:38 Scapegoat:  Invalid trojan header from X.X.X.X:33622 | Failed to read hash | EOF
[INFO]  2020/06/04 15:09:38 Scapegoat relaying done:  Invalid trojan header from X.X.X.X:33622 | Failed to read hash | EOF
[DEBUG] 2020/06/04 15:09:38 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:60849->172.253.117.127:19302: i/o timeout
[DEBUG] 2020/06/04 15:09:40 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:43949->74.125.39.58:19305: i/o timeout
[INFO]  2020/06/04 15:09:40 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 216.239.36.144:443 closed sent: 10.94 KiB recv: 8.07 KiB
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:39219->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:40746->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:54983->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:50504->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:42192->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:34722->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:37485->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:47215->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:35166->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:42 github.com/p4gefau1t/trojan-go/protocol/direct.(*DirectOutboundPacketSession).listenConn:outbound.go:166 Packet session ends | read udp 10.0.1.3:55941->172.253.117.127:19305: i/o timeout
[DEBUG] 2020/06/04 15:09:57 github.com/p4gefau1t/trojan-go/proxy.RelayConn:proxy.go:39 Conn relaying ends | read tcp 10.0.1.3:33968->74.125.137.188:5228: read: connection reset by peer
[INFO]  2020/06/04 15:09:57 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 74.125.137.188:5228 closed sent: 1.81 KiB recv: 1021 B
[INFO]  2020/06/04 15:12:09 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 69.171.250.34:443 closed sent: 3.18 KiB recv: 691 B
[INFO]  2020/06/04 15:12:12 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 3.44 KiB recv: 673 B
[INFO]  2020/06/04 15:12:16 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.5.202:443 closed sent: 65.30 KiB recv: 1.96 KiB
[INFO]  2020/06/04 15:13:42 User c9ff3c762f1e283728572299a6fc2f6de2394cc9c98d9c88d3ce9bfc to 172.217.27.138:443 closed sent: 48.14 KiB recv: 6.20 KiB

client.log

[INFO]  2020/06/04 23:08:33 Cert of the remote server is unspecified. Using default CA list
[INFO]  2020/06/04 23:08:33 Trojan-Go NAT is listening on 0.0.0.0:7892
[INFO]  2020/06/04 23:08:35 Avaliable hello id found: firefox
[TRACE] 2020/06/04 23:08:35 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:08:35 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:08:35 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:08:35 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:08:35 Tunneling to UDP_CONN:0
[TRACE] 2020/06/04 23:09:02 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:02 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:02 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:02 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:02 Tunneling to 69.171.250.34:443
[INFO]  2020/06/04 23:09:02 [Tproxy] conn from 192.168.2.117:39392 tunneling to 69.171.250.34:443
[TRACE] 2020/06/04 23:09:03 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:03 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:03 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:03 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:03 Tunneling to 74.125.137.188:5228
[INFO]  2020/06/04 23:09:03 [Tproxy] conn from 192.168.2.117:38992 tunneling to 74.125.137.188:5228
[TRACE] 2020/06/04 23:09:07 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:07 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:07 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:07 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:07 Tunneling to 172.217.5.202:443
[INFO]  2020/06/04 23:09:07 [Tproxy] conn from 192.168.2.117:49582 tunneling to 172.217.5.202:443
[TRACE] 2020/06/04 23:09:12 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:12 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:12 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:12 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:12 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 [Tproxy] conn from 192.168.2.117:41868 tunneling to 172.217.27.138:443
[TRACE] 2020/06/04 23:09:12 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:12 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:12 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:12 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:12 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 [Tproxy] conn from 192.168.2.117:41898 tunneling to 172.217.27.138:443
[TRACE] 2020/06/04 23:09:12 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:12 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:12 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:12 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:12 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:12 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:12 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 [Tproxy] conn from 192.168.2.117:41892 tunneling to 172.217.27.138:443
[TRACE] 2020/06/04 23:09:12 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:12 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:12 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 [Tproxy] conn from 192.168.2.117:41884 tunneling to 172.217.27.138:443
[TRACE] 2020/06/04 23:09:12 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:12 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:12 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:12 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:12 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 [Tproxy] conn from 192.168.2.117:41876 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:12 Conn to 172.217.27.138:443 closed sent: 585 B recv: 0 B
[INFO]  2020/06/04 23:09:12 Conn to 172.217.27.138:443 closed sent: 585 B recv: 0 B
[INFO]  2020/06/04 23:09:12 Conn to 172.217.27.138:443 closed sent: 585 B recv: 0 B
[INFO]  2020/06/04 23:09:12 Conn to 172.217.27.138:443 closed sent: 585 B recv: 1.16 KiB
[TRACE] 2020/06/04 23:09:14 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:14 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:14 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:14 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:14 Tunneling to 216.239.36.144:443
[INFO]  2020/06/04 23:09:14 [Tproxy] conn from 192.168.2.117:37415 tunneling to 216.239.36.144:443
[INFO]  2020/06/04 23:09:14 Conn to 216.239.36.144:443 closed sent: 0 B recv: 0 B
[TRACE] 2020/06/04 23:09:15 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:15 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:15 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:15 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:15 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:15 [Tproxy] conn from 192.168.2.117:41902 tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:15 Conn to 172.217.27.138:443 closed sent: 585 B recv: 0 B
[TRACE] 2020/06/04 23:09:17 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:17 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:17 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:17 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:17 Tunneling to 216.239.36.144:443
[INFO]  2020/06/04 23:09:17 [Tproxy] conn from 192.168.2.117:37411 tunneling to 216.239.36.144:443
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:42958 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38297 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:48388 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:42624 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:42827 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47411 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:42086 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47806 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:40375 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38158 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:40483 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:44952 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47402 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:18 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47757 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:49491 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:49232 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:45216 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:42641 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:46430 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:45170 to 172.253.117.127:19305
[ERROR] 2020/06/04 23:09:19 github.com/p4gefau1t/trojan-go/proxy.RelayPacket:proxy.go:76 Packet relaying ends | Failed to parse addr | Invalid ATYPE 72
[INFO]  2020/06/04 23:09:19 Conn to UDP_CONN:0 closed sent: 693 B recv: 1 B
[TRACE] 2020/06/04 23:09:19 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:19 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:19 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:19 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:19 Tunneling to UDP_CONN:0
[TRACE] 2020/06/04 23:09:21 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:21 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:21 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:21 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:21 Tunneling to 172.217.27.138:443
[INFO]  2020/06/04 23:09:21 [Tproxy] conn from 192.168.2.117:46992 tunneling to 172.217.27.138:443
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 172.253.117.127:19302
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 172.253.117.127:19302
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:21 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:22 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:24 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:25 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:27 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:28 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:30 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:30 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:31 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 172.253.117.127:19302
[DEBUG] 2020/06/04 23:09:33 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:38343 to 74.125.39.58:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:43811 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:44506 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:46822 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:48348 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:37363 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47794 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:47860 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:46645 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:40755 to 172.253.117.127:19305
[DEBUG] 2020/06/04 23:09:35 github.com/p4gefau1t/trojan-go/protocol/tproxy.(*NATInboundPacketSession).ReadPacket:inbound.go:136 tproxy udp packet from 192.168.2.117:43044 to 172.253.117.127:19305
[TRACE] 2020/06/04 23:09:36 uTLS handshaked TLS_AES_128_GCM_SHA256 false http/1.1
[TRACE] 2020/06/04 23:09:36 Subject: CN=www.mydomain.com Issuer: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US
[TRACE] 2020/06/04 23:09:36 Subject: CN=Let's Encrypt Authority X3,O=Let's Encrypt,C=US Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[TRACE] 2020/06/04 23:09:36 Subject: CN=DST Root CA X3,O=Digital Signature Trust Co. Issuer: CN=DST Root CA X3,O=Digital Signature Trust Co.
[INFO]  2020/06/04 23:09:36 Tunneling to 216.239.36.144:443
[INFO]  2020/06/04 23:09:36 [Tproxy] conn from 192.168.2.117:48990 tunneling to 216.239.36.144:443
[INFO]  2020/06/04 23:09:36 Conn to 216.239.36.144:443 closed sent: 0 B recv: 0 B
[INFO]  2020/06/04 23:09:38 Conn to 216.239.36.144:443 closed sent: 8.14 KiB recv: 10.94 KiB
[INFO]  2020/06/04 23:09:55 Conn to 74.125.137.188:5228 closed sent: 1.06 KiB recv: 1.81 KiB
[DEBUG] 2020/06/04 23:12:07 github.com/p4gefau1t/trojan-go/proxy.RelayConn:proxy.go:39 Conn relaying ends | read tcp 192.168.2.50:7892->192.168.2.117:39392: read: connection timed out
[INFO]  2020/06/04 23:12:07 Conn to 69.171.250.34:443 closed sent: 759 B recv: 3.18 KiB
[DEBUG] 2020/06/04 23:12:10 github.com/p4gefau1t/trojan-go/proxy.RelayConn:proxy.go:39 Conn relaying ends | read tcp 192.168.2.50:7892->192.168.2.117:46992: read: connection timed out
[INFO]  2020/06/04 23:12:10 Conn to 172.217.27.138:443 closed sent: 741 B recv: 3.44 KiB
[DEBUG] 2020/06/04 23:12:14 github.com/p4gefau1t/trojan-go/proxy.RelayConn:proxy.go:39 Conn relaying ends | read tcp 192.168.2.50:7892->192.168.2.117:49582: read: connection timed out
[INFO]  2020/06/04 23:12:14 Conn to 172.217.5.202:443 closed sent: 2.02 KiB recv: 65.30 KiB
[INFO]  2020/06/04 23:13:41 Conn to 172.217.27.138:443 closed sent: 6.27 KiB recv: 48.14 KiB

为了测试简单, 做的是全局代理, iptables脚本如下

#/bin/sh
/sbin/ip rule add fwmark 1 table 100
/sbin/ip route add local 0.0.0.0/0 dev lo table 100

iptables -t mangle -N TROJAN_MASK
iptables -t mangle -A TROJAN_MASK -d 127.0.0.1/32 -j RETURN
iptables -t mangle -A TROJAN_MASK -d 224.0.0.0/4 -j RETURN
iptables -t mangle -A TROJAN_MASK -d 255.255.255.255/32 -j RETURN
iptables -t mangle -A TROJAN_MASK -d 192.168.0.0/16 -j RETURN
iptables -t mangle -A TROJAN_MASK -d 10.0.0.0/8 -j RETURN
iptables -t mangle -A TROJAN_MASK -p udp -m set --match-set myvps dst -j RETURN
iptables -t mangle -A TROJAN_MASK -p udp -j TPROXY --on-port 7892 --tproxy-mark 1
iptables -t mangle -A PREROUTING -p udp -j TROJAN_MASK


iptables -t nat -N TROJAN
iptables -t nat -A TROJAN -d 127.0.0.1/32 -j RETURN
iptables -t nat -A TROJAN -d 224.0.0.0/4 -j RETURN
iptables -t nat -A TROJAN -d 255.255.255.255/32 -j RETURN
iptables -t nat -A TROJAN -d 192.168.0.0/16 -j RETURN
iptables -t nat -A TROJAN -d 10.0.0.0/8 -j RETURN
iptables -t nat -A TROJAN -p tcp -j RETURN -m mark --mark 0xff
iptables -t nat -A TROJAN -p tcp -m set --match-set myvps dst -j RETURN
iptables -t nat -A TROJAN -p tcp -j REDIRECT --to-ports 7892
iptables -t nat -A PREROUTING -p tcp -j TROJAN

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

以上测试方法,在0.70版本下测试, 客户端出现错误,进程结束,错误日志如下

mydns:~# /usr/bin/trojan-go/trojan-go -config /etc/trojan-go/client.json
[INFO]  2020/06/12 14:04:28 tls fingerprint firefox applied
[INFO]  2020/06/12 14:04:28 cert is unspecified, using default ca list
[DEBUG] 2020/06/12 14:04:28 github.com/p4gefau1t/trojan-go/tunnel/transport.NewClient:client.go:222 transport client created
[DEBUG] 2020/06/12 14:04:28 github.com/p4gefau1t/trojan-go/tunnel/trojan.NewClient:client.go:158 trojan client created
[DEBUG] 2020/06/12 14:04:28 github.com/p4gefau1t/trojan-go/api.RunService:api.go:19 api handler found TROJAN_CLIENT
[DEBUG] 2020/06/12 14:04:33 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:33 connection to 142.250.68.74:443 closed sent: 64 B recv: 2.84 KiB
[DEBUG] 2020/06/12 14:04:33 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:33 connection to 142.250.68.74:443 closed sent: 64 B recv: 2.84 KiB
[DEBUG] 2020/06/12 14:04:33 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:33 connection to 142.250.68.74:443 closed sent: 64 B recv: 2.84 KiB
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:34 connection to 142.250.68.74:443 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:34 connection to 142.250.68.74:443 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:47927 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:47927 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:41530 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:41530 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:49471 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:49471 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:45257 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:45257 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:45448 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:45448 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:42402 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:42402 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:42913 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:42913 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:45412 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:45412 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:46670 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:46670 to 108.177.98.127:19305
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/tunnel/tproxy.(*Server).packetDispatchLoop:server.go:66 udp packet from 192.168.2.117:46313 to 108.177.98.127:19305
[INFO]  2020/06/12 14:04:34 tproxy udp session, from 192.168.2.117:46313 to 108.177.98.127:19305
[ERROR] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayPacketLoop.func1.1:proxy.go:128 failed to parse udp packet addr | unable to read ATYPE | EOF
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayPacketLoop.func1.1:proxy.go:130 packet relay ends
[INFO]  2020/06/12 14:04:34 connection to UDP_CONN:0 closed sent: 0 B recv: 0 B
[ERROR] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayPacketLoop.func1.1:proxy.go:128 failed to parse udp packet addr | unable to read ATYPE | EOF
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayPacketLoop.func1.1:proxy.go:130 packet relay ends
[INFO]  2020/06/12 14:04:34 connection to UDP_CONN:0 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 14:04:34 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:80 conn relay ends
[INFO]  2020/06/12 14:04:34 connection to 216.239.36.144:443 closed sent: 0 B recv: 0 B
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x91eb31]

goroutine 133 [running]:
github.com/p4gefau1t/trojan-go/tunnel/trojan.(*OutboundConn).Read(0xc00044b310, 0xc000588000, 0x8000, 0x8000, 0x0, 0x0, 0x56587946766e6d77)
        /home/runner/work/trojan-go/trojan-go/tunnel/trojan/client.go:83 +0x81
io.copyBuffer(0x7f0c61deb5f0, 0xc0001e5ec0, 0x7f0c61deb610, 0xc00044b310, 0xc000588000, 0x8000, 0x8000, 0x79532f7443536644, 0x5861504b5134695a, 0x42386f4657756e57)
        /opt/hostedtoolcache/go/1.14.4/x64/src/io/io.go:405 +0x122
io.Copy(...)
        /opt/hostedtoolcache/go/1.14.4/x64/src/io/io.go:364
github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1.1(0x7f0c60c382d0, 0xc0001e5ec0, 0x7f0c60c38328, 0xc00044b310)
        /home/runner/work/trojan-go/trojan-go/proxy/proxy.go:70 +0xd4
created by github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1
        /home/runner/work/trojan-go/trojan-go/proxy/proxy.go:74 +0x2c1


from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 17, 2024

v0.6.0之前的版本的udp转发实现是有问题的,重构之后理论上可以支持full-cone的udp转发
v0.7.1已经修复空指针的问题,可以尝试一下

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

用v0.7.1版本重复上面的测试, 客户端还是会出现错误自动退出
(另外v0.7.1版本号没有变,运行trojan-go -version提示还是v0.7.0)
客户端错误日志

mydns:~# /usr/bin/trojan-go/trojan-go -config /etc/trojan-go/client.json
[INFO]  2020/06/12 22:27:25 tls fingerprint firefox applied
[INFO]  2020/06/12 22:27:25 cert is unspecified, using default ca list
[DEBUG] 2020/06/12 22:27:25 github.com/p4gefau1t/trojan-go/tunnel/transport.NewClient:client.go:222 transport client created
[DEBUG] 2020/06/12 22:27:25 github.com/p4gefau1t/trojan-go/tunnel/trojan.NewClient:client.go:158 trojan client created
[DEBUG] 2020/06/12 22:27:25 github.com/p4gefau1t/trojan-go/api.RunService:api.go:19 api handler found TROJAN_CLIENT
[DEBUG] 2020/06/12 22:27:35 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:35 connection to 172.217.14.106:443 closed sent: 64 B recv: 2.85 KiB
[DEBUG] 2020/06/12 22:27:35 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:35 connection to 172.217.14.106:443 closed sent: 64 B recv: 212 B
[DEBUG] 2020/06/12 22:27:36 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:36 connection to 172.217.14.106:443 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 22:27:36 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:36 connection to 172.217.14.106:443 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 22:27:37 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:37 connection to 172.217.14.106:443 closed sent: 0 B recv: 0 B
[DEBUG] 2020/06/12 22:27:50 github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1:proxy.go:87 conn relay ends
[INFO]  2020/06/12 22:27:50 connection to 216.239.36.144:443 closed sent: 0 B recv: 0 B
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x91ef71]

goroutine 77 [running]:
github.com/p4gefau1t/trojan-go/tunnel/trojan.(*OutboundConn).Read(0xc00037e370, 0xc000432000, 0x8000, 0x8000, 0x0, 0x0, 0x0)
        /home/runner/work/trojan-go/trojan-go/tunnel/trojan/client.go:83 +0x81
io.copyBuffer(0x7f9c75ed4180, 0xc0000d2400, 0x7f9c75ed41a0, 0xc00037e370, 0xc000432000, 0x8000, 0x8000, 0xc0004fb640, 0x0, 0x0)
        /opt/hostedtoolcache/go/1.14.4/x64/src/io/io.go:405 +0x122
io.Copy(...)
        /opt/hostedtoolcache/go/1.14.4/x64/src/io/io.go:364
github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1.1(0x7f9c75ed4018, 0xc0000d2400, 0x7f9c75ed4070, 0xc00037e370)
        /home/runner/work/trojan-go/trojan-go/proxy/proxy.go:72 +0xd4
created by github.com/p4gefau1t/trojan-go/proxy.(*Proxy).relayConnLoop.func1.1
        /home/runner/work/trojan-go/trojan-go/proxy/proxy.go:76 +0x2ca

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

用v0.7.4版本重复以上udp测试, 服务端不再异常退出, 但是google voice还是听不到对方声音, 日志如下
server.log
client.log

from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 17, 2024

因为不清楚google voice的运作方式,所以这个问题我也比较难以复现和排查

除了google voice以外,还有哪些无法正常工作的场景吗

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

因为不清楚google voice的运作方式,所以这个问题我也比较难以复现和排查

除了google voice以外,还有哪些无法正常工作的场景吗

其他用UDP的场景我倒是没有测试过, 我不玩游戏, 比较少用到udp协议。
关于google voice, 目前我测试可以正常进行udp透明代理的软件只有以下2款

  • shadowsocks-libev
  • v2ray-core(协议用ws+tls)

其他软件,比如clash(使用v2ray ws+tls协议)也是不可以的

另外直接使用trojan-go的socks5代理,google voice是可以正常工作的,使用方法是在安卓手机的wifi设置中,设置pac代理。

下面可能和这个问题无关,写在这里提示一下和我遇到同样问题的朋友
google voice服务有一组IP,一般的黑名单没有收录,如果用gfw模式要让以下ip走代理

74.125.0.0/16 
172.217.0.0/16 
216.58.0.0/16 
173.194.0.0/16 
216.239.0.0/16 

from trojan-go.

p4gefau1t avatar p4gefau1t commented on May 17, 2024

新版本的udp转发已经重构,支持full-cone转发,应该修复了这个问题,如果有类似问题,可以重新开一个issue描述故障

from trojan-go.

ericwang2006 avatar ericwang2006 commented on May 17, 2024

from trojan-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.