-
Notifications
You must be signed in to change notification settings - Fork 85
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
DOCKER-USER iptables chain missing in 19.03.3 #810
Comments
We've verified this issue on multiple different systems, running both Ubuntu 16.04 and CentOS 7. In every case, iptables showed the DOCKER-USER chain on a previous version of docker-ce and after upgrading to docker-ce 19.03.3 iptables no longer has the DOCKER-USER chain. There is no mention of iptables changes in the 19.03.3 release notes: However, iptables is mentioned in the 19.03.3 changelog: from docker-archive/engine#330:
We do NOT run dockerd with Thanks in advance for any assistance. |
@dougburks I can reproduce this issue as well Can you please add these rules manually for now before you insert your user rules
Working on the fix right now |
Thanks for the fast response @arkodg ! Can you tell me what the plan is for the fix? Will there be an immediate re-release of 19.03.3 with the fix? Thanks! |
This PR fixes the regression introduced by moby#2339 to correctly insert the DOCKER-USER chain if iptables=true is set in the Daemon config Addresses : docker/for-linux#810 Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
Hello, Thanks for the progress being made over at moby/libnetwork#2464! Just a quick follow-up to see if a determination has been made about getting the fix out. It looks like 19.03.3 is still available for download and I don't see any notes about this issue in the Release Notes. I think this is a severe issue that at minimum will catch folks by surprise. It can potentially result in security issues if users were restricting access via rules in DOCKER-USER that are no longer being enforced. We've asked members of our open source project to hold off on updates until we know what the next step is: From one open source project to another, please let us know what your plans are so that we can notify and protect our users accordingly. Thanks in advance for your consideration! |
@dougburks we are yet to make a decision |
Thanks for the update @arkodg ! Is the above workaround correct? If we append the DOCKER-USER reference to FORWARD, then that would be after the jump to DOCKER, so DOCKER-USER would have no way of restricting access to DOCKER, right? Wouldn't FORWARD need to jump to DOCKER-USER before DOCKER? For what it's worth, my opinion is that this release has the potential of enough security issues with sufficient severity to warrant an immediate re-release to include the proper bug fix. Thanks again for your consideration! |
good catch, I usually edit the output of |
Release notes for 19.03.3 updated with workaround instructions in |
This PR fixes the regression introduced by moby#2339 to correctly insert the DOCKER-USER chain if iptables=true is set in the Daemon config Addresses : docker/for-linux#810 Signed-off-by: Arko Dasgupta <arko.dasgupta@docker.com>
Thanks @arkodg for the update and thanks @andrewhsu for the documentation! Updating the release notes is a good first step, but I'm still concerned that there are folks that have added May I offer my opinion again? I think the right thing to do is an immediate re-release with the bug fix. This helps limit the risk of exposure for folks described above which is better for your community and ultimately better for you. As always, thanks for your consideration! |
@dougburks we're working on a timeline to get a fix out for just 19.03 sooner than our next planned monthly cycle. when we get that sorted, the dates for docker-ce 19.03.4 milestone will be updated: https://github.com/docker/docker-ce/milestone/41 |
Thanks for the update @andrewhsu ! Have you considered taking down 19.03.3 until you have a fixed version available? That would help limit exposure for the folks mentioned above that won't ever see the release notes. Thanks again! |
revert in libnetwork on master moby/libnetwork#2466 and backported to the 19.03 branch; moby/libnetwork#2470. vendor update for the engine 19.03 branch was just opened: docker-archive/engine#404 |
The original issue has been addressed with release of docker-ce 19.03.4. |
Thanks @andrewhsu ! |
I still have the same issue , below are the logs and I did add DOCKER-USER chain manually but still the issue is same. '/usr/sbin/iptables -w10 -t nat -D PREROUTING -m addrtype --dst-type LOCAL -j DOCKER' failed: iptables v1.8.4 (nf_tables): Chain 'DOCKER' does not exist#012Try |
Expected behavior
DOCKER-USER iptables chain should exist in docker-ce 19.03.3 just like it did in previous releases.
Actual behavior
Install docker-ce 19.03.3 and there is no DOCKER-USER iptables chain.
Steps to reproduce the behavior
Install docker-ce 19.03.3 on Ubuntu 16.04 or CentOS 7.
iptables -nvL
There is no DOCKER-USER listed in the output.
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
physical
The text was updated successfully, but these errors were encountered: