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

Vere should ask user to setcap in .run next #475

Open
belisarius222 opened this issue Jun 27, 2023 · 1 comment
Open

Vere should ask user to setcap in .run next #475

belisarius222 opened this issue Jun 27, 2023 · 1 comment
Labels
feature New feature or feature request

Comments

@belisarius222
Copy link
Contributor

If a user on Linux runs /path/to/pier/.run next and had previously run the setcap 'cap_net_bind_service=+ep' /path/to/vere command to allow the Urbit binary to bind port 80, then Vere should print a loud warning to remind the user to set it again on the new binary.

@belisarius222 belisarius222 added the feature New feature or feature request label Jun 27, 2023
@joemfb
Copy link
Member

joemfb commented Jun 27, 2023

It's also possible to configure linux to allow any binary to bind lower ports. It'd be good to mention this option in our docs:

sysctl net.ipv4.ip_unprivileged_port_start=80

or

echo 80 | sudo tee /proc/sys/net/ipv4/ip_unprivileged_port_start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or feature request
Projects
None yet
Development

No branches or pull requests

2 participants