database64128 / shadowsocks-go

A versatile and efficient proxy platform for secure communications.
GNU Affero General Public License v3.0
152 stars 20 forks source link

Failed to connect to remote #29

Closed ttc0419 closed 2 years ago

ttc0419 commented 2 years ago

I'm running the arm64 server on my Asus router. Client like shadowrocket connects just fine. However, if I use the client of this project using the following configuration. The server fails to connect to the server.

Server Configuration:

{
    "servers": [
        {
            "name": "main",
            "listen": ":5419",
            "protocol": "2022-blake3-aes-128-gcm",
            "enableTCP": true,
            "listenerTFO": false,
            "enableUDP": true,
            "mtu": 1500,
            "psk": "xxx"
        }
    ]
}

Client Configuration:

{
    "servers": [{
        "name": "socks5",
        "listen": "127.0.0.1:1080",
        "protocol": "socks5",
        "enableTCP": true,
        "listenerTFO": false,
        "enableUDP": true,
        "mtu": 1500
    }],
    "clients": [{
        "name": "some config",
        "endpoint": "xxxx:5419",
        "protocol": "2022-blake3-aes-128-gcm",
        "enableTCP": true,
        "dialerTFO": false,
        "enableUDP": true,
        "mtu": 1500,
        "psk": "xxxx"
    }]
}

Server Log:

2022-11-28T21:53:01.084+0800    INFO    service/tcp.go:95   Started TCP relay service   {"server": "main", "listenAddress": ":5419"}
2022-11-28T21:53:01.084+0800    INFO    service/udp_session.go:151  Started UDP session relay service   {"server": "main", "listenAddress": ":5419"}
2022-11-28T21:53:17.562+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60356", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.578+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60356", "targetAddress": "github.com:443", "initialPayloadLength": 517, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.590+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60358", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.597+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60358", "targetAddress": "github.com:443", "initialPayloadLength": 517, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.610+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60360", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.626+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60360", "targetAddress": "github.com:443", "initialPayloadLength": 149, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.632+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60362", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.649+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60362", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.662+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60364", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.678+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60364", "targetAddress": "github.com:443", "initialPayloadLength": 517, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.696+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60366", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.712+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60366", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.720+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60368", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.735+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60368", "targetAddress": "github.com:443", "initialPayloadLength": 517, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.750+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60370", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.767+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60370", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.774+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60372", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.778+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60372", "targetAddress": "github.com:443", "initialPayloadLength": 149, "error": "dial tcp 20.205.243.166:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.790+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60374", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.806+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60374", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.854+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60376", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.870+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60376", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.896+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60378", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.912+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60378", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.954+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60380", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.970+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60380", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:17.981+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60382", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.998+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60382", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.011+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60384", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.028+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60384", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.043+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60386", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.060+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60386", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.070+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60388", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.087+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60388", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.099+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60390", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.116+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60390", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.133+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60392", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.138+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60392", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.163+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60394", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.179+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60394", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.202+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60396", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.207+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60396", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.217+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60398", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.234+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60398", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.246+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60400", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.261+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60400", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.283+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60402", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.300+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60402", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.333+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60404", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.350+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60404", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.377+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60406", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.394+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60406", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.411+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60408", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.428+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60408", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.448+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60410", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.465+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60410", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.481+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60412", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.497+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60412", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.110.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.509+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60414", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.526+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60414", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.555+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60416", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.571+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60416", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.592+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60418", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.608+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60418", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.110.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.618+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60420", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.634+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60420", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.649+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60422", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.665+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60422", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.684+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60424", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.701+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60424", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.715+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60426", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.731+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60426", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.748+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60428", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.765+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60428", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.778+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60430", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.795+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60430", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.807+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60432", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.823+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60432", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.837+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60434", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.853+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60434", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.878+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60436", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.895+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60436", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.917+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60438", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.934+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60438", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.943+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60440", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.947+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60440", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:18.963+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60442", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.980+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60442", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.111.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:19.003+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60444", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:19.018+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60444", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.032+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60446", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.049+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60446", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.074+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60448", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.090+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60448", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.110+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60450", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.126+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60450", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.110.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.150+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60452", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.166+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60452", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.196+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60454", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.212+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60454", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.109.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.256+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60456", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.273+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60456", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.286+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60458", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.303+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60458", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.109.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.321+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60460", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.326+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60460", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.367+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60462", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.382+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60462", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.433+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60464", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.449+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60464", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.471+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60466", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.487+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60466", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.519+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60468", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.536+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60468", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.109.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.574+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60470", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.590+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60470", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.615+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60472", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.631+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60472", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:20.695+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "main", "sourceAddrPort": "[::ffff:192.168.86.46]:60474", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.711+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "main", "client": "direct", "listenAddress": ":5419", "clientAddress": "[::ffff:192.168.86.46]:60474", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168, "error": "dial tcp 185.199.108.133:443: protocol not available"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
^C2022-11-28T21:53:21.331+0800  INFO    shadowsocks-go/main.go:123  Received signal, stopping...    {"signal": "interrupt"}
2022-11-28T21:53:21.331+0800    INFO    service/service.go:162  Stopped service {"service": "TCP relay service for main"}
2022-11-28T21:53:21.331+0800    INFO    service/udp_session_linux.go:397    Finished receiving from serverConn  {"server": "main", "listenAddress": ":5419", "recvmmsgCount": 0, "packetsReceived": 0, "payloadBytesReceived": 0, "burstBatchSize": 0}
2022-11-28T21:53:21.331+0800    INFO    service/service.go:162  Stopped service {"service": "UDP session relay service for main"}

Client Log:

2022-11-28T21:53:12.022+0800    INFO    service/tcp.go:95   Started TCP relay service   {"server": "socks5", "listenAddress": "127.0.0.1:1080"}
2022-11-28T21:53:12.022+0800    INFO    service/udp_nat.go:143  Started UDP NAT relay service   {"server": "socks5", "listenAddress": "127.0.0.1:1080"}
2022-11-28T21:53:17.555+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60355", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.555+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60355", "targetAddress": "github.com:443", "payloadLength": 517}
2022-11-28T21:53:17.560+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60355", "targetAddress": "github.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.582+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60355", "targetAddress": "github.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.584+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60357", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.584+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60357", "targetAddress": "github.com:443", "payloadLength": 517}
2022-11-28T21:53:17.588+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60357", "targetAddress": "github.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.600+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60357", "targetAddress": "github.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.603+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60359", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.603+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60359", "targetAddress": "github.com:443", "payloadLength": 149}
2022-11-28T21:53:17.608+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60359", "targetAddress": "github.com:443", "initialPayloadLength": 149}
2022-11-28T21:53:17.615+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60361", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.616+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60361", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.622+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60361", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.635+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60359", "targetAddress": "github.com:443", "nl2r": 149, "nr2l": 0}
2022-11-28T21:53:17.637+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60363", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.637+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60363", "targetAddress": "github.com:443", "payloadLength": 517}
2022-11-28T21:53:17.657+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60363", "targetAddress": "github.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.658+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60361", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.660+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60365", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.660+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60365", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.675+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60365", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.685+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60363", "targetAddress": "github.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.689+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60367", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.690+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60367", "targetAddress": "github.com:443", "payloadLength": 517}
2022-11-28T21:53:17.706+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60367", "targetAddress": "github.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.715+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60365", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.717+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60369", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.717+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60369", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:17.735+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60369", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:17.738+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60367", "targetAddress": "github.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.740+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60371", "targetAddress": "github.com:443", "route": "default"}
2022-11-28T21:53:17.740+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60371", "targetAddress": "github.com:443", "payloadLength": 149}
2022-11-28T21:53:17.762+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60371", "targetAddress": "github.com:443", "initialPayloadLength": 149}
2022-11-28T21:53:17.769+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60369", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:17.771+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60373", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.771+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60373", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.781+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60371", "targetAddress": "github.com:443", "nl2r": 149, "nr2l": 0}
2022-11-28T21:53:17.786+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60373", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.813+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60373", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.815+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60375", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.815+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60375", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.826+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60375", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.876+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60375", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.880+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60377", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.880+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60377", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:17.889+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60377", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:17.921+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60377", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:17.922+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60379", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.923+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60379", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.945+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60379", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:17.972+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60379", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:17.974+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60381", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:17.975+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60381", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:17.979+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60381", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.001+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60381", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.003+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60383", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.003+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60383", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.010+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60383", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.032+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60383", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.034+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60385", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.034+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60385", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.042+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60385", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.063+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60385", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.066+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60387", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.066+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60387", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.069+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60387", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.091+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60387", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.095+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60389", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.095+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60389", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.098+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60389", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.123+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60389", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.125+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60391", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.126+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60391", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.132+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60391", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.141+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60391", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.144+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60393", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.145+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60393", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.161+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60393", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.182+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60393", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.184+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60395", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.184+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60395", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.201+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60395", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.210+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60395", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.212+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60397", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.213+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60397", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.216+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60397", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.238+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60397", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.240+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60399", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.241+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60399", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.244+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60399", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.264+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60399", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.267+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60401", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.267+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60401", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.272+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60401", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.304+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60401", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.308+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60403", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.309+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60403", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.314+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60403", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.357+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60403", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.361+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60405", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.361+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60405", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.367+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60405", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.399+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60405", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.402+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60407", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.402+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60407", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.409+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60407", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.437+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60407", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.440+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60409", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.441+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60409", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.446+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60409", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.468+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60409", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.472+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60411", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.472+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60411", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.475+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60411", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.500+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60411", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.502+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60413", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.502+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60413", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.508+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60413", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.529+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60413", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.531+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60415", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.532+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60415", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.539+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60415", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.574+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60415", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.577+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60417", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.577+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60417", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.583+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60417", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.611+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60417", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.613+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60419", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.613+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60419", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.617+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60419", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.637+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60419", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.639+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60421", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.639+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60421", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.647+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60421", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.673+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60421", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.675+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60423", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.676+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60423", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.682+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60423", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.703+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60423", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.705+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60425", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.705+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60425", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.713+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60425", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.737+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60425", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.739+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60427", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.740+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60427", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.744+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60427", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.769+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60427", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.771+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60429", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.772+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60429", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.777+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60429", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.800+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60429", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.802+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60431", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.802+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60431", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.805+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60431", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.826+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60431", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.830+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60433", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.830+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60433", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.834+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60433", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.855+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60433", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.857+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60435", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.858+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60435", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.875+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60435", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.899+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60435", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.901+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60437", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.901+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60437", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:18.909+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60437", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:18.937+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60437", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:18.938+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60439", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.939+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60439", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.942+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60439", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.952+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60439", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.954+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60441", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.954+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60441", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:18.960+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60441", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:18.982+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60441", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:18.985+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60443", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:18.985+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60443", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:19.000+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60443", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:19.021+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60443", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:19.023+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60445", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:19.024+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60445", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.029+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60445", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.054+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60445", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.058+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60447", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.058+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60447", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.062+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60447", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.094+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60447", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.097+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60449", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.098+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60449", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:20.108+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60449", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:20.130+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60449", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:20.132+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60451", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.133+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60451", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.140+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60451", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.171+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60451", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.174+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60453", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.174+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60453", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.192+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60453", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.219+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60453", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.222+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60455", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.223+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60455", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:20.245+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60455", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:20.277+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60455", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:20.279+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60457", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.280+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60457", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.285+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60457", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.306+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60457", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.308+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60459", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.309+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60459", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.316+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60459", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.330+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60459", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.333+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60461", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.333+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60461", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:20.359+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60461", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:20.385+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60461", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:20.388+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60463", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.389+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60463", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.397+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60463", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.454+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60463", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.458+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60465", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.459+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60465", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.467+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60465", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.489+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60465", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.491+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60467", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.491+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60467", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:20.510+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60467", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:20.539+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60467", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:20.541+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60469", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.541+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60469", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.547+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60469", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.592+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60469", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.595+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60471", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.595+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60471", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 517}
2022-11-28T21:53:20.606+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60471", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 517}
2022-11-28T21:53:20.635+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60471", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 517, "nr2l": 0}
2022-11-28T21:53:20.638+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60473", "targetAddress": "avatars.githubusercontent.com:443", "route": "default"}
2022-11-28T21:53:20.639+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60473", "targetAddress": "avatars.githubusercontent.com:443", "payloadLength": 168}
2022-11-28T21:53:20.668+0800    INFO    service/tcp.go:249  Two-way relay started   {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60473", "targetAddress": "avatars.githubusercontent.com:443", "initialPayloadLength": 168}
2022-11-28T21:53:20.713+0800    INFO    service/tcp.go:275  Two-way relay completed {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60473", "targetAddress": "avatars.githubusercontent.com:443", "nl2r": 168, "nr2l": 0}
2022-11-28T21:53:22.778+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60475", "targetAddress": "gateway.icloud.com:443", "route": "default"}
2022-11-28T21:53:22.779+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60475", "targetAddress": "gateway.icloud.com:443", "payloadLength": 517}
2022-11-28T21:53:22.785+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60475", "targetAddress": "gateway.icloud.com:443", "initialPayloadLength": 517, "error": "dial tcp 112.118.110.251:5419: connect: connection refused"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:22.788+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60477", "targetAddress": "gateway.icloud.com:443", "route": "default"}
2022-11-28T21:53:22.788+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60477", "targetAddress": "gateway.icloud.com:443", "payloadLength": 517}
2022-11-28T21:53:22.791+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60477", "targetAddress": "gateway.icloud.com:443", "initialPayloadLength": 517, "error": "dial tcp 112.118.110.251:5419: connect: connection refused"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
2022-11-28T21:53:22.794+0800    DEBUG   router/router.go:135    Matched route for TCP connection    {"server": "socks5", "sourceAddrPort": "127.0.0.1:60479", "targetAddress": "gateway.icloud.com:443", "route": "default"}
2022-11-28T21:53:22.794+0800    DEBUG   service/tcp.go:189  Got initial payload {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60479", "targetAddress": "gateway.icloud.com:443", "payloadLength": 157}
2022-11-28T21:53:22.797+0800    WARN    service/tcp.go:236  Failed to create remote connection  {"server": "socks5", "client": "some config", "listenAddress": "127.0.0.1:1080", "clientAddress": "127.0.0.1:60479", "targetAddress": "gateway.icloud.com:443", "initialPayloadLength": 157, "error": "dial tcp 112.118.110.251:5419: connect: connection refused"}
github.com/database64128/shadowsocks-go/service.(*TCPRelay).handleConn
    github.com/database64128/shadowsocks-go/service/tcp.go:236
database64128 commented 2 years ago

Is the version of your Linux kernel older than 4.11? shadowsocks-go only supports dialerTFO: true on 4.11 and newer.

ttc0419 commented 2 years ago

Just tried turning off dialerTFO on both server and client. The problem still exists. It seems the problems is not related to TFO. If I turn on the TFO option in shadowrocket, it still works.

Kernel Version:

Linux RT-AC86U-BC68 4.1.27 #2 SMP PREEMPT Sun Jul 24 18:28:39 EDT 2022 aarch64 ASUSWRT-Merlin
database64128 commented 2 years ago

Can you post your server config? If your server config was based on https://github.com/database64128/shadowsocks-go/blob/main/docs/server.json and does not have clients, shadowsocks-go creates a direct client on startup with dialTFO enabled: https://github.com/database64128/shadowsocks-go/blob/120ce8abb5d6aedf209ff2828a163989d7ed75c0/service/service.go#L45-L56

You kernel version is not supported by dialerTFO. Therefore you have to specify this direct client yourself with dialerTFO set to false.

ttc0419 commented 2 years ago

@database64128 Updated the description to add server configuration and the latest client configuration.

database64128 commented 2 years ago

You can safely leave listenerTFO on. It's supported down to Linux 3.6.

ttc0419 commented 2 years ago

@database64128 Ok, just added server and client debug log. Let me know if you need more info.

database64128 commented 2 years ago

Thanks. Have you tried https://github.com/database64128/shadowsocks-go/issues/29#issuecomment-1329103206? Basically you need to modify your server config to something like:

{
    "servers": [
        {
            "name": "main",
            "listen": ":5419",
            "protocol": "2022-blake3-aes-128-gcm",
            "enableTCP": true,
            "listenerTFO": true,
            "enableUDP": true,
            "mtu": 1500,
            "psk": "xxx"
        }
    ],
    "clients": [
        {
            "name": "direct",
            "protocol": "direct",
            "enableTCP": true,
            "dialerTFO": false,
            "enableUDP": true,
            "mtu": 1500
        }
    ]
}
ttc0419 commented 2 years ago

Sorry for not reading the comment carefully. Yes, the config works. What does client section in server configuration mean?

database64128 commented 2 years ago

What does client section in server configuration mean?

shadowsocks-go's abstractions may be a bit different from what you are used to. A server accepts requests, asks the router to pick a client, and invokes the client to establish a remote connection. Depending on your configuration, traffic can flow from any server to any client.

Your client config is essentially a SOCKS5 server that forwards traffic to a Shadowsocks client. Your server config is a Shadowsocks server and a "direct" client.

ttc0419 commented 2 years ago

For those who do want to enable tcp fast open. You can enable it by command echo 3 > /proc/sys/net/ipv4/tcp_fastopen in startup script (e.g. /jffs/scripts/services-start for merlin-ng firmware).