From debb189a5a92b6b5168124ac3cad3e537a18ff5f Mon Sep 17 00:00:00 2001 From: Ryo Ota Date: Mon, 9 Aug 2021 10:03:05 +0900 Subject: [PATCH] improve message --- cmd/server/server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/server/server.go b/cmd/server/server.go index 882bdbe..5e87f10 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -160,7 +160,7 @@ func printHintForClientHost(clientToServerUrl string, serverToClientUrl string, if !flag.yamux && !flag.pmux { if flag.symmetricallyEncrypts { if opensslAesCtrParams != nil { - fmt.Println("[INFO] Hint: Client host. should be replaced (socat + curl + openssl)") + fmt.Println("[INFO] Hint: Client host. Port 31376 may be replaced (socat + curl + openssl)") fmt.Printf( " read -p \"passphrase: \" -s pass && curl -NsS %s | stdbuf -i0 -o0 openssl aes-%d-ctr -d -pass \"pass:$pass\" -bufsize 1 -pbkdf2 -iter %d -md %s | socat TCP-LISTEN:31376 - | stdbuf -i0 -o0 openssl aes-%d-ctr -pass \"pass:$pass\" -bufsize 1 -pbkdf2 -iter %d -md %s | curl -NsST - %s; unset pass\n", serverToClientUrl,