-
-
Notifications
You must be signed in to change notification settings - Fork 265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ligolo doesn't work with golang version 20 #32
Comments
Possibly related to this issue: golang/go#58554 I haven't tried this yet but I expect upgrading gvisor-ligolo to the latest upstream gvisor may solve this problem, as upstream now sets go1.20 as the minimum version. I'd be happy to submit a PR but am unsure exactly what changes the fork has. I see that ICMP handling was removed, but are there other changes too? |
I was able to get ligolo-ng to build successfully with go 1.20 by using an updated gvisor fork. Here's the branch I used, and you can see that there are a few minor changes needed relating to updated type definitions in the latest gvisor. |
Hi, are there any updates on this @nicocha30? |
Hey, I'm working on it today. Will keep you updated. Nicolas |
Thank you very much |
Done! After struggling with gvisor and the CI, release 0.4.4 now supports Go >= 1.20. https://github.com/nicocha30/ligolo-ng/releases/tag/v0.4.4 |
Thank you, works like a charm, as far as I can tell. |
Hello,
There is a problem with the proxy build (agent is ok) with
golang version 20
. The build withversion 19
is functional but an error occurs with version 20.root@f33e8b06d6cc:/opt/tools/ligolo-ng# wget -O /tmp/go.tar.gz https://go.dev/dl/go1.19.linux-arm64.tar.gz Saving to: '/tmp/go.tar.gz' root@f33e8b06d6cc:/opt/tools/ligolo-ng# tar -C /usr/local -xzf /tmp/go.tar.gz root@f33e8b06d6cc:/opt/tools/ligolo-ng# /usr/local/go/bin/go build -o proxy cmd/proxy/main.go [...BUILD OK...]
The text was updated successfully, but these errors were encountered: