Closed gaby closed 2 years ago
Golang libraries to support this enhancement:
https://github.com/linuxkit/virtsock https://github.com/mdlayher/vsock
Information:
https://mdlayher.com/blog/linux-vm-sockets-in-go/ https://wiki.qemu.org/Features/VirtioVsock
@nadoo Thoughts on this? VSOCKS are becoming a big thing for secure Guest-Host communications and using tools like gvisor
, firecracker
, kata-containers
. Recent linux kernels support VSOCK natively.
Thanks for your info, I'll add vsock support on linux version later.
Looking forward!
Now with this commit , we can use vsock like this:
host:
glider -verbose -listen vsock://:1234,socks5://
guest:
glider -verbose -listen :1080 -forward vsock://2:1234,socks5://
test on guest:
curl -x http://127.0.0.1:1080 ifconfig.me
@nadoo Thank you! Looking forward to testing this.
@nadoo Thank you! Looking forward to testing this.
You can download binary file from the above link.
Thank you for this feature!
Are there any plans to add VSOCK support for Glider?