Skip to content

server crash  #5

Open
Open
@kailin4u

Description

@kailin4u

Hello ,I had a server side shadowtunnel crash, client and server version is v1.1
server cmd:

setsid ./shadowtunnel -u -e -f 127.0.0.1:38080 -l :50000 -p 123456 >shadow.log 2>&1 &

client cmd:

./shadowtunnel -E -U -f x.x.x.x:50000 -l :50000 -p 123456

following is key log from server:

runtime/debug.Stack(0xc42004acc8, 0x6c6dc0, 0x8cd2a0)
/usr/local/go/src/runtime/debug/stack.go:24 +0xa7
github.com/snail007/goproxy/core/dst.NewMux.func2.1()
/home/pengmeng/go/src/github.com/snail007/goproxy/core/dst/mux.go:85 +0x48
panic(0x6c6dc0, 0x8cd2a0)
/usr/local/go/src/runtime/panic.go:502 +0x229
encoding/binary.binary.bigEndian.Uint32(...)
/usr/local/go/src/encoding/binary/binary.go:111
github.com/snail007/goproxy/core/dst.unmarshalHeader(0xc420136000, 0x4, 0x1f4, 0x0, 0x0)
/home/pengmeng/go/src/github.com/snail007/goproxy/core/dst/packets.go:86 +0xcd
github.com/snail007/goproxy/core/dst.(*Mux).readerLoop(0xc420054360)
/home/pengmeng/go/src/github.com/snail007/goproxy/core/dst/mux.go:269 +0x101
github.com/snail007/goproxy/core/dst.NewMux.func2(0xc420054360)
/home/pengmeng/go/src/github.com/snail007/goproxy/core/dst/mux.go:88 +0x47
created by github.com/snail007/goproxy/core/dst.NewMux
/home/pengmeng/go/src/github.com/snail007/goproxy/core/dst/mux.go:82 +0x28f
2018/09/07 02:50:36 14.30.175.184:40483 <--> 127.0.0.1:38080 released

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions