-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
networking: lookup child IP in networks #9066
networking: lookup child IP in networks #9066
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: AkihiroSuda, giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/lgtm |
2a09d73
to
7b4a844
Compare
LGTM |
/lgtm |
Tests red |
LGTM |
test/system/500-networking.bats
Outdated
# This is the truly important check: make sure the remote IP is | ||
# in the 172.X range, not 127.X. | ||
is "$output" \ | ||
".*connect to \[::ffff:10\..*\]:$myport from \[::ffff:10\..*\]:.*" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to s/:10/:172/g
7b4a844
to
ca5450c
Compare
6fdb62a
to
1c496dc
Compare
if a CNI network is added to the container, use the IP address in that network instead of hard-coding the slirp4netns default. commit 5e65f0b introduced this regression. Closes: containers#9065 Signed-off-by: Giuseppe Scrivano <[email protected]>
1c496dc
to
0ba1942
Compare
tests are green |
/hold cancel |
/lgtm |
if a CNI network is added to the container, use the IP address in that
network instead of hard-coding the slirp4netns default.
commit 5e65f0b introduced this
regression.
Closes: #9065
Signed-off-by: Giuseppe Scrivano [email protected]