On Tue, 20 Nov 2007 11:14:59 +0100 Mikael Ståldal <[email protected]> wrote: > In Linux you have to be root in order to listen to TCP or UDP ports below 1024 (the > well-known ports). As far as I know, this limit is hardcoded in the kernel. > > In some cases, this limit do more harm than good, so it would be nice to be able to adjust it. The proper way to enable port <= 1024 binding support is adding CAP_NET_BIND_SERVICE to the process capability set, e.g. by using file-system capabilities.
Attachment:
signature.asc
Description: PGP signature
- Follow-Ups:
- Re: Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- From: Mikael Ståldal <[email protected]>
- Re: Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- References:
- Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- From: Mikael Ståldal <[email protected]>
- Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- Prev by Date: e1000 driver problems
- Next by Date: Re: [linux-pm] Re: [PATCH 3/3 -mm] kexec based hibernation -v6: kexec hibernate/resume
- Previous by thread: Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- Next by thread: Re: Possibility to adjust the only-root-can-bind-to-port-under-1024 limit
- Index(es):