--- internal/client/handlers/tun.go Tue Aug 20 20:55:46 2024 +++ internal/client/handlers/tun.go Tue Aug 20 22:53:40 2024 @@ -148,6 +148,7 @@ id := request.ID() var wq waiter.Queue + var s stack.Stack ep, iperr := request.CreateEndpoint(&wq) if iperr != nil { @@ -166,7 +167,7 @@ return } - local := gonet.NewUDPConn(&wq, ep) + local := gonet.NewUDPConn(&s,&wq, ep) err = Proxy(local, remote) if err != nil { --- go.mod Tue Aug 20 20:55:45 2024 +++ go.mod Tue Aug 20 22:03:56 2024 @@ -1,6 +1,6 @@ module github.com/NHAS/reverse_ssh -go 1.22.4 +go 1.20 require ( github.com/ActiveState/termtest/conpty v0.5.0 @@ -14,7 +14,7 @@ golang.org/x/net v0.26.0 golang.org/x/sys v0.21.0 gorm.io/gorm v1.25.10 - gvisor.dev/gvisor v0.0.0-20240615020247-9437277bd1be + gvisor.dev/gvisor v0.0.0-20230927004350-cbd86285d259 ) require ( --- go.sum Tue Aug 20 20:55:45 2024 +++ go.sum Tue Aug 20 22:04:30 2024 @@ -102,6 +102,10 @@ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gorm.io/gorm v1.25.10 h1:dQpO+33KalOA+aFYGlK+EfxcI5MbO7EP2yYygwh9h+s= gorm.io/gorm v1.25.10/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gvisor.dev/gvisor v0.0.0-20230927004350-cbd86285d259 h1:TbRPT0HtzFP3Cno1zZo7yPzEEnfu8EjLfl6IU9VfqkQ= +gvisor.dev/gvisor v0.0.0-20230927004350-cbd86285d259/go.mod h1:AVgIgHMwK63XvmAzWG9vLQ41YnVHN0du0tEC46fI7yY= +gvisor.dev/gvisor v0.0.0-20231104011432-48a6d7d5bd0b h1:yqkg3pTifuKukuWanp8spDsL4irJkHF5WI0J47hU87o= +gvisor.dev/gvisor v0.0.0-20231104011432-48a6d7d5bd0b/go.mod h1:10sU+Uh5KKNv1+2x2A0Gvzt8FjD3ASIhorV3YsauXhk= gvisor.dev/gvisor v0.0.0-20240615020247-9437277bd1be h1:+8DcLGB4gJPwiU0vEsq/iyWOhKSkuppU0QinUG5ytb8= gvisor.dev/gvisor v0.0.0-20240615020247-9437277bd1be/go.mod h1:sxc3Uvk/vHcd3tj7/DHVBoR5wvWT/MmRq2pj7HRJnwU= modernc.org/libc v1.22.5 h1:91BNch/e5B0uPbJFgqbxXuOnxBQjlS//icfQEGmvyjE=