-
Notifications
You must be signed in to change notification settings - Fork 699
Open
go-gost/x
#82Description
❯ gost -V
gost 3.2.6 (go1.25.4 darwin/arm64)❯ gost -L http://:8081 -F ss://aes@127.0.0.1:12345
{"handler":"http","kind":"service","level":"info","listener":"tcp","msg":"listening on [::]:8081/tcp","service":"service-0","time":"2026-02-09T17:46:44.457+03:00"}
{"client":"[::1]:58116","handler":"http","kind":"handler","level":"info","listener":"tcp","local":"[::1]:8081","msg":"[::1]:58116 <> [::1]:8081","network":"","remote":"[::1]:58116","service":"service-0","sid":"remotesid","time":"2026-02-09T17:46:46.884+03:00"}
{"client":"[::1]:58116","duration":55173792,"handler":"http","inputBytes":113,"kind":"handler","level":"info","listener":"tcp","local":"[::1]:8081","msg":"[::1]:58116 >< [::1]:8081","network":"","outputBytes":0,"remote":"[::1]:58116","service":"service-0","sid":"remotesid","time":"2026-02-09T17:46:46.939+03:00"}
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x60 pc=0x100ddf728]
goroutine 56 [running]:
github.com/go-gost/go-shadowsocks2/core.(*TCPClient).WrapConn(0x1400016d180?, {0x1017fb030?, 0x140005a4000?}, {0x1400010e800, 0xf, 0x200}, {0x14000186000, 0xde, 0xde}, {0x0, ...})
github.com/go-gost/go-shadowsocks2@v0.1.1/core/tcp_client.go:35 +0x48
github.com/go-gost/x/connector/ss.(*ssConnector).Connect(0x140005984b0, {0x1017ef8c0, 0x1400039b420}, {0x1017fb030, 0x140005a4000}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf}, {0x100c89e14?, ...})
github.com/go-gost/x@v0.8.1/connector/ss/connector.go:109 +0x744
github.com/go-gost/x/chain.(*Transport).Connect(0x140003a4e00, {0x1017ef8c0, 0x1400039b420}, {0x1017fb030, 0x140005a4000}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf})
github.com/go-gost/x@v0.8.1/chain/transport.go:76 +0x15c
github.com/go-gost/x/chain.(*chainRoute).Dial(0x1400046d710, {0x1017ef8c0, 0x1400039b420}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf}, {0x140005283c0, 0x4, 0x1?})
github.com/go-gost/x@v0.8.1/chain/route.go:145 +0x174
github.com/go-gost/x/chain.(*Router).dial(0x14000182bd0, {0x1017ef818, 0x1400046d320}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf}, {0x1018044b0, 0x14000630130})
github.com/go-gost/x@v0.8.1/chain/router.go:133 +0x684
github.com/go-gost/x/chain.(*Router).Dial(0x14000182bd0, {0x1017ef818, 0x1400046d320}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf})
github.com/go-gost/x@v0.8.1/chain/router.go:57 +0x178
github.com/go-gost/x/handler/http.(*httpHandler).dial(0x14000552200, {0x1017ef818?, 0x1400046d290?}, {0x1011e863d, 0x3}, {0x1400062c067, 0xf})
github.com/go-gost/x@v0.8.1/handler/http/handler.go:655 +0x1f0
github.com/go-gost/x/handler/http.(*httpHandler).handleRequest(0x14000552200, {0x1017ef818, 0x1400046c480}, {0x1017fa6b0, 0x1400046cc90}, 0x1400014a3c0, 0x14000124000, {0x1018044b0, 0x14000630028})
github.com/go-gost/x@v0.8.1/handler/http/handler.go:346 +0x158c
github.com/go-gost/x/handler/http.(*httpHandler).Handle(0x14000552200, {0x1017ef818, 0x1400046c480}, {0x1017fa6b0, 0x1400046cc90}, {0x0?, 0x0?, 0x0?})
github.com/go-gost/x@v0.8.1/handler/http/handler.go:190 +0x938
github.com/go-gost/x/service.(*defaultService).Serve.func1()
github.com/go-gost/x@v0.8.1/service/service.go:280 +0x368
created by github.com/go-gost/x/service.(*defaultService).Serve in goroutine 81
github.com/go-gost/x@v0.8.1/service/service.go:258 +0x9actesting query:
❯ curl --proxy http://localhost:8081 https://ifconfig.io
curl: (56) Proxy CONNECT abortedReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels