diff --git a/gsocks5.go b/gsocks5.go index 1ce2fe3..da2e7fa 100644 --- a/gsocks5.go +++ b/gsocks5.go @@ -112,9 +112,14 @@ func main() { addr := net.JoinHostPort(host, fmt.Sprintf("%d", port)) logInfo.Println(versionInfo) + + logInfo.Printf( + "timeouts: idle=%v, dns=%v, keepalive=%v, connection=%v\n", + timeoutIdle, timeoutDNS, timeoutKeepAlive, timeoutConn, + ) logInfo.Printf( - "starting server on %q, dns=%q, dns timeoutIdle=%v, cons timeoutIdle=%v, connections=%d, debug=%v, auth=%q\n", - addr, customDNS, timeoutDNS, timeoutIdle, connections, debugMode, authFile, + "starting server on %q, dns=%q, connections=%d, debug=%v, auth=%q\n", + addr, customDNS, connections, debugMode, authFile, ) params := &server.Params{Addr: addr, Connections: connections, Sigint: sigint}