Skip to content

fix: skip Docker bridge interface when selecting default address#177

Open
vilchanskyio-work wants to merge 1 commit intomkckr0:mainfrom
vilchanskyio-work:skip-docker
Open

fix: skip Docker bridge interface when selecting default address#177
vilchanskyio-work wants to merge 1 commit intomkckr0:mainfrom
vilchanskyio-work:skip-docker

Conversation

@vilchanskyio-work
Copy link
Copy Markdown

When Docker is running, its default bridge (172.17.0.0/16) was picked as the server's default address instead of the real LAN interface, because 172.17/16 falls inside RFC 1918 172.16/12, the old single-pass scan couldn't distinguish them. A virtual-interface denylist (initially containing 172.17.0.0/16) is now checked before the private-address scan, skipping known container bridges.

When Docker is running, its default bridge (172.17.0.0/16) was picked as
the server's default address instead of the real LAN interface, because
172.17/16 falls inside RFC 1918 172.16/12, the old single-pass scan
couldn't distinguish them. A virtual-interface denylist (initially
containing 172.17.0.0/16) is now checked before the private-address
scan, skipping known container bridges.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants