From fc4227e8376e9c09906699fba8a5dc3083628cec Mon Sep 17 00:00:00 2001 From: zanjie1999 Date: Thu, 12 Oct 2023 14:51:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AE=A2=E6=88=B7=E7=AB=AF?= =?UTF-8?q?=E8=A2=AB=E5=A4=96=E9=83=A8=E6=8E=90=E6=96=ADws=E5=90=8E?= =?UTF-8?q?=E9=87=8D=E8=BF=9E=E5=A4=B1=E8=B4=A5=E6=97=B6=E5=87=BA=E9=94=99?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=BF=9D=E5=AD=98=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E4=BD=BF=E7=94=A8=E4=BA=86=E5=90=8C=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E5=86=85=E5=AD=98=E5=9C=B0=E5=9D=80=E5=AF=BC=E8=87=B4=E9=83=BD?= =?UTF-8?q?=E6=98=AF=E4=B8=80=E6=A0=B7=E7=9A=84=E5=86=85=E5=AE=B9=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tcp2ws.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcp2ws.go b/tcp2ws.go index 10de402..244eb8a 100644 --- a/tcp2ws.go +++ b/tcp2ws.go @@ -1,7 +1,7 @@ // Tcp over WebSocket (tcp2ws) // 基于ws的内网穿透工具 // Sparkle 20210430 -// 10.4 +// 11.0 package main @@ -646,7 +646,7 @@ func dnsPreferIpWithTtl(hostname string, ttl uint32) { func main() { arg_num := len(os.Args) if arg_num < 3 { - fmt.Println("TCP over WebSocket (tcp2ws) with UDP support 10.4\nhttps://github.com/zanjie1999/tcp-over-websocket") + fmt.Println("TCP over WebSocket (tcp2ws) with UDP support 11.0\nhttps://github.com/zanjie1999/tcp-over-websocket") fmt.Println("Client: ws://tcp2wsUrl localPort\nServer: ip:port tcp2wsPort\nUse wss: ip:port tcp2wsPort server.crt server.key") fmt.Println("Make ssl cert:\nopenssl genrsa -out server.key 2048\nopenssl ecparam -genkey -name secp384r1 -out server.key\nopenssl req -new -x509 -sha256 -key server.key -out server.crt -days 36500") os.Exit(0)