Skip to content
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

slirp4netns seems to be leaking sockets #350

Open
peterboba opened this issue Jan 24, 2025 · 0 comments
Open

slirp4netns seems to be leaking sockets #350

peterboba opened this issue Jan 24, 2025 · 0 comments

Comments

@peterboba
Copy link

I see a lot of slirp4netns connections in FIN_WAIT2 state:

Image

slirp4netns version 1.3.1
commit: e5e368c4f5db6ae75c2fce786e31eef9da6bf236
libslirp: 4.8.0
SLIRP_CONFIG_VERSION_MAX: 5
libseccomp: 2.5.3

I'm using slirp4netns with rootless containers. I'm wondering whether this is a possible misconfiguration or a bug.
This seems to be easily reproducible when I start netcat to port 443 and send SIGTERM to nc process with kill. slirp4netns connection enters FIN_WAIT2 which is then never cleared.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant