Re: Where are privileged ports defined in the kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Mr. Tomcat wrote:

>I am doing some experimentation and trying to change the range of
>privileged ports in the kernel, so I could make it more restrictive
>(only root can bind to ports < 10000) or less restrictive (any user can
>bind to any port).  It seems like there should be a constant defined in
>a .h file somewhere which controls this, but I can't find it.  I found
>in /usr/include/netinet/in.h the constant  IPPORT_RESERVED = 1024 but I
>
         ^^^^^^^^^^^^^^^^^^^^^^^
depending on the distro and for sure in recent glibc, /usr/include/ only 
contains user-mode stuff... kernel headers are in kernel tree...

regards

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux