Repository navigation
fix(network): block Docker host-gateway bypass and test Mode B outages - #205
Merged
Merged
Conversation
…ithout direct fallback
…S exit verification
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Root cause fixed
Docker's ordinary
internal: truebridge prevents an external route but can still expose the host bridge gateway, including another proxy listening on the host. That is an unintended bypass of Mode B.runner-executionas a Docker Engine 28+ isolated-gateway bridge for IPv4 and IPv6; explicitly disable bridge IPv6.No live user nodes or credentials used. Do not remove isolated gateway driver opts to support older Docker Engines; that would reopen a host proxy bypass. Fails closed if daemon can't create network.
Official Docker references: https://docs.docker.com/engine/release-notes/28/ and https://docs.docker.com/engine/network/port-publishing/
Related: #203; initial Mode B implementation #202 and three-hop profile #204.