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

Block non-local traffic to the Weave control port #3805

Merged
merged 1 commit into from May 28, 2020

Conversation

bboreham
Copy link
Contributor

We expect the loopback address 127.0.0.1 to only be accessible from the local host.
However under some Linux configurations it can be accessed remotely. kubernetes/kubernetes#90259

Add an iptables rule to block this case.

@bboreham bboreham added this to the 2.6.3 milestone May 22, 2020
@bboreham bboreham force-pushed the block-remote-localhost branch 5 times, most recently from a2ea34f to 74c55ec Compare May 27, 2020 14:25
We expect the loopback address 127.0.0.1 to be accessible only from
the local host.

We need to allow RELATED,ESTABLISHED traffic which may be the return
path of a Kubernetes HostPort.
@bboreham bboreham merged commit 9245b73 into 2.6 May 28, 2020
@bboreham bboreham deleted the block-remote-localhost branch May 28, 2020 09:51
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.

None yet

1 participant