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

cli: Only bind ephemeral ports on localhost #7838

Merged
merged 1 commit into from
Feb 8, 2022

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Feb 8, 2022

Most of our port forwards are created against localhost, except for when
exposing the dashboard with a user-specified host. Our socket binding
(for ephemeral ports), however, binds against all interfaces.

This change modifies ephemeral port binding to only occur on the
loopback interface.

Most of our port forwards are created against localhost, except for when
exposing the dashboard with a user-specified host. Our socket binding
(for ephemeral ports), however, binds against all interfaces.

This change modifies ephemeral port binding to only occur on the
loopback interface.

Signed-off-by: Oliver Gould <ver@buoyant.io>
@olix0r olix0r requested a review from a team as a code owner February 8, 2022 00:03
@olix0r olix0r added area/cli area/security go Pull requests that update Go code labels Feb 8, 2022
@mateiidavid mateiidavid merged commit a35797b into main Feb 8, 2022
@mateiidavid mateiidavid deleted the ver/portforward-localhost branch February 8, 2022 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/cli area/security go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants