moby/integration/networking
Rob Murray c761353e7c Make 'internal' bridge networks accessible from host
Prior to release 25.0.0, the bridge in an internal network was assigned
an IP address - making the internal network accessible from the host,
giving containers on the network access to anything listening on the
bridge's address (or INADDR_ANY on the host).

This change restores that behaviour. It does not restore the default
route that was configured in the container, because packets sent outside
the internal network's subnet have always been dropped. So, a 'connect()'
to an address outside the subnet will still fail fast.

Signed-off-by: Rob Murray <rob.murray@docker.com>
(cherry picked from commit 419f5a6372)
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
2024-03-01 09:29:41 +01:00
..
bridge_test.go Make 'internal' bridge networks accessible from host 2024-03-01 09:29:41 +01:00
mac_addr_test.go No inspect 'Config.MacAddress' unless configured. 2024-02-02 09:10:04 +01:00
main_test.go integration: Add a new networking integration test suite 2023-11-03 09:58:50 +01:00