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

Re: Reject Users to listen to ports above 1024



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