Open KaraRyougi opened 4 years ago
It seems addr, err := nfutil.GetOrigDst(tc, ipv6)
doesn't work.
So basically it's about nfutil/socketcall_linux_other.go
...
I checked https://golang.org/src/syscall/syscall_linux_mips64x.go
. Is it unfinished?
We do not test non-amd64 arch. You're on your own to figure it out. Pull requests are welcome.
I tried to cross-compile to my router (which is on MIPS64 architecture) using
GOOS=linux GOARCH=mips64 go build
. On my router, SOCKS5 proxy works perfectly fine. However, using tcp redirection shows the following error:tcp.go:63: failed to get target address: invalid argument