4 ms·
you can't bind to port 80/443 without being root unless you have cap_net_bind_service. so instead of using nat/caps you just spawn as root to bind.
by merb 8y ago
you can't bind to port 80/443 without being root unless you have cap_net_bind_service.
so instead of using nat/caps you just spawn as root to bind.
- kelnos 8y agoRight, but there's no reason for the parent process to keep root privileges after binding to the privileged ports.