Re: Reject Users to listen to ports above 1024

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

 



On 4/2/06, Niklaus <niklaus@xxxxxxxxx> wrote:
How do i disable users on a system to run their own http proxy. I
don't want to allow users who have login accounts on my system to
listen to any port . How do i do that.

You could make the following changes in sys_listen() in net/socket.c:

If(current->uid != 0)
    return -EPERM;

Or something to that effect.

--
c u

./hareesh

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux