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

Command to bind privileged ports #16

Open
guillaumerose opened this issue Apr 23, 2021 · 1 comment
Open

Command to bind privileged ports #16

guillaumerose opened this issue Apr 23, 2021 · 1 comment

Comments

@guillaumerose
Copy link
Contributor

On macOS, user can bind privileged ports but on all interfaces. It is not possible to restrict the binding to only 127.0.0.1 for instance.

On Linux, crc daemon needs to have a special capabilites for that.

Using the admin-helper to bind the port and pass it to the daemon can be a solution.

@cfergeau
Copy link
Contributor

Thinking more about this, we would not want admin-helper to be usable by arbitrary processes to bind to < 1024 ports. But I don't know how we can restrict its use to crc :-/ So maybe not really possible to do it this way

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

No branches or pull requests

2 participants