In linux,since normal-user can open ports above 1024- does any one know how to prevent normal-user from opening any port on the system.
|
feedback
|
|
I don't think you can disallow users to bind to a port, but you can firewall them. Iptables has "owner" support, that might give you the options you need. | |||||||||||
feedback
|
|
All the common security extensions for Linux like SELinux, grsecurity, AppArmor or Tomoyo enable you to forbid normal users to bind to any UDP or TCP socket or to specify which sockets they can bind to. | |||
feedback
|