containers / gvisor-tap-vsock

A new network stack based on gVisor
Apache License 2.0
250 stars 47 forks source link

Missing Close() in gvisor-tap-vsock, or tcpproxy bug? #387

Open cfergeau opened 1 month ago

cfergeau commented 1 month ago

We cannot use the latest github.com/inetaf/tcpproxy commit because of https://github.com/containers/gvisor-tap-vsock/commit/61dc4e1eb260427d9a39ccaeeb75fe85be7dcccc which causes a regression in podman https://github.com/containers/podman/issues/23616

My feeling is that this revert is either hiding a gvisor-tap-sock bug which has been present for a long time, or it's avoiding a newly introduced bug in inetaf/tcpproxy. In either cases ,it would be good to understand better what caused the issue leading to the revert. The podman bug has a reproducer for it.

cfergeau commented 1 day ago

This can be reproduced with podman machine by following these steps (I tested on a mac):