Subject: Re: Kernel patch to allow user bind < port 1024?
To: Eugene Levy <eugene@nutrify.com>
From: None <itojun@iijlab.net>
List: port-i386
Date: 01/02/2001 20:20:32
seems to fit tech-net better, anyway i'd like to continue here.
if we discuss further, please switch to tech-net.
>Where in the NetBSD kernel source are the restrictions to prevent
>non-root users from binding server sockets on ports below 1024? I wish
>to write a patch to allow this! Eventually it would be nice if future
>NetBSD distributions put this in as a kernel configuration option.
sys/netinet/in_pcb.c. if you define IPNOPRIVPORTS in your kernel
configuration file, you can achieve the goal.
see "man 5 options".
itojun