modify kernel to accept listen <1023 not uid=0 ?

rmkml rmkml at wanadoo.fr
Sat Jul 31 02:53:36 PDT 2004


ok,

your view use account on bsd host, but you don't have root access : ok

but look if you have root access ?

(bsd dedicated on one task : web / ftp / ......

but not accept connect on user account like ssh)

Regards

Rmkml at xxxxxxxxxx



Ed wrote:

> On Saturday 31 July 2004 09:27, rmkml wrote:
> > BSD not accept listen <1023
>
> Bad idea !
>
> This will permit to _any_ user on your box to simulate that service.
>
> Example:
>
> 1) john.doe@ logs in
>
> 2) he crash your POP3 daemon (port 110)
>
> 3) he launch his own POP3 daemon that will sniff every user/pwd
>
> Same thing could happen for every daemon that doesn't need root privileges to
> bind that port. However, if you use a packet filter you could avoid this
> using the user/group keyword for every service.
>
>         Ed






More information about the Kernel mailing list