pufferffish / wireproxy

Wireguard client that exposes itself as a socks5 proxy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Go 1.19 build fails

artemklevtsov opened this issue · comments

❯ go version
go version go1.19 linux/amd64
❯ go build ./cmd/wireproxy
package github.com/octeep/wireproxy/cmd/wireproxy
        imports github.com/octeep/wireproxy
        imports golang.zx2c4.com/wireguard/tun/netstack
        imports gvisor.dev/gvisor/pkg/tcpip
        imports gvisor.dev/gvisor/pkg/atomicbitops
        imports gvisor.dev/gvisor/pkg/state
        imports gvisor.dev/gvisor/pkg/state/wire
        imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /home/user/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20211020211948-f76a604701b6/pkg/gohacks

This is because wireguard tun/netstack is still using an old version of gvisor. There is a PR that fixes this, but has not been merged to master yet: WireGuard/wireguard-go#55

Support for go 1.19 has been added in 0e63331.