Skip to content
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

Change behaviour of external_network_interfaces #278

Merged
merged 3 commits into from
Jun 14, 2020
Merged

Conversation

pitkley
Copy link
Owner

@pitkley pitkley commented Jun 13, 2020

Previously if you defined the global_defaults.external_network_interfaces configuration key, the first interface provided would internally be used to restrict which interfaces traffic can ingress into your containers from, even if wider_world_to_container.rules[].external_network_interfaces was not defined.

This version changes the behaviour such that global_defaults.external_network_interfaces is no longer used to determine if traffic can ingress or not. If you want to restrict traffic
from reaching your containers to specific interfaces, use the wider_world_to_container.rules[].external_network_interfaces configuration key instead.

Closes #277.

Previously if you defined the
`global_defaults.external_network_interfaces` configuration key, the
first interface provided would internally be used to restrict which
interfaces traffic can ingress into your containers from, even if
`wider_world_to_container.rules[].external_network_interfaces` was not
defined.

This version changes the behaviour such that
`global_defaults.external_network_interfaces` is no longer used to
determine if traffic can ingress or not. If you want to restrict traffic
from reaching your containers to specific interfaces, use the
`wider_world_to_container.rules[].external_network_interfaces`
configuration key instead.

Closes #277.
@pitkley pitkley added this to the 1.2.0 milestone Jun 13, 2020
@pitkley pitkley self-assigned this Jun 13, 2020
@pitkley pitkley marked this pull request as ready for review June 14, 2020 14:32
@pitkley
Copy link
Owner Author

pitkley commented Jun 14, 2020

bors r+

bors bot added a commit that referenced this pull request Jun 14, 2020
278: Change behaviour of `external_network_interfaces` r=pitkley a=pitkley

Previously if you defined the `global_defaults.external_network_interfaces` configuration key, the first interface provided would internally be used to restrict which interfaces traffic can ingress into your containers from, even if `wider_world_to_container.rules[].external_network_interfaces` was not defined.

This version changes the behaviour such that `global_defaults.external_network_interfaces` is no longer used to determine if traffic can ingress or not. If you want to restrict traffic
from reaching your containers to specific interfaces, use the `wider_world_to_container.rules[].external_network_interfaces` configuration key instead.

Closes #277.


Co-authored-by: Pit Kleyersburg <pitkley@googlemail.com>
@bors
Copy link
Contributor

bors bot commented Jun 14, 2020

This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried.

@bors bors bot merged commit 17701ea into master Jun 14, 2020
@bors bors bot deleted the 277-container-wwtc branch June 14, 2020 14:43
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.

Wider-world-to-container doesn't apply to traffic coming from within a container
1 participant