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

port: builtin: UDP reply packet is dropped #86

Closed
AkihiroSuda opened this issue Nov 29, 2019 · 2 comments · Fixed by #87
Closed

port: builtin: UDP reply packet is dropped #86

AkihiroSuda opened this issue Nov 29, 2019 · 2 comments · Fixed by #87
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@AkihiroSuda
Copy link
Member

Terminal 1:

$ rootlesskit --net=slirp4netns --port-driver=builtin -p 0.0.0.0:1234:1234/udp  -- sh -c "nc -u -l -p 1234 < /etc/issue"

Terminal 2:

$ echo foo | nc -u 127.0.0.1 1234

foo is printed on Terminal 1, but /etc/issue is not printed on Terminal 2 when --port-driver is set to builtin.

--port-driver=socat works as expected.

version: e6152ff

containers/podman#4586 (comment)

@AkihiroSuda
Copy link
Member Author

AkihiroSuda commented Nov 29, 2019

@AkihiroSuda AkihiroSuda added the bug Something isn't working label Nov 29, 2019
@AkihiroSuda AkihiroSuda added the help wanted Extra attention is needed label Nov 29, 2019
@AkihiroSuda
Copy link
Member Author

Curious, why doesn't VXLAN (Flannel) seem to hit this?

AkihiroSuda added a commit to AkihiroSuda/rootlesskit that referenced this issue Dec 18, 2019
Fix rootless-containers#86 ("port: builtin: UDP reply packet is dropped")

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
AkihiroSuda added a commit to AkihiroSuda/docker that referenced this issue Dec 18, 2019
UDP reply packets were not proxied: rootless-containers/rootlesskit#86

The issue was fixed in RootlessKit v0.7.1: rootless-containers/rootlesskit#87

Full changes since v0.7.0: rootless-containers/rootlesskit@v0.7.0...v0.7.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
AkihiroSuda added a commit to AkihiroSuda/docker-library-docker that referenced this issue Dec 18, 2019
Fix proxying UDP packets (rootless-containers/rootlesskit#86)

Corresponds to moby/moby#40317

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this issue Dec 19, 2019
UDP reply packets were not proxied: rootless-containers/rootlesskit#86

The issue was fixed in RootlessKit v0.7.1: rootless-containers/rootlesskit#87

Full changes since v0.7.0: rootless-containers/rootlesskit@v0.7.0...v0.7.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Upstream-commit: 658723badd2fe2db6aacfddec17d78df2997a905
Component: engine
AkihiroSuda added a commit to AkihiroSuda/docker that referenced this issue Jan 20, 2020
UDP reply packets were not proxied: rootless-containers/rootlesskit#86

The issue was fixed in RootlessKit v0.7.1: rootless-containers/rootlesskit#87

Full changes since v0.7.0: rootless-containers/rootlesskit@v0.7.0...v0.7.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit 658723b)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
docker-jenkins pushed a commit to docker-archive/docker-ce that referenced this issue Jan 20, 2020
UDP reply packets were not proxied: rootless-containers/rootlesskit#86

The issue was fixed in RootlessKit v0.7.1: rootless-containers/rootlesskit#87

Full changes since v0.7.0: rootless-containers/rootlesskit@v0.7.0...v0.7.1

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
(cherry picked from commit 658723badd2fe2db6aacfddec17d78df2997a905)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Upstream-commit: 325e889ba33d28c34b278d9915a88f6303086dd1
Component: engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant