Thank you everyone. I have lots of ideas on how to allow ngircd (or any other application) to listen on port 443.
I went with using setcap to allow ngircd access to ports below 1024 and it works. Thanks!
I keep forgetting about the power of iptables as well. I'll jot that down in my notebook for future reference.
On Fri, Jun 7, 2013 at 9:41 AM, Brett Smith brett@w3.org wrote:
On 06/06/2013 02:05 PM, Xenophod wrote:
I tried adding 443 to the listening ports, but I get a Permission denied message.
Everything everyone already said about low ports being reserved is true. On a Linux host, you can use the capabilities system to give a program permission to listen on these lower ports, without giving them full root access. The command will look something like:
# setcap "cap_net_bind_service=+ep" /usr/local/sbin/ngircd
See the setcap man page for details. After you do this, you'll be able to start your daemon on reserved ports.
Hope this helps,
-- Brett Smith