shadowsocks_admin icon indicating copy to clipboard operation
shadowsocks_admin copied to clipboard

账号使用的设备数统计功能,有必要吗?

Open GameXG opened this issue 11 years ago • 1 comments

go 版本的服务器相关代码276行 https://github.com/shadowsocks/shadowsocks-go/blob/master/cmd/shadowsocks-server/server.go

    // Creating cipher upon first connection.
    if cipher == nil {
        log.Println("creating cipher for port:", port)
        cipher, err = ss.NewCipher(config.Method, password)
        if err != nil {
            log.Printf("Error generating cipher for port: %s %v\n", port, err)
            conn.Close()
            continue
        }
    }

ss 程序打印日志

2014/11/17 00:45:38 updating password 2014/11/17 00:45:38 new port 8021 added 2014/11/17 00:45:38 password updated 2014/11/17 00:45:38 server listening port 8021 ... 2014/11/17 00:47:14 creating cipher for port: 8021 2014/11/17 00:48:31 updating password 2014/11/17 00:48:31 new port 8022 added 2014/11/17 00:48:31 password updated 2014/11/17 00:48:31 server listening port 8022 ...

但是断开的时候有日志吗?

GameXG avatar Nov 17 '14 05:11 GameXG