mirror of
https://github.com/moby/moby.git
synced 2026-06-30 19:58:03 +00:00
Along with this new test, a new struct `L3Segment` is introduced to simulate hosts connected on a same switched network. This struct will let us test various scenarios where published ports and containers should or should not be accessible from remote hosts. The new test introduced, `TestAccessPublishedPortFromRemoteHost`, skips link-local address as port publishing doesn't work on those addresses currently. This will be fixed in a future commit. Signed-off-by: Albin Kerouanton <albinker@gmail.com>