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

pasta doesn't map IPv6 ports #23403

Closed
akostadinov opened this issue Jul 25, 2024 · 3 comments
Closed

pasta doesn't map IPv6 ports #23403

akostadinov opened this issue Jul 25, 2024 · 3 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature pasta pasta(1) bugs or features

Comments

@akostadinov
Copy link

Issue Description

In the past (I believe podman 3 with slirpvnetns) it mapped ports on IPv4 as well IPv6. Like:

"CreateCommand": [
                    "/usr/bin/podman",
                    "run",
                    "-d",
                    "-p",
                    "5432:5432",
                    "-e",
                    "POSTGRES_USER=postgres",
                    "-e",
                    "POSTGRES_DB=zync",
                    "--name",
                    "postgres14-test",
                    "cimg/postgres:14.12"
]

Now with podman5 and pasta it seems only IPv4 is bound. If I add the command line option --network=slirp4netns then previous behavior is observed.

Steps to reproduce the issue

Steps to reproduce the issue

  1. podman run "-d" "-p" "5432:5432" "-e" "POSTGRES_USER=postgres" "-e" "POSTGRES_DB=zync" "--name" "postgres14-test" "cimg/postgres:14.12"

Describe the results you received

🐚 telnet ::1 5432
Trying ::1...
telnet: connect to address ::1: Connection refused

Describe the results you expected

🐚 telnet ::1 5432
Trying ::1...
Connected to ::1.

podman info output

If you are unable to run podman info for any reason, please provide the podman version, operating system and its version and the architecture you are running.

Podman in a container

No

Privileged Or Rootless

Rootless

Upstream Latest Release

No

Additional environment details

Fedora 40

Additional information

Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting

@akostadinov akostadinov added the kind/bug Categorizes issue or PR as related to a bug. label Jul 25, 2024
@Luap99
Copy link
Member

Luap99 commented Jul 25, 2024

You need a routable ipv6 setup for pasta to activate ipv6 mode, see #22959

@Luap99 Luap99 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 25, 2024
@Luap99 Luap99 added network Networking related issue or feature pasta pasta(1) bugs or features labels Jul 25, 2024
@akostadinov
Copy link
Author

I assume you mean "routable", ust for anybody else looking at this. I guess auto-correction is to blame.

@Luap99
Copy link
Member

Luap99 commented Jul 31, 2024

yes fixed

@stale-locking-app stale-locking-app bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Oct 30, 2024
@stale-locking-app stale-locking-app bot locked as resolved and limited conversation to collaborators Oct 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Categorizes issue or PR as related to a bug. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. network Networking related issue or feature pasta pasta(1) bugs or features
Projects
None yet
Development

No branches or pull requests

2 participants